PDL principles and procedures

Setting up input You may want to start by specifying the input data characteristics parameters for the application. The basic input processing commands are

BLOCK, CODE, PCC, RECORD, TCODE, and VOLUME. Input processing characteristics vary depending on the data source. For example, if your JSL is for an online application, the BLOCK command is not applicable. Also, parameters within a command may apply to offline only, online only, or both. For example, with the VOLUME command, the parameters CODE and HOST can apply to both online and offline; EOV applies only to offline applications; and OPTIMIZE applies only to online applications.

Following are examples of typical input processing commands.

Online:

VOLUME HOST=IBMONL, CODE=EBCDIC;

RECORD LENGTH=136;

Offline:

VOLUME HOST=IBMOS,LABEL=STANDARD,CODE=EBCDIC;

BLOCK LENGTH=2660, PREAMBLE=4, LTHFLD=2,

FORMAT=BIN;

RECORD LENGTH=135, PREAMBLE=4, LTHFLD=2,

STRUCTURE=VB, OFFSET=2, FORMAT=BIN;

Specifying LINE The LINE command references VFUs from the system level and command allows you to instruct the system on which parts of the data in

parameters each record will be printed. For this reason, it typically follows the RECORD command. For example:

LINE DATA=(1,132), PCCTYPE=IBM3211,

PCC=(0,NOTRAN), VFU=VFU1;

Specifying ACCT command parameters

The ACCT command often follows the LINE command and can be coded into any command level.

ACCT USER=TRAY;

Using LCDS Print Description Language

1-25

Page 51
Image 51
Xerox FreeFlow Volume HOST=IBMONL, CODE=EBCDIC Record LENGTH=136, Line DATA=1,132, PCCTYPE=IBM3211 PCC=0,NOTRAN, VFU=VFU1