IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is the cobol-ims compiler and pl/I-ims compiler


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
knd_r
Currently Banned

New User


Joined: 18 Mar 2005
Posts: 48

PostPosted: Mon May 23, 2005 11:48 am
Reply with quote

hi,

What is the cobol-ims compiler and pl/I-ims compiler?

bye,
ks reddy.
Back to top
View user's profile Send private message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Wed May 25, 2005 5:08 pm
Reply with quote

hello ksreddy,


the cobol-ims compiler is IGYCRCTL and PL/I-ims compiler i think u will be knowing bye

regards,
siva pradeep
Back to top
View user's profile Send private message
sudhaaa

New User


Joined: 24 Mar 2005
Posts: 51

PostPosted: Thu Jun 09, 2005 5:52 pm
Reply with quote

Hi Pradeep,

Can you tell me what is the compiler option for PLI-IMS and also hoe to linkedit a IMSBATCH program.

Regards,
Sudhaaa.
Back to top
View user's profile Send private message
dbamain

New User


Joined: 28 Jun 2005
Posts: 12

PostPosted: Fri Aug 19, 2005 3:59 pm
Reply with quote

hai,

The pl1/ims compiler is IEL1AA and the link-edit is by IEWL .

To run the jcl is by using the Region controller DFSRRC00.
Back to top
View user's profile Send private message
abhilash g s

New User


Joined: 27 Apr 2007
Posts: 37
Location: bangalore

PostPosted: Wed Dec 05, 2007 3:46 pm
Reply with quote

Hi,

Is this compiler mntioned IEL1AA should only be used??? or????
because i am using IBMZPLI compiler in my jcl for compiling a PL/I-IMS code.
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 05, 2007 4:18 pm
Reply with quote

Abhilash,
You are using Enterprise PL1(V3.5) compiler. There is no problem in using that. IEL1AA and IEL0AA are old compliers.
Back to top
View user's profile Send private message
abhilash g s

New User


Joined: 27 Apr 2007
Posts: 37
Location: bangalore

PostPosted: Wed Dec 05, 2007 4:25 pm
Reply with quote

Hi Srihari,

Thanks for ur reply,
yes, we r using the latest version(Enterprise PL/I).
Srihari, dou have run jcl for running PL/I-IMS batch code???
it will be great, if u can help me in this regard.
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 05, 2007 5:39 pm
Reply with quote

This is simplest form of runjcl for IMS, I believe.
Please customize this with your libraries.
//STEP020 EXEC PGM=DFSRRC00,PARM=(DLI,MCD004P,MCD004P)
//STEPLIB DD DSN=Your LOAD LIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//IMS DD DSN=Your DBDLIB,DISP=SHR
// DD DSN=Your PSBLIB,DISP=SHR
//DFSRESLB DD DSN=IMS.**.RESLIB,DISP=SHR
//IEFRDER DD DUMMY
//DFSVSAMP DD *
//DFSVSAMP DD *
1024,40
2048,40
4096,40
8192,40
32768,10
//INPUT DD DSN=LMCD.MCD7377.G0001.D010907,DISP=SHR
//OUTPUT DD DSN=LMCD.MCD7377.CR04.P004,DISP=(,CATLG),
// SPACE=(1,(10,1),RLSE),AVGREC=M,UNIT=SYSDA,
// DCB=(LRECL=412,DSORG=PS,RECFM=FB,BLKSIZE=27604)
//DBD1 DD DSN=Your DATABASE name1,DISP=SHR
//DBD2 DD DSN=Your DATABASE name2,DISP=SHR
Back to top
View user's profile Send private message
abhilash g s

New User


Joined: 27 Apr 2007
Posts: 37
Location: bangalore

PostPosted: Wed Dec 05, 2007 6:01 pm
Reply with quote

Hi srihari,

thanks a lot for ur reply:)icon_smile.gificon_smile.gif
I am attaching my runjcl, which had prepared, it will be great if u can review it.

