VRYCFG (Vary Configuration) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No >>-VRYCFG-------------------------------------------------------> >--CFGOBJ(--+-*ANYNW-----------------------------------------------+--)--> +-*APPN------------------------------------------------+ +-*PRVCFGTYPE------------------------------------------+ | .---------------------------------------------. | | V | (1) | '---+-configuration-object-description-name---+-+------' '-generic*-configuration-description-name-' >--CFGTYPE(--+-*NWS----+--)-------------------------------------> +-*NWI----+ +-*LIN----+ +-*CTL----+ +-*DEV----+ '-*MLBRSC-' (2) (3) >--STATUS(-------+-*ON----------+--)----------------------------> +-*OFF---------+ +-*RESET-------+ +-*ALLOCATE----+ +-*UNPROTECTED-+ '-*DEALLOCATE--' >--+---------------------+--+-------------------------------+---> | .-*NET-. | | .-*CFGOBJ------. | '-RANGE(--+-*OBJ-+--)-' '-VRYWAIT(--+-*NOWAIT------+--)-' '-vary-on-wait-' >--+-------------------------+--+---------------------+---------> | .-*NO--. | | .-*NO--. | '-ASCVRYOFF(--+-*YES-+--)-' '-RESET(--+-*YES-+--)-' >--+--------------------------------------------+---------------> | .--------------------------. | | V (4) | | '-RSRCNAME(----drive-resource-name------+--)-' >--+------------------------+--+--------------------------+-----> | .-*NO--. | | .-*NO---. | '-RESETCFG(--+-*YES-+--)-' '-FRCVRYOFF(--+-*YES--+--)-' '-*LOCK-' >--+------------------------------+-----------------------------> | (5) .-*YES-. | '-STRTCPIFC(-------+-*NO--+--)-' >--+------------------------------+-----------------------------> | .-*NO--. (6) | '-SBMMLTJOB(--+-*YES-+-------)-' >--+-------------------------------------------------------+--->< | .-QBATCH----------------------------------. | | | .-*LIBL/--------. | | '-JOBD(--+-+---------------+--job-description-name-+--)-' +-*CURLIB-------+ '-library-name/-'
Notes:
- A maximum of 256 repetitions. Only 1 object is allowed if the CFGTYPE is *MLBRSC.
- *RESET, *ALLOCATE, *UNPROTECT and *DEALLOCATE are allowed only for CFGTYPE(*MLBRSC). *ON and *OFF are not allowed for CFGTYPE(*MLBRSC).
- All parameters preceding this point can be specified in positional form.
- A maximum of 16 repetitions.
- This parameter is valid for CFGTYPE(*NWS) and network servers of type *WINDOWSNT, otherwise it will be ignored.
- >This parameter is valid for CFGTYPE(*NWS) and for auxilliary storage pool (ASP) device descriptions.