S550-0435-04

LINECT

LINECT

Specifies the maximum number of lines PSF prints on each output page when the FCB parameter is used with line-mode conversion. PSF creates a page break and starts a new page when the number is reached. This parameter value is used if it is smaller than the value specified for the FCB line count.

You can specify the LINECT parameter in an OUTPUT statement, as follows:

LINECT=nnn
The value is:
nnn
Specifies the one- to three-digit decimal number from 0 to 255 that indicates the maximum number of lines printed on each page. If LINECT=0, PSF stores the document as one page.

Example:
In this example, PSF creates a page break and starts a new page after every 45 lines:
//PRNTDS OUTPUT LINECT=45

//DD1 DD SYSOUT=P,OUTPUT=(*.PRNTDS)

You can only use the LINECT parameter if the Line Mode Migration function is enabled in PSF and Exit 7 requests that the LINECT parameter is used to calculate the number of lines on a page (XTP7LCNT flag is set ON). For more information about Line Mode Migration, see PSF for z/OS: Customization.