Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
Transform and print data sets only if the transform is successful z/OS Infoprint Server User's Guide SA38-0695-00 |
|
Transform and print data sets only if the transform is successfulThis example shows how to transform data to AFP format and print the output only if no warnings or errors occur during the transform. IBM® Infoprint Transforms to AFP is required. In the first step, the PostScript to AFP transform reads PostScript input from data set HLQ.INPUT.PS and writes AFP output to data set HLQ.OUTPUT.AFP, where HLQ represents the high-level qualifier; for example, your TSO or RACF® user ID. The STDENV data set specifies the AOP_MVS_RETURN_CODES environment variable. Because this variable is set to YES, the transform returns MVS™ return codes: 0 (successful), 4 (warning), 8 (failure). In the second step, the AOPPRINT JCL procedure prints the AFP output to the printer named mypsfprinter, which is defined in the Printer Inventory. This step runs only if the return code from the transform step is less than 4.
|
Copyright IBM Corporation 1990, 2014
|