Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
AOPBATCH examples IBM Print Transforms from AFP for Infoprint Server for z/OS G325-2634-02 |
|
AOPBATCH examplesThese examples show how to use the AOPBATCH procedure to transform data. For additional AOPBATCH examples, see z/OS Infoprint Server User’s Guide. Transform an AFP MVS data set into a PDF file using AOPBATCHThis example shows how to use the AOPBATCH procedure to transform data. The transform input is in an MVS™ data set and transform output is written to a UNIX file. The AFP to PDF transform reads the AFP input from data set HLQ.INPUT.AFP and writes PDF output to file /tmp/output.pdf.
Transform and print data sets only if the transform is successfulThis example shows how to transform data and print the output from the transform in a subsequent step only if no warnings or errors occur during the transform. In the first step, the AFP to PostScript transform reads AFP input from data set HLQ.INPUT.AFP and writes PostScript output to data set HLQ.OUTPUT.PS, where HLQ represents the high-level qualifier. 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 PostScript 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. For information about AOPPRINT, see z/OS Infoprint Server User’s Guide.
Continuing parameter fields in JCLTo continue a parameter field:
To continue a parameter that is enclosed in apostrophes:
|
Copyright IBM Corporation 1990, 2014
|