Greetings,
I am developing a CGI program in COBOL that must receive multiple
fields from the web page. I used the api "QZHBGETVAR" to get the
fields, as follows:
77 item-number pic x(15).
77 component-item pic x(15).
.
.
.
move "pitnbr" to var-name of CGIVarVal-parms.
call "QZHBGETVAR" using
by content var-name of CGIVarVal-parms
returning into item-number
end-call.
move "citnbr" to var-name of CGIVarVal-parms.
call "QZHBGETVAR" using
by content var-name of CGIVarVal-parms
returning into component-item
end-call.
I could not get this to compile. The compiler would note that
the "returning into" field in the first call to "QZHBGETVAR" did not
have the correct type or length. (Error LNC2756). The second call
to "QZHBGETVAR" did not have an error. The only way I have been able
to get it to work is to declare a general purpose field and use this
on all calls to "QZHBGETVAR", then move the contents of the general
purpose field to another field. Is this the only to get "QZHBGETVAR"
to work?
Best Regards,
Dean Gordonwood
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/wbFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Easy400Group/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/