|
Call Procedure XXXXXX? > -----Original Message----- > From: owner-cobol400-l@midrange.com > [mailto:owner-cobol400-l@midrange.com]On Behalf Of John Part > Sent: Tuesday, November 28, 2000 7:09 PM > To: tuohyp@attglobal.net; COBOL400-L@midrange.com > Subject: Calling Service Programs from ILE Cobol > > > Hi, > > Hopefully some one can help me, I have written two Cobol programs, one > is a function, which I made into a Service progam, and the second I > made a program. > > I created modules for both programs, the function I then used the > CRTSRVPGM, and the main progam I used CRTPGM, and entered the Service > program in as a bound service program. When I run the main progam, it > runs fine until it calls the function. > > I have tried CALL pgm, CALL LINKAGE TYPE IS PROGRAM pgm, but I keep > getting an error telling me that my main program can't find or resolve > to the function. > > Can someone please help me, should I be using something other than > CALL? or is there a special version of the call command? > > I have also tried creating a single program, binding in both modules > but still got the same error. > > The same question would apply to a CL program, is there a special way > of calling ILE functions? > > Any help would be greatly appreciated. > > Thanks, > > JP > 6 Woodstown Heights, > Knocklyon, Dublin 16 > Ireland. > Mobile = 087-6777208 > +--- > | This is the COBOL/400 Mailing List! > | To submit a new message, send your mail to COBOL400-L@midrange.com. > | To subscribe to this list send email to COBOL400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > COBOL400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +---END > +--- | This is the COBOL/400 Mailing List! | To submit a new message, send your mail to COBOL400-L@midrange.com. | To subscribe to this list send email to COBOL400-L-SUB@midrange.com. | To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---END
As an Amazon Associate we earn from qualifying purchases.
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.