I had that issue at the outset Anshul but moved past that.

As I said in another response the values are now correctly set but I am still not getting valid output.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 15, 2019, at 6:22 PM, anshul narang <narang.anshul@xxxxxxxxx> wrote:

Hi all

I have seen this issue with my current webservices where I am returning the
data structure in web services. Here is my 2 cents.
Please initialize your data structure before movement of data .

Let me know if it works .

Thanks
Anshul

On Mon, Jul 15, 2019 at 6:11 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

Both done.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 15, 2019, at 5:18 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

I realize that. There are two steps that are added. One is adding the
length parm, the other is populating the length parm.

This is what I do:

d recordCount 10i 0
d dataOut likeds(wDataOutDS) dim(25000)
...
// populate the array() with data.
... steps to fill datastructure wDataOutDS ...
recordCount += 1;
dataOut(recordCount) = wDataOutDS;



On 7/15/2019 3:47 PM, Jon Paris wrote:
No Booth - the addition of that feature_caused_ the grief.

Re-read what I said about "added an extra parameter" - it started
failing only_after_ I added the length.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


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

--

Thank You

Anshul Narang
715-921-4968
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://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.