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
 

 

How to call a PL/I subProgram from COBOL Main Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
ganga79

New User


Joined: 16 Nov 2005
Posts: 23

PostPosted: Fri Nov 25, 2005 10:02 am    Post subject: How to call a PL/I subProgram from COBOL Main Program
Reply with quote

HI,
1. MAIN PROGRAM IS COBOL,SUBPROGRAM IS PL/1.
HOW CAN I CALL PL/1 SUBPROGRAM.
2.MAINPROGRAM IS PL/1,SUBPROGRAM IS COBOL.
HOW CAN I CALL COBOL SUBPROGRAM BY USING PL/1.
THANKS
GANGA
Back to top
View user's profile Send private message

k_vikram07

New User


Joined: 23 Nov 2005
Posts: 35

PostPosted: Fri Nov 25, 2005 7:55 pm    Post subject: Re: How to call a PL/I subProgram from COBOL Main Program
Reply with quote

I think we can do by just calling the module passing the parameters as if they are of same language.

eg: calling pl1 pgm from Cobol pgm.

CALL PL1PGM using parm1, parm2

calling cobol pgm from Pl1 pgm

CALL CBLPGM(parm1, parm2);

Pls Correct me if I am wrong.

Thanks
Vik.
Back to top
View user's profile Send private message
Suryanarayana.tadala

New User


Joined: 03 Nov 2005
Posts: 43
Location: St.Louis

PostPosted: Mon Nov 28, 2005 9:08 pm    Post subject: Re: How to call a PL/I subProgram from COBOL Main Program
Reply with quote

You can call by using reentrant from Cobol to PlI or else can call using a prog.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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