I have been having a little difficulty running the cobol CALL statement
in a Cobol CGI program. If the statements are not used, the program
compiles and works just fine. After adding the statements, the program
errors out without giving me a good reason. Only after running Create
Module and then issuing the command:
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.
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?
Diane
This mailing list archive is Copyright 1997-2026 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.