Calling COBOL load from C++

C/C++ and Java for MVS & zOS.
Previous topicNext topic

Topic Author
ubabnahom
New Member
Posts: 2
Joined: Wed Apr 06, 2016 7:56 am

Calling COBOL load from C++

Post by ubabnahom » Wed Apr 06, 2016 8:09 am

Hello  Guys,
Could you please advise on calling a COBOL load from C++ (in z/OS). Does it work? do we any option for this. 
I am having a requirement on calling generic COBOL module which converts JSON to TEXT from C++.  
Thanks,



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1338
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Calling COBOL load from C++

Post by Robert Sample » Wed Apr 06, 2016 8:33 am

The LE bookshelf has a manual about writing interlanguage calls.  Start with it.



User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1338
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Calling COBOL load from C++

Post by Robert Sample » Wed Apr 06, 2016 9:16 am

I finally had a chance to check the manual.  It has an entire chapter on communicating between C++ and COBOL.




Topic Author
ubabnahom
New Member
Posts: 2
Joined: Wed Apr 06, 2016 7:56 am

Re: Calling COBOL load from C++

Post by ubabnahom » Wed Apr 06, 2016 11:07 am

Thank you Robert.. It really helps.



Previous topicNext topic

Return to “C, C++ and Java for Mainframes.”