A SERVICE OF

logo

Chapter 4. Utility Functions 319
1st ed., 6/30/04 - 312579601
JCL for Multiple SET Statements
Note: The last two lines of the JCL example above (SET NNLBDRV...) are not used by
VM, but they are valid for setting an MVS host from a VM host.
Output Description
Output resulting from the execution of the SET command includes:
a listing of input commands with appropriate messages when syntax errors occur
messages associated with error conditions resulting from an unsuccessful attempt to
execute SET processing
an updated CDS with the changed parameters
a condition code indicating successful or unsuccessful CDS update.
/JOB jobname SLUADMIN
/PARM MIXED
/FILE SLSCNTL DEV vaddr DSN control.set.name
/FILE SLSCNTL2 DEV vaddr DSN secondary.set.name
/FILE SLSPRINT DEV PRNT CLASS A
/FILE SLSIN *
SET HOSTID(HSC2) FORHOST(HSCB)
SET SLISTATN(0CD,0DD) FORACS(00) FORHOST(HSC2)
SET NNLBDRV(CTAPE) FORHOST(CPUA)
SET NNLBDRV(CTAPE) FORHOST(CPUB)
Set