Hello, somebody out there.

I have just started to experiment a little with ILE COBOL for AS/400.

I have two old OPM programs, A and B.  A is calling B.  B is opening files and does its job.  Because B is called very often from A, I want to convert the two programs into ILE modules and bind them together into one program to speed up the process.  Am I thinking right so far??

I have created two ILE-moduls from the old OPM-source, MA and MB.  I have used the command CRTPGM to create a program PA containig these two moduls.  I am able to start and debug program PA.  BUT when I come to where I call module(program) MB from MA, i get the message 'Cannot resolve to objekt MA....'.

I know that MB is not an executable objekt, but how do I then call it from wthin module MA??? There must be some very basic things I have misunderstood, I call MB by saying: ' CALL "MB" USING WS-PARAM'



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-2022 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.