|
According to the manual Webmasters Guide V4R2 You can no longer use QTHMRDSTIN without first call QtmhGetenv (Content_Length) to find out how many bytes there is available from stdin. Then You can use Qthmrdstin requesting that number of bytes, and it will probably work. Good Luck! // Stefan Tageson e-mail stefan.tageson@notes.sema.se mahi@hyd.mgsl.com on 98-06-22 06:10:03 Please respond to MIDRANGE-L@midrange.com To: MIDRANGE-L@midrange.com cc: (bcc: Stefan Tageson/MMX/Sema Group/SE) Subject: CGI programs failing after OS/400 upgrade from V4R1 to V4R2 We have an AS/400 as web server and we recently upgraded it from V4R1 to V4R2. When we were at V4R1 all the CGI programs used to work fine. After the upgrade none of them are working. When I tried to access CGI programs from the web browser, the respective CGI program is getting invoked but it is not recieving any data from the web browser. CGI programs were written in ILE RPG using QTMRDSTIN and QTMHWRSTOUT APIs to read/write date to/from stdin and stdout. QTMHRDSTIN API is returning *BLANKS, not the data sent by the web browser. Any solution??? Thanx in advance. Mahendra I Reddy +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.