Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Diff between PL/I and COBOL for IMS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
sudhaaa

New User


Joined: 24 Mar 2005
Posts: 51

PostPosted: Thu Mar 24, 2005 4:50 pm    Post subject: Diff between PL/I and COBOL for IMS
Reply with quote

Whats the diff between COBOL-IMS and PLI-IMS.

I know cobol and PL/I are different programming languages.I know how to code DLI calls in COBOL. but how can I achieve this in PL/I

Thanks in advance
Back to top
View user's profile Send private message

knd_r
Currently Banned

New User


Joined: 18 Mar 2005
Posts: 48

PostPosted: Mon Apr 25, 2005 6:01 pm    Post subject:
Reply with quote

dlI calls in pl/I:

plItdlI: parm_count,
function code,
pcb_name,
seg_io,
ssa1,
.......,
ssa15;

here parm count indicates the number of parameters using in the call.
function code represent the type of call (gu, ghu like that),
pcb_name indicates the name of pcb name on which dlI call is issued,
seg_io - segment input output area,
ssa - segment search area.

using cobol:

call cbltdlI using function_code,
-----,
------,
------;

here parm_count is not necessary in cobol.


regards,
k. s. reddy.
Back to top
View user's profile Send private message
sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Wed Jun 01, 2005 3:04 pm    Post subject: Re: Diff between PL/I and COBOL for IMS
Reply with quote

Hi sudhaaa,

You are aware of how to code DLI calls in COBOL right in the similar way to code in PL/I with small changes

Program Changes
1.Use PLITDLI instead of CBLTDLI
2.Need to Use ParmCount while it is option in COBOL.
3.A lot of Built-in Functions are available in PL/I and not in COBOL

No change in PROC's and JCLS.
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:45 pm    Post subject:
Reply with quote

Hi Sudheer and KS,

Thanks for your replies. I hope you well known about Linkage section in COBOL.Here in PL/I, how can achieve this.
This is not a IMS question, but I'm posting here because in IMS using LINKAGE SECTION is very common(for PCB-MASK). So, How can I achieve this.

Thanks in advance.

Regards,
Sudhaaa.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us