|
Bob,
Made the corrections but I am still getting the exact same errors as
before.....My code now looks like this:
H BNDDIR('CGILIB')
/INCLUDE XTOOLS/QCPYSRC,CGILIB
DFNAME S 10A
DSZHEADER C 'Content-type: text/html\n\n'
DSZHTML S 1000A VARYING
DNCOUNT S 10I 0
C callp CGIINIT()
C eval SZHTML = '<HTML><HEAD><TITLE></TITLE>' +
C '</HEAD><BODY>Hello World!</BODY></HTML>'
C
C EVAL NCOUNT = cgiStdout(SZHEADER)
C EVAL NCOUNT = cgiStdout(SZHTML)
C EVAL *INLR = *ON
C RETURN
Same errors when I try to run it from a browser though....
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.