Diane, sounds like you need to compile all three into *MODULEs, then
specify all three in the module list on the CRTPGM. That is, if you
truly want to do bound calls, which is what you've specified in the
COBOL by including the word "PROCEDURE". HTH!

> -----Original Message-----
> From: Diane Nott [mailto:dnott@xxxxxxxxxxxxx]

> CRTPGM PGM(DIANE/CGIREGSUMM) MODULE(DIANE/CGIREGSUMM) 
> BNDDIR(CGICBLDEV/TISRVPGM) ACTGRP(CGI) AUT(*USE)   
> 
> I get this error:                                        
> Definition not found for symbol 'REGSUMM1'.                        
> Definition not found for symbol 'REGSUMM2'.                        
> Program CGIREGSUMM not created.                               

> Regsumm1 and regsumm2 are 2 cobol programs with 2 parameters. The 
> command used in the main cgi program is:
> CALL PROCEDURE 'REGSUMM1' USING WS-YEAR-1 WS-TERM-1.
> CALL PROCEDURE 'REGSUMM2' USING WS-YEAR-2 WS-TERM-2.
> 
> I even tried using the Call statement the regular way without the 
> Procedure in the command. Any suggestions?

Then I would think you would have had different errors, because that
should also work.
NOTICE: This E-mail may contain confidential information. If you are not
the addressee or the intended recipient please do not read this E-mail
and please immediately delete this e-mail message and any attachments
from your workstation or network mail system. If you are the addressee
or the intended recipient and you save or print a copy of this E-mail,
please place it in an appropriate file, depending on whether
confidential information is contained in the message.



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.