//SYSPRINT DD SYSOUT=*
//SYSIN DD *
INIT UNIT(xxx) VFY(yyyxxx) VTOC(z,z,zzz)
Initializing a volume in offline mode without operator's intervention
In this example, a volume is reinitialized at the minimal level. The VOLID is specified; the volume serial will be changed. Because the VERIFY(volser) parameter is specified in INIT and 'NOREPLYU' is specified in the JCL, no reply U or T is necessary. If either one of the parameters is not specified, the user will be prompted for a reply U or T.
Changing volid with the INIT command can only be done in the offline mode. Therefore if you are running in online mode, you have to vary off the device to change the volser then vary back online to resume normal operation.
Note that if you specify PARM='NOREPLYU,FORCE', the VERIFY(serial) parameter is not required to bypass the operator's intervention (Reply U or T) message.
Whenever you're faced with this kind of query, the best place to look at is usually the IBM manuals.
For instance, "PGM=ICKDSF,PARM='NOREPLYU'", from the IBM manual, corresponds to:
makes ABSOLUTELY no sense. Start over, explain what you are wanting to do, what you have tried, and why the results you have achieved do not match your expectations.Foundation - how to pass a variable in a string statement, sysin dd.
Aki88 wrote:Another method would be to generate the entire control card using a utility program- REXX/*SORT etc, and passing it to you ICKDSF setup. REXX/*SORT both can receive and process values passed to them through symbolics.
enrico-sorichetti wrote:the possibility of passing parametrised ( // SET variables ) in sysin data depends on the zOS level