Selecting form definitions, page definitions, and fonts
Hierarchy lists in Form definitions in deferred-printing mode through TrueType and OpenType fonts in deferred-printing mode show how the form definition, page definition, and fonts for a
print job are selected. PSF takes the user’s JCL parameters from
the DD statement and the first OUTPUT statement found; the search
proceeds in the following order:
- Explicitly referred to
- Implicitly referred to at the step level
- Implicitly referred to at the job level
If the same parameter appears both on the DD statement and on
the OUTPUT statement, PSF uses the parameter from the DD statement.
An "explicitly referred to" OUTPUT statement is one named
by the OUTPUT parameter of a DD statement. An "implicitly referred
to" OUTPUT statement must contain a DEFAULT=YES parameter and must
not be overridden by any OUTPUT keyword on a DD statement5. In
the following example, OUT1 is an OUTPUT statement that is explicitly
referred to:
//JOB01 JOB MSGCLASS=A
//STEP01 EXEC PGM=ENDMONTH
//OUT1 OUTPUT CHARS=60D8
//DD1 DD SYSOUT=A,OUTPUT=*.OUT1
In the following example, OUTA is an OUTPUT statement that is implicitly
referred to:
//JOB02 JOB MSGCLASS=A
//OUTA OUTPUT DEFAULT=YES,CHARS=60D8
//STEP01 EXEC PGM=ENDMONTH
//DD1 DD SYSOUT=A
For more information about the OUTPUT statement, see the z/OS MVS JCL Reference.
Form definitions in deferred-printing mode
This is the hierarchy of form definition selection in deferred-printing
mode:
- Internal copy group immediately followed by an IMM structured
field in the print data set (see Note 1)
- FORMDEF= specified on OUTPUT statement of the user JCL:
- Explicitly referred to (see Notes 2 and 3)
- Implicitly referred to step-level
- Implicitly referred to job-level
- First inline form definition (see Note 4)
- Form definition specified in Printer Inventory or FORMDEF=
specified on PRINTDEV statement in the PSF startup procedure
Notes:
- Internal copy groups immediately followed by an IMM structured
field in the print data set are used before copy groups specified
by a form definition.
An IMM structured field that does not immediately
follow an internal copy group cannot reference an internal copy group
elsewhere in the document; therefore, PSF assumes that the IMM references
a copy group in a form definition.
- This includes inline form definitions, which are specified on the OUTPUT
statement either by name or with the name DUMMY. If multiple inline form definitions
are specified on the OUTPUT statement with the name DUMMY, PSF uses
the last inline form definition in the print data set.
- This includes a form definition in a user library, which must be specified
by name on the OUTPUT statement.
- If the user JCL does not specify the form definition parameter and there
are inline form definitions, the first inline form definition in the print data set is
selected.
Form definitions in direct-printing mode
This is the hierarchy of form definition selection in direct-printing
mode:
- Internal copy group immediately preceding the IMM record in the
print data set (see Note 1)
- FORMDEF= specified on explicitly referred to OUTPUT statement
of the user JCL (see Note 2)
- First inline form definition (see Note 3)
- FORMDEF= specified on PRINTDEV statement of the user JCL
Notes:
- An IMM structured field that does not immediately follow an internal
copy group cannot reference an internal copy group elsewhere in the
document; therefore, PSF assumes that the IMM references a copy group
in a form definition.
- This includes inline form definitions, which are specified on the OUTPUT
statement either by name or with the name DUMMY. If multiple inline form definitions
are specified on the OUTPUT statement with the name DUMMY, PSF uses
the last inline form definition in the print data set.
- If the user JCL does not specify the form definition parameter and there
are inline form definitions, the first inline form definition in the print data set is
selected.
- PSF does not use user libraries in direct-printing mode.
Page definitions in deferred-printing mode
This is the hierarchy of page definition selection in deferred-printing
mode:
- In the user JCL:
- PAGEDEF= specified on OUTPUT statement (see Note 1)
- FCB= specified on DD statement
- FCB= specified on OUTPUT statement (see Note 1)
- JES default in the current printer setup (see Notes 2 and 3)
- First inline page definition (see Notes 4 and 5)
- Page definition specified in Printer Inventory or PAGEDEF=
specified on PRINTDEV statement in the PSF startup procedure (see
Note 3)
Notes:
- The OUTPUT statement used is the first one found from explicit,
step-level implicit, and job-level implicit.
- Under JES2, the JES default PAGEDEF can be specified by the FCB
parameter in the PRTnnnn statement or, if this parameter
is not present, by the NIFCB parameter in the PRINTDEF statement.
- Under JES3, a page definition specified in the Printer Inventory or the
PRINTDEV statement is only selected if PDEFAULT=FCB
and WS=C are specified on the DEVICE statement. Otherwise, if
PDEFAULT=NONE or PDEFAULT is not specified, a JES3 default page definition is
taken from the CARRIAGE parameter on the DEVICE statement or, if this
parameter is not present, from the CARRIAGE parameter on the OUTSERVE
statement. If the OUTSERV statement has no CARRIAGE parameter, a default
of 6 lines per inch (lpi) is used, which selects page definition P16. To use
inline page definitions in JES3, the name of the page definition should
be specified in the PAGEDEF or FCB of the user JCL.
- For JES2, if the user JCL does not specify the PAGEDEF or FCB
parameter and inline page definitions exist, the first inline page
definition in the print data set is selected unless JES has set a
default.
- If an inline page definition is included in the print data set,
and either its name matches the name selected or the name from the
JCL is DUMMY, the inline page definition is used. If multiple inline page definitions
are specified as PAGEDEF=DUMMY on the OUTPUT statement, PSF uses the
last inline page definition in the print data set.
- A page definition from a user library is used if its name matches the name
selected.
Page definitions in direct-printing mode
This is the hierarchy of page definition selection in direct-printing
mode:
- In the user JCL:
- PAGEDEF= specified on explicitly referred to OUTPUT statement
of the user JCL (see Note 1)
- FCB= specified on DD statement (see Note 1)
- FCB= specified on explicitly referred to OUTPUT statement of the
user JCL (see Note 1)
- First inline page definition (see Note 2)
- PAGEDEF= specified on PRINTDEV statement of the user JCL
Notes:
- This includes inline page definitions, which are specified by name or
with the name DUMMY, on the OUTPUT or DD statement. If multiple inline page definitions
are specified as PAGEDEF=DUMMY on the OUTPUT statement, PSF uses the
last inline page definition in the print data set.
- If the user JCL does not specify the PAGEDEF or FCB parameter
and inline page definitions exist, the first inline page definition
in the print data set is used.
- PSF does not use user libraries in direct-printing mode.
FOCA fonts in deferred-printing mode
When PSF is printing line-format data, this is the hierarchy of
FOCA fonts selection in deferred-printing mode:
- Fonts specified by the current page definition, including a JES default page definition (see
Note 1)
- In the user JCL:
- CHARS= specified on DD statement
- CHARS= specified on OUTPUT statement (see Note 2)
- UCS= specified on DD statement
- UCS= specified on OUTPUT statement (see Note 2)
- JES default font in the current printer setup (see Notes 3 and
4)
- Character sets specified in Printer Inventory or CHARS=
specified on PRINTDEV statement in the PSF startup procedure
- If the Printer Inventory or the PRINTDEV statement of the PSF
startup procedure names the active page definition, any fonts specified in
that page definition are loaded
- Hardware default
Notes:
- The current page definition does not include a page definition
specified by the Printer Inventory or the PRINTDEV statement of the
PSF startup procedure.
- The OUTPUT statement used is the first one found from explicit,
step-level implicit, and job-level implicit.
- Under JES2, you can select fonts with a SET command, the UCS parameter
of the PRTnnnn statement, or the NIUCS parameter
of the JES2 PRINTDEF statement. To prevent JES2 from sending a default
font name to PSF, specify UCS=0 in the PRTnnnn statement.
For more information about selecting fonts, see z/OS JES2 Initialization and Tuning Reference or PSF for z/OS: User’s Guide.
- Under JES3, you can select fonts with the CH parameter in the
*START, *RESTART, and *CALL commands. You can also use the CHARS parameter
in the DEVICE, OUTSERV, and SYSOUT statements. If PDEFAULT=CHARS and WS=U are specified in the JES3 DEVICE statement,
hardware default fonts or fonts specified in the Printer Inventory
or the PRINTDEV statement are selected; otherwise, hardware default
fonts or fonts specified in the Printer Inventory or the PRINTDEV
statement are never selected. For more information about selecting
fonts, see z/OS JES3 Initialization and Tuning Reference or PSF for z/OS: User’s Guide.
FOCA fonts in direct-printing mode
When PSF is printing line-format data, this is the hierarchy of
FOCA fonts selection in direct-printing mode:
- Fonts specified by the current page definition (unless the current page definition is
only specified by the PRINTDEV statement)
- In the user JCL:
- CHARS= specified on DD statement
- CHARS= specified on explicitly referred to OUTPUT statement
- UCS= specified on DD statement
- UCS= specified on explicitly referred to OUTPUT statement
- CHARS= specified on PRINTDEV statement
- If the PRINTDEV statement names the active page definition, any fonts
specified in that page definition are loaded
- Hardware default
TrueType and OpenType fonts in deferred-printing mode
When PSF is printing line-format data, this is the hierarchy of
TrueType and OpenType fonts selection in deferred-printing mode:
- Fonts specified by the current page definition (the current page definition
does not include a page definition specified by the Printer Inventory
or the PRINTDEV statement of the PSF startup procedure)
- If the Printer Inventory or the PRINTDEV statement of the PSF
startup procedure names the active page definition, any fonts specified in
that page definition are loaded
TrueType and OpenType fonts in direct-printing mode
When PSF is printing line-format data, this is the hierarchy of
TrueType and OpenType fonts selection in direct-printing mode:
- Fonts specified by the current page definition (unless the current page definition is
only specified by the PRINTDEV statement)
- If the PRINTDEV statement names the active page definition, any fonts
specified in that page definition are loaded
You cannot use an "implicitly referred
to" OUTPUT statement on a printer in direct-printing mode.
|