Using logical processing

Detection of RSTACK immediately following report separation is ignored. This prevents null reports. If RSTACK is specified in a selected JDE or JDL, that is, a JDE or JDL invoked in a DJDE), the following restrictions apply to online systems:

If RSTACK is not specified in the JDE or JDL that is identified in the Initial JDE or JDL field on the user interface window, the DELIMITER=NO parameter should be specified in the selected JDE or JDL. Specification of DELIMITER=YES is overridden in this case.

If RSTACK is specified in the Initial JDE or JDL, the DELIMITER parameter cannot be changed in a selected JDE or JDL.

If RSTACK is specified in the starting JDE or JDL but not in the selected JDE or JDL, RSTACK processing is suspended until end of report is triggered by BANNER page detection.

If ACCTINFO is specified in the Initial JDE or JDL on the Online Job Manager window, the ACCTINFO parameter cannot be changed or deleted in a selected JDE or JDL (even if RSTACK is suspended).

If ACCTINFO is not specified in the Initial JDE or JDL, it can be invoked in a selected JDE or JDL. The first record after the selected JDE takes effect is then printed as the ACCTINFO field.

RSTACK command example

Following is an example of the RSTACK command:

T1: TABLE

CONSTANT=('XEROX');

C1: CRITERIA

CONSTANT=(1,5,EQ,T1);

RSTACK

TEST=C1, DELIMITER=YES,

 

ACCTINFO=(14,19),

 

HRPTNA=(20,10);

In the previous example, reports are separated by a record with the characters XEROX in bytes 1 to 5 (relative to 0). Two reports are created as illustrated in the following figure. The delimiter record is not printed with the report.

The following figure illustrates a sample RSTACK command usage.

Using LCDS Print Description Language

3-59

Page 239
Image 239
Xerox 701P21091 manual Rstack command example, Following is an example of the Rstack command