Using inline form definitions
To use an inline form definition:
- Include the inline form definition in the print data set.
- If you specify the FORMDEF parameter in your JCL, ensure that
the name of the inline form definition matches the form definition
name specified in your JCL, or else specify FORMDEF=DUMMY in the JCL.
- If a form definition resource is included inline with the data,
ensure that the data set is identified as containing carriage control
characters. If the length of the records in the form definition is
less than or equal to the logical-record length defined for the data
set, you can specify fixed-length records for the record format. If
the length of the records in the form definition is greater than the
logical-record length defined for the data set, you must specify variable-length
records as variable-blocked with ANSI carriage control characters
(VBA) or as variable-blocked with machine carriage control characters
(VBM) for the record format.
Notes:
- If you specify FORMDEF=DUMMY in your JCL, and you do not include
an inline form definition, PSF uses the default form definition for
your printer.
- If you specify multiple inline form definitions in
the print data set and you specify FORMDEF=DUMMY on the OUTPUT statement,
PSF uses the last inline form definition in the print data set.
- If you do not specify the FORMDEF parameter in your JCL, PSF selects
the first inline form definition in the print data set.
- You cannot use inline resources in XML data.
You can include more than one inline form definition
in a print data set, and you can change the form definition name in
the JCL for different printing jobs to test different form definitions.
If the name of an inline form definition does not match the FORMDEF
name specified in the JCL, PSF uses the form definition from the resource
library that matches the name in the JCL. For more information about
using inline form definitions, see Advanced Function Presentation: Programming Guide and Line Data Reference, S544-3884.
|