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:
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.