CICS loadlibs, CICS compile, CICS Map

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

CICS loadlibs, CICS compile, CICS Map

Postby rsilver » Wed 09 Jan 2013, 01:04

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)'
Richard (Rick) Silvers

E-mail.......: rsilvers@mebtel.net or rick_silvers@rsilvers.com
My Website: http://www.rsilvers.com/
Webmaster: http://main.nc.us/yancey/
rsilver
 
Posts: 92
Joined: Thu 10 Nov 2011, 13:08
Location: Mebane, NC USA

Re: CICS loadlibs, CICS compile, CICS Map

Postby prino » Wed 09 Jan 2013, 10:37

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.
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: CICS loadlibs, CICS compile, CICS Map

Postby rsilver » Thu 10 Jan 2013, 18:13

thanks Prino, one more question

Can I use the CEDA trans for defining my trans, program, file in the CICS tables PCT, PPT, FCT ?
Richard (Rick) Silvers

E-mail.......: rsilvers@mebtel.net or rick_silvers@rsilvers.com
My Website: http://www.rsilvers.com/
Webmaster: http://main.nc.us/yancey/
rsilver
 
Posts: 92
Joined: Thu 10 Nov 2011, 13:08
Location: Mebane, NC USA

Re: CICS loadlibs, CICS compile, CICS Map

Postby prino » Thu 10 Jan 2013, 21:12

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.
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: CICS loadlibs, CICS compile, CICS Map

Postby rsilver » Fri 11 Jan 2013, 02:41

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 !
Richard (Rick) Silvers

E-mail.......: rsilvers@mebtel.net or rick_silvers@rsilvers.com
My Website: http://www.rsilvers.com/
Webmaster: http://main.nc.us/yancey/
rsilver
 
Posts: 92
Joined: Thu 10 Nov 2011, 13:08
Location: Mebane, NC USA


Return to Dezhi systems: Mainframe

Who is online

Users browsing this forum: No registered users and 0 guests

cron