JCL tutorial - OUTLIM parameter in JCL
OUTLIM parameter in JCL
OUTLIM parameter, the name itself indicates that it is used for limiting the output...Well here is the explanation about use of OUTLIM parameter.
1. The OUTLIM parameter used to limit the number of lines or records that are written to a system output dataset, i.e SYSOUT
2. OUTLIM parameter sets the limitation on the number of lines that can be wrote in SYSOUT. The following is the syntax, which shows how the OUTLIM parameter can be used in JCL.
Sntax: //SYSOUTDD DD SYSOUT=*,OUTLIM=500
In the above example the limit is specified as 500, OUTLIM=500 says that only 500 lines or records will written into SYSOUT DD.
A. OUTLIM parameter can be used only on a DD statement with SYSOUT parameter.
B. The maximum number of lines that can be specified in the OUTLIM parameter is around 16 million.
The following examples shows where we can use OUTLIM and where we shouldn't
OUTLIM parameter can be used with SYSOUT
OUTLIM parameter can't be used with any other. Only with SYSOUT is allowed
More by this Author
Sort can be used to split the file into multiple files. SORT parameter OUTLIM is used to copy the contents of file into multiple files. The following are the examples to split the file using OUTLIM
In our previous tutorial we have learned how to send an email from mainframe JCL. This part of the tutorial explains how we can send an email with an attachment from mainframe with JCL code. IBM utility IEBGENER is...
No comments yet.