You are here: Available Utilities > L > LBYPROC > Using the P, S, and X Parameters

Using the P, S, and X Parameters

If you omit the /P, /S, and /X parameters, the LBYPROC utility executes all sections of the script. If you specify one or more of these parameters, then only the sections of the script controlled by those parameters are executed. Here are some examples:

Assume myscript.lsc is a library script file that contains filter, extract, and promote information.

LBYPROC  /I=myscript.lsc

This command tells the utility to display the filter report and perform the extract and promote using the records from the script filter.

LBYPROC /I=myscript.lsc /X

The /X parameter tells the utility to perform the Extract using the records from the script filter. No promote is performed and the Filter report does not appear.

LBYPROC /I=myscript.lsc /S /P

The /S and /P parameters tell the utility to display the Filter report and perform the promote using the records from the script filter. No extract is performed.

This utility returns these codes upon execution:

Code

Description

0

SUCCESS

4

WARNING

8

ERROR