[英]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.非 ILE Cobol 程序正在调用 RPGLE 程序并将参数传递给该程序。 The Cobol passes a non-sorted area to RPG, RPG sorts that area with SORTA and returns the sorting area back to the Cobol.
Cobol 将未排序的区域传递给 RPG,RPG 使用 SORTA 对该区域进行排序,并将排序区域返回给 Cobol。
RPGLE code: RPGLE代码:
Yes, it's possible to call an ILE RPG program from any COBOL program.是的,可以从任何 COBOL 程序调用 ILE RPG 程序。
You can pass up to 255 parameters on a program call.您最多可以在程序调用中传递 255 个参数。
There are no compilation restrictions.没有编译限制。 Compile both programs normally.
正常编译这两个程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.