|
you can alloc upto 16meg of contiguous space in RPG and use a pointer based character field to step thru the 2mb xml string. For scanning the string you can use a combination of the C runtime scan functions and your own ile procedures. -Steve -----Original Message----- From: Shailesh_Udashi [mailto:Shailesh_Udashi@xxxxxxxxxx] Sent: Tuesday, February 06, 2007 1:37 AM To: RPG programming on the AS400 / iSeries Subject: RPGLE Max Field length issue..... Hi all, We are facing an issue of field size AS400. We are expected to process an incoming message of 2mb size (XML string) on AS400. My understanding is that the max field length can be 32767. Then how do we receive a value longer than this in RPG? Appreciate your help with this issue. Regards, S. S. Udashi DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
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.