Sample JCL to run IMS program for your project

Batch program does not access IMS program directly. JCL invokes DLI executable module DFSRRC00, which loads application program and required DLI modules. 

//SAMPLE     JOB  (ACCOUNTING), ‘SRINI’,MSGLEVEL=(1,1),MSGCLASS=3,
//                        NOTIFY=&SYSUID 
//STEP01     EXEC    PGM=DFSRRC00,PARM=(DLI,Program,PSB NAME, , ,)
//STEPLIB    DD DSN=IMS.RESLIB,DISP=SHR
//IMS        DD DSN=IMS2.PSBLIB,DISP=SHR
//           DD DSN=IMS2.DBDLIB,DISP=SHR
//DDCARD     DD DSN=DATASET,DISP=(OLD,KEEP)
//DFSVSAMP   DD DUMMY
//IMSLOGR    DD  DUMMY
//IEFRDER    DD DUMMY
//SYSPRINT   DD SYSOUT=*
//SYSUDUMP   DD SYSOUT=*
//IMSERR     DD SYSOUT=*

More resources

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.