The COMPILE command is used to compile IMODS.
The following status can be assigned to the IMODS with the COMPILE command when used in batch with SRVMAINT.
How to assign a FORCE-LOAD status to the compiled IMODs?
Release : 11.0
Component : JOBTRAC
The following job can be used to compile IMODS in an ISET and assign a PROD status:
//jobcard
//STEP1 EXEC PGM=SRVMAINT,REGION=0M
//SYSPRINT DD SYSOUT=A
//DSNISET DD DSN=your.isetname,DISP=SHR
//ISRVLOG DD SYSOUT=*
//SYSIN DD *
NAME_LIST &LIST1 CLEAR
NAME_LIST &LIST1 INCLUDE DSNISET /&/
COMPILE IMOD &LIST1 IN DSNISET VIO SYSVIO STATUS PROD
Adding the following CHANGE command line will change the status of the IMODS to FORCE-LOAD
CHANGE IMOD &LIST1 IN DSNISET STATUS FORCE
The //SYSIN DD * will be:
//SYSIN DD *
NAME_LIST &LIST1 CLEAR
NAME_LIST &LIST1 INCLUDE DSNISET /&/
COMPILE IMOD &LIST1 IN DSNISET VIO SYSVIO STATUS PROD
CHANGE IMOD &LIST1 IN DSNISET STATUS FORCE