// PROC MBR=,PSB=,IN=,OUT=,
// OPT=N,SPIE=0,TEST=0,DIRCA=000,
// PRLD=,STIMER=,CKPTID=,PARDLI=,
// CPUTIME=,NBA=06,OBA=05,IMSID=IMS9,AGN=IVP,
// SSM=,PREINIT=DC,RGN=512K,SOUT=A,
// SYS2=,ALTID=
//*,APARM=,LOCKMAX=
//*
//G EXEC PGM=DFSRRC00,REGION=&RGN,
// PARM=(BMP,&MBR,&PSB,&IN,&OUT,
// &OPT&SPIE&TEST&DIRCA,&PRLD,
// &STIMER,&CKPTID,&PARDLI,&CPUTIME,
// &NBA,&OBA,&IMSID,&AGN,&SSM,
// &PREINIT,&ALTID)
//* '&APARM',&LOCKMAX)
//STEPLIB DD DSN=IMS910.&SYS2.SDFSRESL,DISP=SHR
// DD DSN=IMS910.&SYS2.PGMLIB,DISP=SHR
//PROCLIB DD DSN=IMS910.&SYS2.PROCLIB,DISP=SHR
//IMS DD DSN=IMS910.&SYS2.PSBLIB,DISP=SHR
// DD DSN=IMS910.&SYS2.DBDLIB,DISP=SHR
// DD DSN=IMS910.&SYS2.ACBLIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//IMSERR DD SYSOUT=*
//SYSUDUMP DD SYSOUT=&SOUT,
// DCB=(LRECL=121,RECFM=VBA,BLKSIZE=3129),
// SPACE=(125,(2500,100),RLSE,,ROUND)

Sorry for asking ur valuable time.
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 05, 2007 6:16 pm
Reply with quote

I see you prepared jcl for BMP. Are you going to use online databases? If not use the one I have given for DLI.
Back to top
View user's profile Send private message
abhilash g s

New User


Joined: 27 Apr 2007
Posts: 37
Location: bangalore

PostPosted: Wed Dec 05, 2007 6:20 pm
Reply with quote

Hi,

I am using Online databases only.
Is the jcl fine srihari, for the program(PL/I-IMS) i have written??
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 05, 2007 6:59 pm
Reply with quote

Yes it seems to be fine.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 05, 2007 7:20 pm
Reply with quote

I see a lot of misunderstandings around here...
let' s straighten things out a little bit

There is NO such a thing as a cobol-ims compiler nor a PL/i-ims compiler

for IMS related ( TRADITIONAL ) programming the only interface is
thru CBLTDLI for cobol an/or PLITDLI for pl/i osr ASMTDLI for assembler

the relevant IMS operations are carried by calling these interface subroutines
with the appropriate parameter list

NOR COBOL NOR PL/I NOR ASSEMBLER are aware of IMS in this environment

For the newer approach to IMS programming "EXEC" interface
still COBOL and PL/I and ASSEMBLER compilers are not involved

The appropriate PREPROCESSOR will be invoked to transform the "EXEC"
syntax in the appropriate control blocks layout ad calls to the relevant interface stubs

exactly like what happens for DB2 and CICS.... there is
NO DB2-cobol compiler, NO CICS-cobol compiler,
NO DB2-pli compiler, NO CICS-pli compiler,
NO DB2-assembler compiler, NO CICS-assembler compiler,
JUST PRECOMPILER or more correctly PREPROCESSORS
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 05, 2007 10:20 pm
Reply with quote

Hello,

To learn what is the correct jcl for use on your system, you should talk with your dbas or system support people. They can show you what jcl/proc(s) should be used on your system.

It should all be standard.
Back to top
View user's profile Send private message
babai043
Currently Banned

New User


Joined: 19 Dec 2007
Posts: 19
Location: chennai

PostPosted: Wed Dec 19, 2007 4:41 pm
Reply with quote

hi,

cobol-ims compiler is IGYCRCTL
The pl1/ims compiler is IEL1AA and the link-edit is by IEWL

Regards,
Srinivas Jala
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Dec 19, 2007 10:36 pm
Reply with quote

Quote:
For the newer approach to IMS programming "EXEC" interface
still COBOL ... compilers are not involved

The appropriate PREPROCESSOR will be invoked to transform the "EXEC"
syntax in the appropriate control blocks layout ad calls to the relevant interface stubs

exactly like what happens for DB2 and CICS

What version of IMS allows this?
Back to top
View user's profile Send private message
gane03

New User


Joined: 13 Dec 2007
Posts: 2
Location: chennai

PostPosted: Wed Dec 19, 2007 11:07 pm
Reply with quote

Hi,

what is PROC = GOTP?, Can you explin me?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Dec 19, 2007 11:17 pm
Reply with quote

Hello gane03 and welcome to the forums,

Quote:
what is PROC = GOTP?
Is this question related to this topic (the ims/pli compiler question)?

If this is a new question, it should have a new topic.

Please advise.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Dec 20, 2007 3:01 am
Reply with quote

After compling the PL/1 program don't forget to include IMS in you final link.........

Quote:
For the linkstep don't forget these:

Code:

//LKED.SYSIN DD *
INCLUDE IMS(DFSLI000)
ENTRY CEESTART
NAME progname(R)



_________________
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top