beautypg.com

Block command: points to note, Block command example – Xerox 701P21091 User Manual

Page 126

background image

Specifying input parameters

2-18

Using LCDS Print Description Language

BLOCK command: points to note

Note the following when using the BLOCK command:

The values for LTHFLD, OFFSET, FORMAT, and PREAMBLE
may be overridden if RECORD STRUCTURE is changed as
the result of ANSI or IBM OS/Standard label processing.

The length of the block delimiter constant should not be
coded as the BLOCK POSTAMBLE. Both lengths are
subtracted from the end of the block.

The search for the block delimiter constant starts after the
block preamble and proceeds forward to the first appearance
of the constant.

Using online JDEs in offline JDLs: An offline JDL
statement set that modifies the system default values,
specifically in the BLOCK or RECORD commands, may
experience incorrect results if an online job (JDE) is running.
In other words, if an online JDE is specified in an offline JDL
that has changed the system default values of the BLOCK
and RECORD command parameters, the job may not print
correctly. You should separate and run online and offline jobs
(JDEs) independently of each other.

CAUTION

If a block delimiter constant is positioned and is part of a record
or block, the record or block is truncated. As a result, the data is
not formatted as specified.

Block command example

The BLOCK command for the example in the following figure
would be coded as follows:

The following diagram shows sample values for BLOCK
command parameters.

BLOCK

LENGTH=351, OFFSET=2, ADJUST=0,
LTHFLD=2, PREAMBLE=8, FORMAT=BIN;