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


Subscript ranges

z/OS JES2 Commands
SA32-0990-00

Ranges appear in JES2 initialization statements and commands as subscripts of the name associated with the initialization statement.
REDIRect(vvvvvvvv)

$ADD REDIRect(vvvvvvvv)
Note: The name of the initialization statement and the target of the command are the same.
All KEYWORD= ranges must be coded explicitly; whereas subscript ranges can either be coded explicitly or as a generic range using the asterisk (*). The use of parenthesis with a generic range is optional for all numeric ranges, but is required for symbolic (character) ranges. Throughout this , the parenthesis are included for consistency and clarity of presentation. It is recommended that you use parenthesis when you specify a range.
  • Example: Initialization statement (generic subscript)
    NODE(5-*) PATHMGR=NO
  • Example: Commands (generic subscript)
    $d jobclass(d-*),qheld=yes,qheld
    
    $Doff(*-5).JT,CLASS=a,b,c,z
    
    $D OFF(1-10).ST

How JES2 interprets the use of the asterisk in specifying the subscript depends on how it is used in the command or statement. Using wildcards shows how the asterisk is coded to indicate various ranges.

Table 1. Coding Asterisks on Initialization Statements
RANGE     INTERPRETATION and RESULT
*   All values in the range (for nodes and jobclasses)
    Statement: NODE(*) COMPACT=1,.-->All nodes
    Command:   $d jobclass(*),.   -->All jobclasses
 
n-* Range from n to highest value
    Statement: NODE(5-*) compact=2  -->5 to highest value
    Command:   $Dnode(3-*)NAME=XRAY -->3 to highest value
 
*-m  Range from highest descending to m
     Statement: PRT(*-1) ws=(W,Q,R/)       -->highest to 1
     Command:   $d jobclass(*-C),qheld=yes -->highest to C 
c*   All values starting with char "c"
     Statement: APPL(OUT*).JT  All APPLs
                                  starting with OUT
     Command:   $d jobclass(A*),... -->All jobclasses
                                       starting with A 
Note: When specified in a numeric range, the asterisk always indicates the highest defined value in either the ascending (n-*) or descending (*-m) order.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014