The SET statement assigns values to the read-write variables. The values can be the names of constructs or RACF® derived defaults (&DEF_DATACLAS, &DEF_STORCLAS, or &DEF_MGMTCLAS). You can assign one name to &DATACLAS, one name to &STORCLAS, and one name to &MGMTCLAS, but you can assign a list of up to 15 names to &STORGRP
The names can be from one to eight characters long, and they must be enclosed in single quotation marks. The individual names belonging to a &STORGRP must be enclosed in single quotation marks and separated by commas. A name must begin with either an alphabetic or national ($, @, #) character, and the remaining characters can be alphabetic, numeric, or national.
SET &STORCLAS = &PGM
SET read-write variable = value
where:
One Name in Single Quotation Marks | Null Value | RACF Read-Only Variable Name | List of Quoted Names Separated by Commas | |
---|---|---|---|---|
Storage group | x | x | ||
Management class | x | x | x | |
Storage class | x | x | x | |
Data class | x | x | x |
SET &STORCLAS EQ 'SCNORM'
SET &STORCLAS = 'SCNORM'
SET &DATACLAS = &DEF_DATACLAS /* RACF read-only variable */
SET &MGMTCLAS = 'SCRATCH5'
SET &STORGRP = 'SG1','SG2','SG3' /* list of values */
SET &DATACLAS = '' /* null value assignment */
You
must have RACF installed and
ACSDEFAULT(YES) specified in the IGDSMSxx to assign the &DEF_DATACLAS, &DEF_STORCLAS,
or &DEF_MGMTCLAS. Otherwise a null value is assigned to a read-write
variable.