IBM SA41-5155-05 manual Appendix B. Considerations and Solutions, IBM Http Server for AS/400

Models: SA41-5155-05

1 66
Download 66 pages 31.68 Kb
Page 51
Image 51

Appendix B. Considerations and Solutions

See the AS/400 Homepage, AS/400 Information Center for further information regarding your concerns.

http://www.as400.ibm.com

http://www.as400.ibm.com/infocenter

http://www.ibm.com/eserver/iseries/infocenter

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:

vV4R1 - 5769SS1 SF46810

v5769TC1 SF47332

vV4R2 - 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, 2001

39

Page 51
Image 51
IBM SA41-5155-05 manual Appendix B. Considerations and Solutions, IBM Http Server for AS/400