简体   繁体   中英

AS400 - Passing and calling and RPGLE from a non-ILE Cobol program

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.

  1. Passing parameters between non-ILE Cobol to RPGLE - Is that possible?
  2. What are the constrains (size of parameters, number of parameters)?
  3. Any compilation restrictions?
  4. Any other tips are welcome:)

RPGLE code:

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM