USE $PRINT / $PUNCH / $JOB command: Difference between revisions
m (only USE $PRINT is obsolete) |
|||
Line 74: | Line 74: | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
< | <li>If you are using an external security interface, authorization to open SYSOUT data sets is validated during execution of the command. An external security interface verifies the <var>USE $JOB</var> command's authorization to submit jobs to the internal reader. For more information, refer to [[:Category:Security interfaces|Security interfaces]]. | ||
<li>The <var>USE $PRINT</var> version of the <var>USE</var> command is obsolete and is supplied only for purposes of compatibility. | |||
</ul> | |||
===z/OS=== | |||
Under z/OS, the <var>USE $PRINT</var>, <var>USE $PUNCH</var>, or <var>USE $JOB</var> command directs output to a dynamically allocated printer, punch device, or internal reader. | |||
<p> | <p> | ||
Under z/OS, when a data set is printed or punched, the operating system inserts a separator page or card identifying the job (for example, <code>ONLINE Model 204</code>) that created the data set. <var class="product">Model 204</var> also generates a separator page. For <var>$PRINT</var> output under z/OS, if the IBM Block Letter Routine (IEFSD095) is | Under z/OS, when a data set is printed or punched, the operating system inserts a separator page or card identifying the job (for example, <code>ONLINE Model 204</code>) that created the data set. <var class="product">Model 204</var> also generates a separator page. For <var>$PRINT</var> output under z/OS, if the IBM Block Letter Routine (IEFSD095) is included in the load module, <var class="product">Model 204</var> generates a separator page that contains a one-line message: </p> | ||
<p class="code">M204LIST <i>userid</i> | <p class="code">M204LIST <i>userid</i> | ||
</p> | </p> | ||
Line 83: | Line 88: | ||
Where <var class="term">userid</var> consists of the first eight characters of the user ID of the user who is running the request.</p> | Where <var class="term">userid</var> consists of the first eight characters of the user ID of the user who is running the request.</p> | ||
<p> | <p> | ||
If the IBM Block Letter Routine is in | If the IBM Block Letter Routine is included in the Model 204 load module, <var class="product">Model 204</var> generates a separator that contains the following message lines: </p> | ||
<p class="code">M204LIST | <p class="code">M204LIST | ||
<i>userid</i> | <i>userid</i> | ||
Line 90: | Line 95: | ||
These lines are equivalent to the options <code>HDR1</code> and <code>HDR2</code>. </p> | These lines are equivalent to the options <code>HDR1</code> and <code>HDR2</code>. </p> | ||
<p> | <p> | ||
The Block Letter Routine | The Block Letter Routine can be linked into your Online or BATCH204 during <var class="product">Model 204</var> installation.</p> | ||
===CMS=== | |||
<p> | <p> | ||
Under | Under CMS, the <var>USE $PRINT</var> or <var>USE $PUNCH</var> command directs output to a dynamically allocated printer or punch device. | ||
</p> | |||
Under CMS, the <var class="product">Model 204</var> separator page always consists of the following message: | |||
<p class="code">Model 204 SPINOFF FOR USER <i>userid</i> | <p class="code">Model 204 SPINOFF FOR USER <i>userid</i> | ||
</p> | </p> | ||
[[Category: General user commands]] | [[Category: General user commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Revision as of 22:19, 22 June 2016
Summary
- Privileges
- Any user
- Function
- Under z/OS or z/VM, directs output to a dynamically allocated printer, punch device, or internal reader.
Syntax
USE name [option [,option]...]
Where:
name | One of the following:
| ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | Described in the table below.
|
Example
USE $PRINT COPIES=3, FORMS=TIME,FCB=FM01 - JOBNAME=ENDMONTH, ROUTE=ACCT05
Usage notes
- If you are using an external security interface, authorization to open SYSOUT data sets is validated during execution of the command. An external security interface verifies the USE $JOB command's authorization to submit jobs to the internal reader. For more information, refer to Security interfaces.
- The USE $PRINT version of the USE command is obsolete and is supplied only for purposes of compatibility.
z/OS
Under z/OS, the USE $PRINT, USE $PUNCH, or USE $JOB command directs output to a dynamically allocated printer, punch device, or internal reader.
Under z/OS, when a data set is printed or punched, the operating system inserts a separator page or card identifying the job (for example, ONLINE Model 204
) that created the data set. Model 204 also generates a separator page. For $PRINT output under z/OS, if the IBM Block Letter Routine (IEFSD095) is included in the load module, Model 204 generates a separator page that contains a one-line message:
M204LIST userid
Where userid consists of the first eight characters of the user ID of the user who is running the request.
If the IBM Block Letter Routine is included in the Model 204 load module, Model 204 generates a separator that contains the following message lines:
M204LIST userid
These lines are equivalent to the options HDR1
and HDR2
.
The Block Letter Routine can be linked into your Online or BATCH204 during Model 204 installation.
CMS
Under CMS, the USE $PRINT or USE $PUNCH command directs output to a dynamically allocated printer or punch device.
Under CMS, the Model 204 separator page always consists of the following message:
Model 204 SPINOFF FOR USER userid