PSF for z/OS: User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Printing with inline resources

PSF for z/OS: User's Guide
S550-0435-04

Printing with inline resources

For an inline form definition, a page definition, a color mapping table resource, or a microfilm setup resource, you can do any of these:

If you specified the inline resource name in the FORMDEF, PAGEDEF, COLORMAP, or COMSETUP parameter, and your data set contains that inline resource, PSF uses the inline resource. If the name in the FORMDEF, PAGEDEF, COLORMAP, or COMSETUP parameter does not match the name of an inline resource, PSF uses the resource from the resource library that matches the name in the JCL.

If you did not specify the FORMDEF, PAGEDEF, COLORMAP, or COMSETUP parameter, and your data set contains inline resources, PSF uses the first inline resource (FORMDEF, PAGEDEF, COLORMAP, or COMSETUP) encountered in the data set.

If you send several resources with the same name inline, PSF uses the last resource received for processing the data set.

If you use an outline font as an inline resource in your data stream, consider including the equivalent raster version of the font, to ensure that your job can be printed, in case the target printer supports only one type of font technology. For more information about font mapping and how PSF selects resources, see PSF for z/OS: Customization.

Keep in mind that the maximum length of any record in an inline resource is 32752. The maximum size of each inline resource that PSF can handle is about 1GB (a gigabyte is 1073741824 bytes).

For more information about using inline resources, see Specifying a form definition, Specifying a page definition, Specifying JCL parameters for microfilm jobs, and Specifying color mapping tables.

Example:
This example specifies two inline resources for PSF to use. PSF searches the system libraries for the other resources. These resources are specified for the print job:
  • Form definition F1INFDEF is sent inline with the data set.
  • Overlay O1INLOV, referenced in F1INFDEF, is also sent inline.
  • Page definition P1A06462 is in a PSF system library.
  • Font 60D8 is in the PSF system font library.
//AFPUSERB JOB ...
//STEP1 EXEC PGM=USERB
//OUT1  OUTPUT FORMDEF=INFDEF,PAGEDEF=A06462
//PRINT DD SYSOUT=A,OUTPUT=(*.OUT1),CHARS=60D8
   /*

PSF uses the inline form definition and overlay and takes the page definition and the font from the system library. You do not need to define the system libraries in the JCL for your print job; your system programmer already defined system libraries to PSF for all the jobs that use the printer.

Note:
XML data does not support inline resources.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014