Page 1 of 1

CICS loadlibs, CICS compile, CICS Map

PostPosted: Wed 09 Jan 2013, 01:04
by rsilver
Hi,

1. Trying to determine which PDSs to use for out libs, ran a search on the forum and here is what I found, are these the correct ones to use ?

CICSTS23.CICS.SDFHLOAD - MAPsets load
SYSFAN.CICS.LOAD - cobol program load
SYSFAN.CICS.SDFHMAC - cobol symbolic

2. Is this correct proc for compiling COBOL CICS programs => 'SYSFAN.PROCLIB(DFHZITCL)'
3. Is this correct proc for map assembly => 'SYSFAN.PROCLIB(DFHMAPS)'

Re: CICS loadlibs, CICS compile, CICS Map

PostPosted: Wed 09 Jan 2013, 10:37
by prino
Both load modules and MAPs (they are in effect also load modules) go into 'SYSFAN.CICS.LOAD'. COBOL symbolic (I presume you mean copybooks) need to go into your own private library.

'CICSTS23.CICS.SDFHLOAD' should not be used as output library, you'll get RACF UPDATE violations if you try.

The following JCL (adapt for your own userid) can be used to assemble MAPs:

Code: Select all
//PRINOMAP JOB (PRINO),
//             'RAHP ASSEMBLE MAP',
//             CLASS=A,
//             MSGCLASS=H,
//             MSGLEVEL=(1,1),
//             NOTIFY=&SYSUID
//*********************************************************************
//* Assemble and link a map, build PL/I %INCLUDE
//*********************************************************************
//MAPASM  EXEC DFHMAPS,
//             MAPLIB='PRINO.RAHP.LOAD', <= CICS Load Lib for Phys maps
//             DSCTLIB='PRINO.RAHP.INC', <= Copy Lib for Symbolic Maps
//             MAPNAME='MYMAP'           <= mapset name
//COPY.SYSUT1 DD DSN=&SYSUID..RAHP.PLI(MYMAP),
//             DISP=SHR


As for compiling COBOL/CICS, 'SYSFAN.PROCLIB(DFHZITCL)' seems to be the one to use, using the builtin CICS translator of Enterprise Cobol.

Re: CICS loadlibs, CICS compile, CICS Map

PostPosted: Thu 10 Jan 2013, 18:13
by rsilver
thanks Prino, one more question

Can I use the CEDA trans for defining my trans, program, file in the CICS tables PCT, PPT, FCT ?

Re: CICS loadlibs, CICS compile, CICS Map

PostPosted: Thu 10 Jan 2013, 21:12
by prino
rsilver wrote:thanks Prino, one more question

Can I use the CEDA trans for defining my trans, program, file in the CICS tables PCT, PPT, FCT ?

Yes, I think you can. If not, shout and I'll have a look at things.

Re: CICS loadlibs, CICS compile, CICS Map

PostPosted: Fri 11 Jan 2013, 02:41
by rsilver
ok, all the examples you provided worked very well, right now just testing and getting use to all the procedures

1. Imported the example screen (BMS) you gave me, MAT030N, into SDF2
Code: Select all
RSILVER.DGIBMS       
RSILVER.DGIDATA       
RSILVER.PAN.GRP.DGIGRP
RSILVER.PAN.GRP.DGIPNL

2. SDFII is working fantastic now, was able to use all the different options: edit, list, test, etc.
3. Generated the BMS macros (RSILVER.DGIBMS) and symbolic/copybook (RSILVER.DGIDATA)
4. Assembled the map with RSILVER.JCL($ASM)
5. Logged onto CICS and defined the mapset with CEDA, wasn't sure what groupid to use so I just put in RSILVER, if this is incorrect let me know and I can delete and redefine and I will know groupid for my COBOL program and files
6. Able to use CECI to see the maps

No RACF or security errors, I'm good to go ...can start creating some of my own stuff now, been away from CICS for about 3 years, been over in the Teradata, Oracle, Netezza world, want to refresh my skills ....

very cool ! thank you !