|
View previous topic :: View next topic
|
| Author |
Message |
ganga79
New User
Joined: 16 Nov 2005 Posts: 23
|
|
|
|
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 |
|
 |
k_vikram07
New User
Joined: 23 Nov 2005 Posts: 35
|
|
|
|
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 |
|
 |
Suryanarayana.tadala
New User

Joined: 03 Nov 2005 Posts: 43 Location: St.Louis
|
|
|
|
| You can call by using reentrant from Cobol to PlI or else can call using a prog. |
|
| Back to top |
|
 |
|
|