Reputation: 1
A non-ILE Cobol program is calling and passing parameters to an RPGLE program. The Cobol passes a non-sorted area to RPG, RPG sorts that area with SORTA and returns the sorting area back to the Cobol.
RPGLE code:
Upvotes: 0
Views: 386
Reputation: 3674
Yes, it's possible to call an ILE RPG program from any COBOL program.
You can pass up to 255 parameters on a program call.
There are no compilation restrictions. Compile both programs normally.
Upvotes: 2