USE $PRINT / $PUNCH / $JOB command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
Line 76: Line 76:
   
   
<tr> <th><var>
<tr> <th><var>
<p>JOBNAME</p>
<p>JOBNAME<br>J</p>
</var></th> <td>Identifier that appears in place of your user ID on the separator page. This option is equivalent to HDR2.  </td> </tr>
</var></th> <td>Identifier that appears in place of your user ID on the separator page. This option is equivalent to HDR2.  </td> </tr>
   
   
Line 90: Line 90:
   
   
</table>
</table>
==Example==
==Example==
<p class="code">USE $PRINT COPIES=3, FORMS=TIME,FCB=FM01 -
<p class="code">USE $PRINT COPIES=3, FORMS=TIME,FCB=FM01 -

Revision as of 13:54, 27 March 2014

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 is one of the following:

$function

Routes output to...

$JOB

Internal reader that submits a job from Model 204 to JES. (Only z/OS)

$PRINT

Printer. USE sets up a 133-character ASA carriage control buffer.

$PUNCH

Punch. USE sets up an 80-character buffer.
options are described in the table below.
USE command output options

Option

Specifies the...

CLASS

Output class. The class is specified as one alphanumeric character. The default is:

A for $PRINT

B for $PUNCH

(A is assumed for $JOB)

COPIES

Number of copies to be printed. The number must be in the range 1 to 255 to match the range allowed for the COPY parameter of the z/VSE/POWER *$$LST and *$$PUN statements. The default is 1.

If COPIES is omitted or a zero value is specified, COPIES=1 is assumed.

The z/VSE/POWER equivalent option name is COPY.

FCB Name of the forms control buffer (block) used to control the vertical spacing of output on the page. FCB consists of 1 to 4 characters. There is no default.

FORMS

Form name for the output. The name consists of 1 to 8 characters. There is no default.

JOBNAME
J

Identifier that appears in place of your user ID on the separator page. This option is equivalent to HDR2.

ROUTE

Desired output destination or routing. The destination consists of one to eight characters. The default is LOCAL.

Example

USE $PRINT COPIES=3, FORMS=TIME,FCB=FM01 - JOBNAME=ENDMONTH, ROUTE=ACCT05

Usage notes

Under z/OS or z/VM, the USE $PRINT/$PUNCH/$JOB command directs output to a dynamically allocated printer, punch device, or internal reader. $JOB applies only to z/OS.

Note: This version of the USE command is obsolete and is supplied only for purposes of compatibility.

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 not in effect, 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 in effect, 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 is automatically linked (by M204LINK or M204RLNK) into your online or BATCH204 during Model 204 installation.

Under z/VM, the Model 204 separator page always consists of the following message:

Model 204 SPINOFF FOR USER userid

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 the Model 204 Security Interfaces Manual.