PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


FORMLEN

PSF for z/OS: User's Guide
S550-0435-04

FORMLEN

Specifies the paper length in inches or in centimeters. This parameter is used to change the paper length at the printer (physical paper) without reconfiguring the printer.

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

FORMLEN=xx.yyyIN | xx.yyyCM
The values are:
xx.yyyIN
Specifies up to two digits before the decimal point and up to three digits following the decimal point to indicate paper length in inches.
xx.yyyCM
Specifies up to two digits before the decimal point and up to three digits following the decimal point to indicate paper length in centimeters.

If the FORMLEN parameter is not specified, the printer’s default paper length is used. If the printer does not support the Set Media Size command, the FORMLEN parameter is ignored.

The FORMLEN parameter is only specified in the user's OUTPUT JCL statement. If the FORMLEN parameter is specified on an OUTPUT statement in the PSF startup procedure, it is ignored. The FORMLEN parameter value specified in the user's OUTPUT JCL statement is used for all pages in the data set including the job header, job trailer, data set header, message data set, and interrupt message page.

The FORMLEN parameter is not used for JESNEWS pages. JES creates a separate data set for JESNEWS that does not have the JCL values for the user data set. JES2 puts the JESNEWS on the job header page and the form length value comes from the FORMDEF for the job header. JES3 puts the JESNEWS on the job trailer page and the form length value comes from the FORMDEF for the job trailer.

If you are using Line Mode Migration and a FORMLEN parameter and an FCB parameter are coded in your JCL, PSF uses the FORMLEN value and ignores the FCB parameter. See FCB. For more information about Line Mode Migration, see PSF for z/OS: Customization.

Note:
PSF uses the XOH Set Media Size (SMS) command to set the printer's physical printable area in the length direction by using the FORMLEN value. Although some printers use the SMS values unconditionally, some do not. See your printer hardware documentation to determine how SMS is used by the printer.

Example:
In this example, a paper length of 9.5 inches is specified in the OUTPUT statement:
//OUTPUT1 OUTPUT FORMLEN=9.5IN
//DD1 DD SYSOUT=A,OUTPUT=(*.OUTPUT1)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014