IDMS - Is there a Batch Version of OCF ?
search cancel

IDMS - Is there a Batch Version of OCF ?

book

Article ID: 141140

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

Is there a way to submit the same OCF syntax used online in batch?

 

Environment

Release : 19.0

Component : OCF

Resolution

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;                           
   

 

 

Additional Information

For more information about IDMSBCF, please see:

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/database-management/ca-idms/19-0/using/using-common-facilities/idmsbcf-batch-processing/idmsbcf-jcl-for-z-os.html