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.








As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.