Cobol CICS compile procedure

This forum provides the support of Dezhi Mainframe systems. Please post your questions about logon, usage of our mainframe environment.

Moderators: sysprog, prino, sfan, steve-myers, Tim001

Cobol CICS compile procedure

Postby agourav19890 » Mon 04 Jan 2016, 10:47

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
agourav19890
 
Posts: 5
Joined: Mon 04 Jan 2016, 09:36

Re: Cobol CICS compile procedure

Postby steve-myers » Mon 04 Jan 2016, 13:05

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.
steve-myers
 
Posts: 452
Joined: Tue 04 May 2010, 15:43

Re: Cobol CICS compile procedure

Postby prino » Mon 04 Jan 2016, 16:25

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.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
Some programming here :mrgreen:
prino
 
Posts: 479
Joined: Sat 06 Jun 2009, 21:41
Location: Vilnius, Lithuania

Re: Cobol CICS compile procedure

Postby agourav19890 » Tue 05 Jan 2016, 10:30

It works..Thanks for help Prino.
agourav19890
 
Posts: 5
Joined: Mon 04 Jan 2016, 09:36


Return to Dezhi systems: Mainframe

Who is online

Users browsing this forum: No registered users and 0 guests