You are here: Available Utilities > A > AFPRESRC > AFPRESRC z/OS Considerations

AFPRESRC z/OS Considerations

When running on z/OS, the input (/I), output (/O), formdef (/F), and listing (/L) file parameters must specify a DD: name that is defined in your JCL.

DD:FDEFLIB()

The name of the PDS that contains the AFP formdef files

DD:FONTLIB()

The name of the PDS that contains the AFP font files

DD:OVERLIB()

The name of the PDS that contains the AFP overlay files

DD:PSEGLIB()

The name of the PDS that contains the AFP page segment files

DD:INFILE

The name of the AFP input file

DD:OUTFILE

The name of the AFP output file

DD:FORMDEF

The name of the AFP formdef file

DD:TRACE

The name of the trace file

Assume you want to read an AFP print stream and produce a new AFP print stream that contains the required AFP font resources. For this example, assume you have this environment on the mainframe:

FSI.V114.RPEX1.GENPRINT.AFPBAT1

The AFP print stream

FSI.ORACLE.AFP240.FONTLIB

The PDS for AFP fonts

FSI.V114.RPEX1.PSEGLIB

The PDS for AFP page segments

FSI.V114.RPEX1.OVERLIB

The PDS for AFP overlays

FSI.V114.RPEX1.AFPRESC1.TRACE

The trace file you want to produce

FSI.V114.RPEX1.AFPRESC1.LIST

The listing file you want to produce

FSI.V114.FDEFLIB(F1FMMST)

The AFP formdef to add

FSI.V114.RPEX1.GENPRINT.AFPBAT1.NEW

The new print stream to produce

See JCL for AFPRESRC of the JCL for this utility to produce the new AFP print stream that contains AFP fonts ready for printing

Note z/OS does not allow file names that begin with a number (0-9). If the name of an AFP resource file begins with a number, you will not be able to upload that files to z/OS. Therefore, you will not be able to run AFPRESRC on z/OS for this environment. Instead, you must run AFPRESRC on a Windows or UNIX platform and upload the final print stream to z/OS for printing.