Is there a way to submit the same OCF syntax used online in batch?
Release : 19.0
Component : OCF
Yes. IDMSBCF is the batch version of online OCF. The //SYSIPT DD in the IDMSBCF batch job points to your input commands:
For example:
If online in OCF you issued the command:
CONNECT TO SYSTEM;
DISPLAY PRIVILEGES ON SYSTEM SYST1900;
Just include the same syntax that you use in online OCF after the //SYSIPT DD * in the IDMSBCF batch job
For example:
//IDMSBCF EXEC PGM=IDMSBCF,REGION=1024K
//STEPLIB DD DSN=yourHLQ.idms.dba.loadlib,DISP=SHR
// DD DSN=yourHLQ.idms.custom.loadlib,DISP=SHR
DD DSN=yourHLQ.idms.cagjload,DISP=SHR
//sysctl DD DSN=yourHLQ.idms.sysctl,DISP=SHR
//SYSLST DD SYSOUT=*
//SYSIDMS DD *
DMCL=dmcl-name
DICTNAME=dictionary-name
//SYSIPT DD *
CONNECT TO SYSTEM;
DISPLAY PRIVILEGES ON SYSTEM SYST1900;