Page 1 of 1

CICS complie

PostPosted: Thu Nov 12, 2009 6:57 pm
by phanikiran99
HI..

i have a cobol cics prgm which uses maps..!

what is the procedure i should follow inorder to execute this CICS

if

cobol-cics pgm name : cobcics
cics map name :cobmap
mapsetname :cbmapset

which program to compile first..!! pls help giving an example program could help me better...

Re: CICS complie

PostPosted: Thu Nov 12, 2009 7:09 pm
by phanikiran99
Also Can You give any great Online reference of CICS prgraming which covers from Basics of CICS !!! with examples..!!! all i need is examples..!!

Re: CICS complie

PostPosted: Sun Nov 15, 2009 9:14 pm
by sivanandam
hi dude.. first u have to compile the map program. then the cobol-cics pgm have to be compiled..

Re: CICS complie

PostPosted: Fri Mar 26, 2010 1:37 pm
by CPANTX
I am using following JCL for CICS-COBOL compilation.
 ****** ***************************** Top of Data ******************************
 000100 //C1234 JOB (12345678),CPANTX,MSGCLASS=H,MSGLEVEL=(1,1),               
 000200 //         CLASS=A,NOTIFY=&SYSUID                                       
 000300 //COBS1    EXEC DFHEITVL,                                               
 000400 //             OUTC=H,                                                 
 000401 //             DSCTLIB=CPANTX.MAP.COPY,                                 
 000402 //             PROGLIB=SYSFAN.CICS.LOAD                                 
 000404 //*                                                                     
 000405 //TRN.SYSIN    DD DSN=CPANTX.COBCIS.PRG(FIST),DISP=SHR               
 000406 //*                                                                     
 000407 //LKED.USERLIB  DD DSN=____________________,DISP=SHR                         
 000408 //LKED.SYSIN  DD *                                                     
 000409   NAME FIST(R)                                                     
 000410 //*                                                                     
 ****** **************************** Bottom of Data ****************************


Please explain line no. 000407, what it does, and what should be DSN.

Thanks.

Re: CICS complie

PostPosted: Fri Mar 26, 2010 5:00 pm
by Robert Sample
That is not a standard linkage editor library name, so it is something specific to your site. I recommend you find out from coworkers, your senior team members, or your site support group what the data set name should be for it.

My guess is that the DD name is used for statically linked modules -- but not working at your site, I cannot know for sure.

Re: CICS complie

PostPosted: Sat Mar 27, 2010 10:18 am
by CPANTX
I agree that nobody can guess the name of the data set except people working on that site. OK, name can be xyz, but I only want to know what that xyz dataset should be in line no. 000407, i.e., whether it should be DSN where symbolic map load is like in line no. 000401 or load library like in line no.000402 or something else. When I google "LKED.USERLIB," I get different DSNs for different sites, but what purpose they serve?

Re: CICS complie

PostPosted: Sat Mar 27, 2010 11:55 am
by dick scherrer
Hello,

You need to ask the people who support the compile processes on that system. . .

What Robert posted is quite clear . . .
That is not a standard linkage editor library name, so it is something specific to your site.

What you are looking at (that DD statement, not just the dsn) is site-specific to your system and someone who knows that configuration will have to tell you.

Re: CICS complie

PostPosted: Sat Mar 27, 2010 7:05 pm
by Robert Sample
That DD name could be any of what you mentioned, or something completely and totally different. The point, as Dick and I are both trying to get across, is that there is absolutely no way we can tell you how your site is using that data set. Since it is in the linkage editor / binder step, it most likely is some object module library or load library -- but what specifically is in it? We don't know. We try to avoid guessing, so we cannot answer your question. Either contact your site support group to find out, or just remove the DD name and ignore it -- either the procedure has the name and will work with it or the procedure does not have the name and will work without it.