× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Booth!  Nothing like a working example to get me moving in the right direction.  My current project won't have an array, but good to have as a model for the future, and easy to modify for my current scenario.

On 1/16/2019 10:13 PM, Booth Martin wrote:
This is what worked for me (wData_Length = number of filled elements)

     d USPresidents    pr
     d  wData_length                 10i 0
     d  Presidents                         likeds(*wUSPresDS*) dim(100)
     d options(*varsize)
     d  httpStatus                   10i 0
     d  httpHeaders                 100    dim(10)
     d wUSPRESPrecDS e ds extname(USPRESP) prefix(C_)
     d *wUSPresDS * ds
     d  Name                               like(C_USNAME)
     d  Born like(C_USBIRTH)
     d  Died like(C_USDEATH)
     d  BeganTerm                    10
     d  EndTerm                      10
     d  Party like(C_USPARTY)

On 1/17/2019 12:02 AM, Peter Dow wrote:
How does IWS know to use that structure? Do I define my single input parameter as like(ADDCASEInput)?


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.