The name of a temporary job variable begins with the character defined in the system parameter TEMPFILE (i.e. # or @, from BS2000 V21.0B # only), followed by a jvname up to 27 characters in length, which may also be partially qualified:
(below, # is assumed as the defined TEMPFILE character)
|
|
The special character on its own is used to address all temporary job variables of a job, e.g. in SHOW-JV-ATTR JV=#
.
Temporary job variables are stored under the default catalog identifier and user ID of the creating job and under an internal name. Specification of a foreign user ID or catalog identifier is not permitted.
The internal name of a temporary JV is structured as follows:
S.sys.nnnn.jvname | nnnn | = | task sequence number of the creating job |
sys | = | internal number of the processor, as the TSN is not unique in the multiprocessor network with shared pubsets |
The internal name part S.sys.nnnn. is specified by the user with the TEMPFILE character. The internal name is always output by the system.
The maximum length of “jvname” is 27 characters.
pathname: | Up to 54 characters |
In the case of status interrogations with SHOW-JV-ATTRIBUTES, the internal JV name is always output. The same applies to system messages containing the JV name.
Example
/create-jv jv=#work /show-jv-attr jv=# %0000000 :1OSN:$USER1.S.100.0MH4.WORK %SUM 00001 JV'S; JV-VALUE = 00000000 BYTES /del-jv jv=#,dialog-contr=*jv-change % JVS0469 DELETE JOB VARIABLE ':1OSN:$USER1.S.100.0MH4.WORK'? REPLY (Y=YES; N=NO; T=TERMINATE; ,CHECK=NEW MODE)?y /
Note
The format of internal names of job variables and files is not defined as part of the user interface and can change from one version to another without prior notice.