Spooler Utilities Reference Manual
Peruse
Spooler Utilities Reference Manual—522295-003
3-46
REPORT Command
REPORT Command
The REPORT command alters the report name of the current job. If there is no current
job, then the job most recently spooled becomes the current job. The report name is
usually printed in the header in large banner-sized letters at the beginning of the job.
report-name
is the new report name for the current job. report-name is composed of as
many as 16 letters, digits, and blanks, and must begin with a letter.
If report-name is omitted, then the current job is assigned a report name
containing all blanks.
In the case of the print processes supplied by Tandem, the first 8 characters of
report-name are used as the first line of the banner heading characters on the
header page; characters 9 through 16 appear on the second line.
Considerations
Normally, when a job is collected by the spooler, its report-name is the same as
the group and user name of the owner. A different report-name (other than the
owner name) can be specified when the job is collected by means of parameters
supplied to the SPOOLSTART or SPOOLEND procedures. Refer to the Spooler
Programmer's Guide for exceptions.
Report names are automatically shifted to uppercase letters.
If a batch job is current, the REPORT command operates on all jobs that are part
of the current batch job.
The REPORT command is not supported if the current job is a spooler job file.
Example
After sending your job to the spooler, you want to change the report name that will
appear in the header message. Notice that you must insert spaces so that the two-
name header is properly printed on two lines.
REPORT [ report-name ]
_JOB
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 123 HOLD 2 1 4 #HOLD ACCNT JOHN
_REPORT NEW TEST1
_JOB
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 123 HOLD 2 1 4 #HOLD NEW TEST1
_