Page 1 of 1

Cobol CICS compile procedure

PostPosted: Mon 04 Jan 2016, 10:47
by agourav19890
Hi Dezhi friends,

Can anyone please confirm the below things regarding CICS compilation -

1) Procedure for CICS compilation is - SYSFAN.PROCLIB(DFHZITCL)
2) Load of program and physical map should go to SYSFAN.CICS.LOAD library.
3) Symbolic map should go to user personal library.
4) Override JCL for CICS will be -
//RA2000J JOB (12345678),RA2000,MSGCLASS=H,
// MSGLEVEL=(1,1),CLASS=A,NOTIFY=&SYSUID
//***************************************************************
//***************JCL CREATED BY RAHUL ARORA *********************
//***************************************************************
//* RA2000.PROGRAM.SRC(PROGRAM1) IS THE LOCATION OF PROGRAM
//*
//JOBPROC JCLLIB ORDER=SYSFAN.PROCLIB
//STEP0001 EXEC DFHZITCL,PROGLIB=SYSFAN.CICS.LOAD
//COBOL.SYSIN DD DSN=RA2000.PROGRAM.SRC(PROGRAM1),DISP=SHR
//LKED.SYSIN DD *
NAME PROGRAM1(R)
/*
Please correct if anything mentioned above is incorrect.

Thanks in Advance..

Regards,
Rahul Arora

Re: Cobol CICS compile procedure

PostPosted: Mon 04 Jan 2016, 13:05
by steve-myers
You do not need the JCLLIB statement; SYSFAN.PROCLIB is a standard PROCLIB. However, it should work as is.

I don't know CICS, but other than the comment about the JCLLIB statement, it looks OK to me.

Re: Cobol CICS compile procedure

PostPosted: Mon 04 Jan 2016, 16:25
by prino
I don't know COBOL, but it may be that the COBOL compile procedures (or rather the COBOL compiler) supports a built-in option to translate EXEC CICS and EXEC DB2 to native COBOL, similar to the version(s) of Enterprise PL/I on the system.

Re: Cobol CICS compile procedure

PostPosted: Tue 05 Jan 2016, 10:30
by agourav19890
It works..Thanks for help Prino.