SNA NRJE User/Programmer Reference Manual (30292-90006)
Chapter 4 123
Job Output
Job and Output Management
support four characters or less for a special form name in their job
control language. However, a user can direct forms output to this entry
by using the SUBMIT command with solicited output:
SUBMIT
filename
;FORMS='PAYROLL'
disc =mydata.nrje,new
Output is routed to a disk file with the above entry. Output destined for
the
formid
disc is sent to the disk file mydata.nrje.sys. The new
parameter overrides the default value of old. NRJE builds the file for
you.
CAUTION
If the file already exists as a permanent file, NRJE cannot close the file
successfully. In such cases the file is renamed as NRJEnnnn, where
nnnn is a 24 hour time stamp. If the file cannot be renamed, the output
is lost.
Files cannot be built across accounts. Use the
new
parameter to build
files in the SYS account only.
disc2 =discS.nrje.myacct
This entry causes all output for the
formid
disc2 to be routed to disk
file discs.nrje.myacct. This file must be built in advance. NRJE
assumes that the file already exists unless the
new
parameter is
specified. A new option could not be used here because NRJE cannot
build files across accounts.
$@@long#;dev=pp;env=lp604.hpenv
A
formid
can begin with numeric or IBM national characters (as well
as alphabetic characters) and can be up to eight characters long.
Output routed to
formid
$@@long# is sent to device class PP using
environment file lp604.hpenv.sys.
test =special;dev=pp,3;forms=special.
This entry causes the output file to be named SPECIAL, rather than the
host jobname. The device class is PP. The specified output priority is 3.
The period (.) in the
forms
parameter is required to designate a form.
The form name in this example matches the file name assigned to the
spool file. This enables HP 3000 operators to more readily identify the
names of special forms required by spool files, since the SHOWOUT output
indicates the name of the form required.
frm1 =newfile ,new
This causes NRJE to build a new file in the NRJE logon group and
account (NRJE.SYS) using the host jobname as the filename. This entry
provides a mechanism for routing either solicited or unsolicited output
to disk, and building a new file using the name of the job as the
filename.