65535 is the max limit in V5R4 for the size of a qualified data structure
-- it is truly inadequate. I hit it all the time since my rpg application
is sending several rows of structured data. A good example is an order
inquiry structure which may contain other structures which in turn may
contain other structures. The total size of these structures is limited to
64K. To get around it I typically separate the repeated rows into a
structure by itself and let the Java application combine them into a single
xml return envelope.

CustomerDs DS Qualified
Number 10A
Name 20A total size 30


ItemDS DS Qualified
Status 10A
Type 10A
Quantity 3 0Z
Description 80A
DateOrdered 10L total size 113

addressDS DS Qualified
Street 32A
State 2A
City 20A
Zip 5A total size 59

CarrierDS DS Qualified
Carrier 30A
Charges 7.2Z
Confirmation 30A total size 67

OrderDS DS Qualified
Customer likeDS(customerDS) 30
Shiped likedS(addressDS) 59
Carrier likeDS(CarrierDS) 67
items likeDs(itemDS) dim(50) 5650

OrdersDs DS Qualified
customerNumber 10A const
order likeDS(OrderDS) dim(12) Will not compile - total
size 69672

In the above example my RPG application will take the customer number and
return all the orders back for that customer using a single OrdersDS
structure.

It is rumored that In V6 the limit has been increased to 16MB.


Regards
Faizulla Khan
Information Services
Grand Circle Travels
617-346-6058




"Aaron Bartell"
<albartell@gmail.
com> To
Sent by: "'Websphere Development Studio
wdsci-l-bounces@m Client for iSeries'"
idrange.com <wdsci-l@xxxxxxxxxxxx>
cc

01/07/2008 01:14 Subject
PM Re: [WDSCI-L] Web Services wizard
and SRVPGM prototypes.

Please respond to
Websphere
Development
Studio Client for
iSeries
<wdsci-l@midrange
.com>






What is the scenario for the data that is potentially over 65535? That
might help us better assist you. I have found 65535 for a single element
or
attribute value is plenty 99% of the time.

Aaron Bartell
http://mowyourlawn.com

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On
Behalf Of i5
Sent: Monday, January 07, 2008 11:24 AM
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] Web Services wizard and SRVPGM prototypes.

"
I'm testing the Web Service wizard to generate services from a service
program, it's working fine but what if one of the parameters I need to
receve (or send) is longer then 65535?

Thanks in advance

MarcoF
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

--
This is the Websphere Development Studio Client for iSeries (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.