JCL parameters for the Print Interface subsystem
This section describes how to code the SUBSYS JCL parameter to
request that the Print Interface subsystem process a data set. It
also describes the parameters of the DD and OUTPUT JCL statements
that apply when you use the Print Interface subsystem.
Figure 2. SUBSYS parameter for the Print Interface subsystem
DD JCL Statement:
SUBSYS=(subsystem_name[,['printer_definition_name'][,'attribute=value ...']])
- SUBSYS=(subsystem_name[,'[printer_definition_name'][,'attribute=value ...']])
- Specifies that the Print Interface subsystem
is to process this data set.
The Print Interface subsystem supports
these positional subparameters:
- subsystem_name
- Specifies the name of the Print Interface subsystem. This name
must be the same as the Inventory name that is specified in the Infoprint Server
configuration file. The Printer Inventory name is usually AOP1.
Default: None.
- 'printer_definition_name'
- Specifies the name of the printer definition in the Printer
Inventory that the subsystem uses to process the data set. This name
is case-sensitive. If the name includes any lowercase characters or
special characters, enclose the name in single quotation marks. If
you want to omit this parameter, but still specify job attributes,
code a comma to indicate the printer definition name is omitted.
Default: The first printer definition name found,
using this order:
- The printer definition name specified in the FSSDATA parameter
on the OUTPUT JCL statement.
- The Infoprint Server
default printer definition. The name of the Infoprint Server default printer
definition is specified in the Printer Inventory. The default name
is lp1.
- 'attribute=value ...'
- Specifies Infoprint Server
job attributes that the subsystem uses to process and print the data
set. For a list of valid job attributes, see Using job attributes.
Rules:
- Attribute names and values are case-sensitive. All attribute names
are lowercase.
- Enclose the entire list of job attributes in single quotation
marks.
- Separate job attributes with one or more spaces.
- If an attribute value contains blanks or special characters, enclose
that attribute value in double quotation marks.
- You can specify up to 127 characters of job attributes.
- To continue the SUBSYS parameter on another line, end the first
line with a comma at the end of a complete subparameter.
- If you cannot fit all job attributes on one line, see z/OS MVS JCL Reference for
information about how to continue a parameter field enclosed in apostrophes.
Tip: If you want to specify more
than 127 characters of job attributes, instead, specify the JCL parameter
that corresponds to the job attribute. For example, specify the COPIES
JCL parameter instead of the copies job attribute.
Or, specify the job attributes in an attributes file.
Overrides: Job attributes override values specified
in corresponding parameters of the DD and OUTPUT JCL statements. For
a list of job attributes and their corresponding JCL parameters, see JCL parameters and corresponding job attributes.
Using an attributes file: You
can store attributes and values in an MVS™ data
set or in a UNIX file (such as, a zFS file). Follow these rules:
Default: The first value found
for each job attribute, using this order:
- The value in a corresponding JCL parameter specified on the DD
statement.
- The value in a corresponding JCL parameter specified on the first
OUTPUT statement referred to in the OUTPUT parameter on the DD statement.
- The value in a corresponding JCL parameter specified on the first
default OUTPUT statement in the job step.
- The value in a corresponding JCL parameter specified on the first
default OUTPUT statement in the job.
- The value specified in the printer definition.
- The JES default value for the corresponding JCL parameter. However,
the JES default values for the CHARS, UCS, PAGEDEF, or FCB parameters
are not used to transform data.
Examples:
- This example shows how to submit output to the Print Interface
subsystem named AOP1:
//DD1 DD SUBSYS=(AOP1,'myprinter')
- This example shows how to submit output to the subsystem named AOP1 and
specify that the output from the transform should include only pages
1 through 10 and should be printed on both sides of the sheet. The
PCL to AFP, PostScript to AFP, and PDF to AFP transforms support the -p option.
//DD1 DD SUBSYS=(AOP1,'myafpprinter',
// 'filter-options="-p 1-10" duplex=yes')
- This example shows how to submit output to the subsystem named AOP1 and
specify attributes in a UNIX file
named /u/myuserid/myattributes:
//DD1 DD SUBSYS=(AOP1,'myprinter','attributes=/u/myuserid/myattributes')
Parameters of the DD JCL statement that the Print Interface
subsystem supports
Table 8 summarizes the parameters on the DD JCL
statement, other than the SUBSYS parameter, that the Print Interface
subsystem supports. It also describes the special considerations that
apply when you use the Print Interface subsystem.
Table 8. Parameters of the DD JCL statement that the Print Interface subsystem supportsDD statement parameter | Print Interface subsystem considerations |
---|
BURST
CHARS
COPIES
FLASH
UCS
| If you do not specify one of these parameters, the corresponding
value in the printer definition is used. If none is specified, the
standard default value is used. However, JES default values for the
CHARS and UCS parameters are not used to transform data. |
COPIES
| If you do not specify one of these parameters, the corresponding
value in the printer definition is used. If none is specified, the
default is one copy.
The administrator can limit the number of copies
that you can print. If you exceed the allowed limit, the Print Interface
subsystem does not print any data sets in the job step.
If
you specify COPIES on both the DD and the OUTPUT JCL statement, COPIES
on the DD statement is used. |
DCB
|
Specify values in the DCB parameter that are suitable for
data that your application writes to this DD statement.
If you
do not specify either the DCB OPTCD=J subparameter or the TRC parameter
on the OUTPUT JCL statement, the TRC value in the printer definition
is used.
Tip:
If the DCB RECFM
parameter is not specified on the DD statement or by the application
that writes the data, the default is RECFM=U (undefined records with
no carriage controls). Therefore, if the data contains carriage controls,
you must specify the type of carriage controls in the DCB RECFM parameter. | DSNAME | Begin the name with two ampersands (&&).
Follow the ampersands with 1 to 8 alphanumeric or national ($,#,@)
characters, a hyphen, or a character X'C0'. The first character
after the ampersands must be alphabetic or national ($,#,@). If you
specify another format, you receive a JCL error. | LRECL |
Specify values in this parameter that are suitable for data
that the application writes to this DD statement. | OUTPUT | Refer to only one OUTPUT JCL statement. The
Print Interface subsystem ignores all references except for the first
one. |
SEGMENT
SYSOUT
| Not allowed. If you specify one of these parameters
with the SUBSYS parameter, you receive a JCL error. | All other DD parameters | The Print Interface subsystem does not use any
other DD parameters. However, JES might use them. | Parameters of the OUTPUT JCL statement that the Print Interface
subsystem supports
Table 9 summarizes the parameters of the OUTPUT JCL
statement that the Print Interface subsystem supports. It also describes
some special considerations that apply when you use the Print Interface
subsystem.
Table 9. Parameters of the OUTPUT JCL statement that the Print Interface subsystem supportsOUTPUT statement parameter | Print Interface subsystem considerations |
---|
CLASS
DEST
FORMS
| IP PrintWay™ does
not use these values to select a printer definition. The Print Interface
subsystem and IP PrintWay use
only the printer definition specified in the SUBSYS parameter or,
if none is specified, the printer definition in the FSSDATA parameter.
If
you do not specify one of these parameters, the corresponding value
in the printer definition is used. If none is specified, the standard
JES default is used.
The administrator can limit the values
you can specify in the FORMS parameter. If you specify a value that
is not allowed, you receive a JCL error. |
COPIES
DATACK
DUPLEX
| If you do not specify one of these parameters,
the corresponding value in the printer definition is used. If none
is specified, the standard JES default is used.
The administrator
can limit the values you can specify in these parameters. If you specify
a value that is not allowed, you receive a JCL error. | DEFAULT | The Print Interface subsystem uses only one OUTPUT JCL statement, in this order:
- The first OUTPUT JCL statement referred to in the OUTPUT parameter
on the DD statement
- The first OUTPUT JCL statement with DEFAULT=YES in the same job
step
- The first OUTPUT JCL statement with DEFAULT=YES in the job
| GROUPID | The Print Interface subsystem uses the specified group ID.
However, JES always places the output data set that Print Interface
allocates on the JES spool in a separate JES output group regardless
of the value specified in this parameter. | JESDS | Ignored. | PRTATTRS | The Print Interface subsystem uses the first
value found for each job attribute, using this order:
- The SUBSYS JCL parameter
- The PRTATTRS JCL parameter
- The JCL parameter that corresponds to the job attribute (for example,
the FORMDEF JCL parameter corresponds to the form-definition job
attribute)
- The printer definition
| All other OUTPUT parameters | If you do not specify a parameter on the OUTPUT
statement, the corresponding value specified in the printer definition
is used. If none is specified, the standard JES default is used. However,
the JES default values for the PAGEDEF and FCB parameters are not
used to transform data. | JCL statements that the Print Interface subsystem does not
support
The Print Interface subsystem does not support these JCL statements:
- The JES2 /*OUTPUT JCL statement is ignored.
- The JES3 //*FORMAT JCL statement is ignored.
|