LINDEX parameter - IBM-JCL

Parameter Type

Keyword, optional, JES2 only

Purpose

Use the LINDEX parameter to set the right margin for output on a 3211 Printer with the indexing feature. The width of the print line is reduced by the LINDEX parameter value.

Note: LINDEX is supported only on JES2 systems and only for output printed on a 3211 with the indexing feature. JES2 ignores the LINDEX parameter if the printer is not a 3211 with the indexing feature.

1.Syntax

LINDEX=nn

2.Subparameter Definition

nn
Specifies how many print positions the right margin on the 3211 output is to be moved in from the full page width. nn is a decimal number from 1 through 31. n=1 indicates flush-right; n=2 through n=31 move the right margin over by n-1 positions. The default is 1, which indicates flush right. Thus, if you do not code an INDEX or LINDEX parameter, JES2 prints full-width lines.

3.Relationship to Other Parameters
INDEX and LINDEX are mutually exclusive; if you code both, JES2 uses the last one encountered. Note that you cannot index both the left and right margins.

4.Example of the LINDEX Parameter

//OUT18 OUTPUT LINDEX=21

In this example, the author of the report wanted extra space on the right side of the paper for notes. Assuming the data set is printed on a 3211 with the indexing feature, all lines are ended 20 print positions from the right page margin.

LINECT parameter

Parameter Type

Keyword, optional, JES2 only

Purpose

Use the LINECT parameter to specify the maximum number of lines JES2 is to print on each output page.

Note: LINECT is supported only on JES2 systems.

1.Syntax

LINECT=nnn

2.Subparameter Definition

nnn
Specifies the maximum number of lines JES2 is to print on each page. nnn is a number from 0 through 255. Specify LINECT=0 to keep JES2 from starting a new page when the number of lines exceeds the JES2 initialization parameter.

3.Defaults
If you do not code the LINECT parameter, JES2 obtains the value from one of the following sources, in order:

  1. The linect field of the accounting information parameter on the JOB statement.
  2. The installation default specified at JES2 initialization.

4.Example of the LINECT Parameter

//PRNTDS   OUTPUT   LINECT=45

In this example, JES2 will start a new page after every 45 lines.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM-JCL Topics