Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us