Hi! I have been having progress in "printing" the Cobol report to the web. I am
having a few minor problems. My 2 input variables won't print to the web. The
1st variable does print but the second doesn't. I have using "Giovanni's demo"
as a template to my cobol program. This is part of the code:

perform Clean-tab thru z-Clean-tab.
      *
           compute v1 = 1
           move 'CGIINP01' to varnm(v1)
           move CGIINP01 to varval(v1)
           DISPLAY 'CGIINP01: ' CGIINP01
           call procedure 'TICHECKR' using varval(v1) varln(v1).

           compute v1 = v1 + 1
           move 'CGIINP02' to varnm(v1)
           move CGIINP02 to varval(v1)
           DISPLAY 'CGIINP02: ' CGIINP02
           call procedure 'TICHECKR' using varval(v1) varln(v1).

           Move CGIINP01 to WS-YEAR.
           Move CGIINP02 to WS-TERM.

Any suggestions would be helpful.
Diane



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.