Thanks, I found it under 'Performing Static Procedure calls using CALL literal'.  Now it's working!


Mvh.

Geir




Finucci Domenico <Domenico.Finucci@fiditalia.it>
Sent by: owner-cobol400-l@midrange.com

29.06.01 13:56
Please respond to COBOL400-L

       
        To:        "'COBOL400-L@midrange.com'" <COBOL400-L@midrange.com>
        cc:        
        Subject:        R: COBOL ILE




Take a look at ILE Manual: CALL  ......PROCEDURE
 
Sincerely
 

Domenico Finucci
Fiditalia , Milano, 02- 4301-2494
-----Messaggio originale-----
Da: geir.kildal@entragroup.com  [mailto:geir.kildal@entragroup.com]
Inviato: venerd́ 29 giugno 2001  13.55
A: COBOL400-L@midrange.com
Oggetto: COBOL  ILE


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'




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