Create the sample JCL below with your table name and OPS/MVS dataset names.
Here is the sample JCL provided:
//CMD EXEC PGM=OI,PARM='STATESET "resource-name" DESIRED(DOWN)'
//STEPLIB DD DISP=SHR,DSN=prefix.CCLXLOAD
//OPS$OPSS DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSEXEC DD DISP=SHR,DSN=prefix.CCLXEXEC
In the example above:
- "resource-name" is the name of task whose desired state is being set to DOWN.
- prefix.CCLXLOAD is the CA OPS/MVS load library
- prefix.CCLXEXEC is the CA OPS/REXX library (where the STATESET command is delivered).