Executing print data file independently in batch
The Print Data File function can be executed also as a separate step in a batch job by coding the JCL shown in the following figures. Choose the appropriate JCL based on the format in which you want to print the report. For an explanation of the different format options, see the description of the Print format field in Field Descriptions.
Batch JCL for Print Data File in a Formatted Print Format
Batch JCL for Print Data File in a Vertical Formatted Print Format
Batch JCL for Print Data File in a Character Print Format
Batch JCL for Print Data File in a Hexadecimal Print Format
Data File Print Execution Return Codes
A data file print execution return code (RC) appears in the job output listing. For return codes 4, 8, 12, and 16, an error code and message that indicates the specific problem also appears in the listing. The following table summarizes the return codes.
Print Execution Return Codes
RC | Explanation | Error Description |
---|---|---|
0 | Job ran to completion | None. |
4 | Job ran to completion | Warnings issued. |
8 | Job may have ended prematurely | Dataset related error. |
12 | Job may have ended prematurely | I/O related error. |
16 | Severe error occurred | System error. |
Related topics