I believe you are right.

That's where my brain flatulence kicks in, and is why I am looking for an example.

I can't figure out the d-spec for the IWS wizard's needed service program's out-parm.  Arrays have dim(), which is OK for elements like states and gender but I was hoping to avoid the arrays for the unknown thousands of rows of field data.


On 3/12/2019 7:09 PM, Pete Helgren wrote:
Make it an array of objects then.

"state":["aState":{},"bState":{}....]

Looks like gender could be the same

"gender":["male":{}," female":{},...]

That eliminates a few names with the values being objects containing other values....not familiar with the source so I don't know how practical the approach would be.

Or, maybe I am still missing something....

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek  IBM_i_Geek

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.