z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Transform and print data sets

z/OS Infoprint Server User's Guide
SA38-0695-00

Transform and print data sets

This example shows how to transform data and print the output from the transform in a subsequent step.

In the first step, the PostScript to AFP transform reads PostScript input from MVS™ data set HLQ.INPUT.PS and writes AFP output to MVS data set HLQ.OUTPUT.AFP, where HLQ represents the high-level qualifier; for example, your TSO or RACF® user ID.

In the second step, the AOPPRINT JCL procedure is used to print the output from the transform to the printer named myprinter, which is defined in the Printer Inventory. For more information about AOPPRINT, see Printing using the AOPPRINT JCL procedure.

//AOPBATCH JOB  ...
//TRANSFRM EXEC PGM=AOPBATCH,PARM='/ps2afp -o //DD:OUTPUT //DD:INPUT'
//INPUT    DD   DSN=HLQ.INPUT.PS,DISP=SHR
//OUTPUT   DD   DSN=HLQ.OUTPUT.AFP,DISP=(NEW,CATLG,DELETE),
//              DCB=(RECFM=VBM,LRECL=32756,BLKSIZE=32760),
//              SPACE=(CYL,(1,1))
//STDOUT   DD   SYSOUT=*
//STDERR   DD   SYSOUT=*
//PRINT    EXEC AOPPRINT,PRINTER='myprinter'
//SYSIN    DD   DSN=HLQ.OUTPUT.AFP,DISP=SHR
 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014