z/OS JES2 Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Range summary

z/OS JES2 Commands
SA32-0990-00

The following tables summarize and illustrate how you should code JES2 initialization statements and commands using subscripts. Table 1, Table 2, and Table 3 focus your attention to the NAME of the initialization statement or the object of the command. You can use these tables as a reference to guide your coding. Examples of numeric and symbolic subscripts makes you aware of how JES2 processes numbers and names.

Table 1. Numeric Only (used for most devices, such as PRT, PUN, LINE, RMT)
Specification Explanation and Examples
NAMEnn number nn
RMT44 BUFSIZE=3500,COMPRESS=YES
$T R5.PU1,JOBNAME=todeko,RANGE=(1,6),....
NAME(nn) number nn
RMT(3) BUFSIZE=4096,COMPRESS=NO
$D R(3).PU(22),COMP,FLUSH,LRECL
NAMEnn-mm Ascending or descending range nn to mm
LINE5-2 COMPRESS=NO,JRNUM=2,JTNUM=2,...
$T RMT5-1,MFORM=T,SHAR=Y,TRANSPAR=N 
NAME(nn-mm) Ascending or descending range nn to mm
PRT(25-22) CREATOR=fredonia,DEVFCB=TABX
$D PUN(11-10),CR,F,JOB
NAMEnn-* Ascending range from nn to maximum possible value
LINE5-* COMPRESS=NO,JRNUM=2,JTNUM=2,...
$T RMT5-*,MFORM=T,SHAR=Y,TRANSPAR=N 
NAME(nn-*) Ascending range from nn to maximum possible value
RDR(3-*) XEQDEST=seattle
$Trdr11-*,tr=yes,Q
NAME*-nn Descending range from maximum possible value to nn
LINE*-5 LOG=YES,TR=YES,SRNUM=224
$S line *-1
NAME(*-nn) Descending range from maximum possible value to nn
LINE(*-12) LOG=YES,TR=YES
$T line (*-10),DISCON=QUIESCE
NAME(*) All values, but holes not filled in by create requests
RMT(*) BUFSIZE=512,COMPRESS=YES
$T RMT(*),BUFSIZE=1024,COMPRESS=NO
NAME(mm,nn) Multiple subscripts
LINE(2,6) LOG=YES,TR=YES
$tline(1,3),DISCON=QUIESCE
NAME(mm,nn-pp) Multiple subscripts (one subscript is a range)
If the subscripts are processed individually, it is possible for a particular element to be processed multiple times (that is, for NAME(1-3,2), element 2 is processed twice).
rdr(1,10-15,22) AUTH=(JOB=YES)
$D rdr(2,4-8,11),AUTH=JOB
NAME When allowed, equivalent to NAME(*).
d PRT
$D L.jr
 
Note: Valid Names: PRT, PUN, LINE, RMT.
Table 2. Symbolic Only (REDIRECT, APPL, JOBCLASS, OUTCLASS, SPOOL, SRVCLASS)
Specification Explanation and Examples
NAME(xxxx) Explicit subscript
REDIR(CN320) DA=cn330
$T REDIR(cn3e0),du=cn320
$ADD redir(cn3e0)
NAME'xxxx' Explicit character string
APPL'jmaxsum' compact=65,node=3
$dappl'maxsum',compact,line,logmode,...
NAME('xxxx') Explicit subscript as a character string
JOBCLASS('A') COMMAND=DISPLAY,HOLD=YES
$d jobclass('c')
NAME(xxxx-yyyy) Explicit symbolic range. Wildcard characters may be specified in ranges, but they are not treated as wild cards.
OUTCLASS(a-j) blnktrnc=no,trkcell=no
$Toutclass(2-3),outdisp=(purge,..
NAME('xxxx'-'yyyy') Explicit symbolic range as characters
REDIR('CN320'-'cn321') DA=cn444
$T REDIR('cn3e0'-'cn4e0'),du=cn320
 
NAME(X*Y?Z) * and ? are treated as wild card characters
APPL(jmax*) compact=65,node=3
$dappl('maxs?m'),compact,line,logmode,..
NAME'X*Y?Z' * and ? are NOT treated as wild card characters
OUTCLASS'a*',blnktrnc=no,trkcell=no
$Djob'T?cobell'
NAME(xxxx,yyyy) Multiple keywords, must be in parenthesis and may include ranges, wild cards, or quoted strings. If the subscripts are processed individually, it is possible for a particular element to be processed multiple times.
JOBCLASS('A','B',c*,D),HOLD=YES
$d jobclass('c'-'d',e,f,g*)
NAME When allowed, this is equivalent to NAME(*). Holes are never filled on create requests.
JOBCLASS
$Djob,cards
Table 3. Numeric and Symbolic (NODE, MEMBER, INIT.)
Specification Explanation and Examples
NAMEnn Numeric subscript
NODE001 auth=(net=yes),compact=65
$dnode4
NAME(nn) Symbolic name nn (if it exists, else numeric value nn)
MEMBER(3) NAME=100
$Tmember(100),IND=YES
NAME'nn' Name nn
INIT'3' name=backup,class=z
$Si'3',status=halted
NAMEnn-mm Numeric range
INIT01-05 class=x,y,z,start=no
$di01-02,class>x,status=halted
NAME(nn-mm) Numeric range. The expected performance would be as symbolic range, and if nothing exists in range, as a numeric range.
NODE(001-022) auth=(net=yes),...
$dnode(4-9)
NAME('nn-mm') Symbolic range
MEMBER('100-115') NAME=wilcox
$dmember('100-112'),IND=YES
NAME(xxxx-mm) Symbolic range. See note 3.
NODE(nyork-102) auth=(net=yes),compact=65
$dnode(atlanta-austin)
NAME(nn-xxxx) Symbolic range. See note 2.
INIT(01-txs) class=x,y,z,start=no
$di(5-last),class>x,status=halted
 
NAME(xxxx-yyyy) Symbolic range
NODE(gaith-seattle) auth=(net=yes),...
$dnode(atlanta-columbus)
NAME(nn,'xxxx') Multiple subscripts, may mix any valid flavors (numerics, symbols, ranges, wild cards). See note 1.
NODE(100,'alpha'-'sigma',102) PATHMGR=no
$d member (3,'beta',1-5),IND=YES
Note:
  1. If the subscripts are processed individually, it is possible for a particular element to be processed multiple times.
  2. To avoid confusion, it is recommended that when both numerics and symbolics are allowed, symbolic names (usually specified by a NAME=parameter) either include at least one alphabetic character, or match the numeric value exactly (for example, INIT(1) NAME=1).
  3. Any numeric is allowed. Symbolic is only allowed when both numeric and symbolic are allowed.
  4. All ranges are considered numeric unless at least one of the range limits is forced to be a symbolic. Holes are filled only on numeric ranges.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014