× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.








Hello.
I send this once again, because I haven't solved it yet and I badly need a solution to this.
This question should have been under the RPG-section, but I bet you good guys know the answer, and I'm not connected to the RPG-mailing list.:

In an old RPGpgm, RPG1, I called a COBOLpgm, CBL1 with a PLIST  PLIS1 containing PARAM1, PARAM2 and PARAM3.  The Call was like this:
CALL 'CBL1' PLIS1(Standard OPM RPG, the parameters are bringing data into CBL1 and are receiving data back from CBL1).  PARAM1 - PARAM3 contains 30 -50 data elements each, and I dont want to reprogram it.

RPG1 is converted into RPGLE1, and CBL1 is converted into CBLLE1, and I intend to bind those modules together into one ILEpgm, RPGLE1.  I now need a  static call instead of the old dynamic CALL in RPGLE1 because I want to speed up the process.

If I try CALLB, and then create modules, and try the 'CRTPGM'-command reffering to modules RPGLE1 and CBLLE1,  I just get the message "Definition not found for symbol 'CBLLE1 in *MODULE object RPGLE1'" . From that I understand that CALLB can only be used for calling procedures inside the main RPGLE-code,( or other RPG-procedures??), so I have to use 'CALLP' instead.  But, having read the manuals, I can't see how I can use my old parameter definitions to bring data into the called program, and, this is crucial, to bring data back to the calling program.


Has anyone of you ever called an ILE-COBOL program from an ILE-RPG program bringing data into the called program, and receiving data back into the calling program?

Mvh.

Geir


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.