× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes, a Java servlet would work perfect, but there isn't a lot of Java
knowledge in the shops that are going to be using this so I was hoping to
find an RPG solution.  I know, I know the right tool for the job. . . :-)
It's just that I have come so far with RPG being able to process XML(without
limitations) that to stop now would be crazy:-)


Aaron Bartell

-----Original Message-----
From: Patrick L Archibald [mailto:Patrick.Archibald@xxxxxxxxxxxxx]
Sent: Wednesday, September 10, 2003 4:20 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] QtmhRdStin and QzhbCgiParse Limitation


Aaron

Does it have to be RPG? Is a Java servlet out of the realm of possibilities?

Thanx, PLA


Bartell, Aaron L. (TC) wrote:

>I have a bit of a problem.  I am trying to read in large XML documents in
an
>eRPG program using QzhbCgiParse and/or QtmhRdStin and have found that they
>are limited to the maximum size a variable can be in RPG.  They don't allow
>you to do multiple reads as I had expected.
>
>Here is the documentation for QtmhRdStin and it states that only one read
>can be done.  I am assuming the same is true for QzhbCgiParse.
>http://publib.boulder.ibm.com/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/QBKANL03/4.
1
>3.12.2?SHELF=&DT=19960819152659
>
>Can anybody tell me what I can do to get around this and still use RPG?  Is
>it possible for the HTTP request to be passed off to a homegrown "Socket
>Server" so I could obtain a handle and read in the request until I have
>reached CONTENT_LENGTH?
>
>Thx,
>Aaron Bartell
>_______________________________________________
>This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
>To post a message email: WEB400@xxxxxxxxxxxx
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/mailman/listinfo/web400
>or email: WEB400-request@xxxxxxxxxxxx
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/web400.
>
>
>
>  
>


_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.