IBM As400e 940 Server User Manual


 
Appendix E. Considerations and Solutions
See the AS/400 Homepage, AS/400 Information Center, or AS/400 Technical
Studio for further information regarding your concerns.
http://www.as400.ibm.com
http://www.as400.ibm.com/infocntr/
http://www.as400.ibm.com/tstudio/
IBM HTTP Server for AS/400
When migrating your AS/400 system from V3R7 to V4R2, some existing common
gateway interface, CGI programs may not function correctly. The CGI interface in
V4R2 was changed to improve performance.
What was the change?
The AS/400 runtime environment now allows the IBM HTTP Server for AS/400 to
put into effect byte streams for CGI standard in and standard out.
Why was the change made?
Customer requirements caused this change to remove the line length limitations
on, (standard in and standard out).
What problems were detected or flagged?
1. Programs that call QtmhRdStdin multiple times to read the standard in data
are incorrect, and this does not work.
2. All programs that read from (standard in), (QtmhRdSdtin) need to check the
Content-Length environment variable to determine the number of bytes to read.
Programs that do not use the Content-Length environment variable and read
more than the Content-Length will not work.
Why was the change made?
Customer requirements to remove the 250 byte limit on standard in and standard
out, motivated the change.
When was the change made?
The change is available via the following PTFs:
v V4R1 - 5769SS1 SF46810
v 5769TC1 SF47332
v V4R2 - 5769TC1 SF46558
What should the customer do?
The customer should use the Web Programming Guide to ensure that the programs
meet standard guidelines.
© Copyright IBM Corp. 1997, 2000 51