NBSpool for MPE Reference Guide

Chapter 2
2-16
Variable Description
CURRDEV
This variable is used to specify the device
class/ldev
of current spool file.
CURRENV
This variable is used to specify the environment file name of current
spool file.
CURRJNUM
This variable is used to specify the
job/session
number of the current
spool file’s creator (without a leading
#
character).
CURRJOB
This variable is used to specify the
job/session
name of the current spool
file’s creator. This variable does not exist if a
job/session
name does not
exist for the current spool file.
CURRNAME
In
WHILE
loops, this variable has the name of the current spool file.
CURRPRI
This variable is used to specify the
outpri
of current spool file.
CURRCOPY
This variable is used to specify the number of copies for current spool
file.
CURRFORM
This variable is used to specify the forms message in the current spool
file. This variable does not exist if the spool file has no forms message.
CURRFORMID
This variable is used to specify the forms ID for the current spool file. It
does not exist if the spool file has no
FORMSID
.
CURRSTREAMER
This variable is used to specify the user who streamed the job. This only
applies if the current spool file is a
$STDLIST
.
CURRUSER
This variable is used to specify the user name (
user.acct
) of the current
spool file’s creator.
NEW
When a command creates a new spool file, this variable becomes
available. It retains the same value until another “spool file creating”
command is executed. The following commands qualify as “spool file
creating” commands:
ALTER* BANNER DUP KEEP*
LIST* MERGE* UNARCH
Note: The commands listed above with an asterisk (
*
) do not always
create a new spool file. Other commands can create multiple spool files.
When that happens, the last spool file created will be the
!NEW
value.
YYMMDD
This variable returns the current date in the
YYMMDD
format.