I have a data structure that I need to get some information from:
PO120G          DS             4    OCCURS(4) 
 F1TLSM                 1      4              <-- I need this field

In debug if I do 'EVAL PO120G(1)'  I get data, if I do 'EVAL F1TLSM'. I
don't. How do I get the data I want? I tried in my code to do the PO120G(1)
but I get the compiler error:  *RNF5064 20   7516 074100  An array index is
specified for name that is not an array. 

My code is:
7513 C                   Call      'CUCPO120'               
7514 C                   Parm                    Cmpny      
7515 C                   Parm                    F1MPRT     
7516 C                   Parm                    PO120G(1)  

How do I get the results I am expecting?


Mike Wills
iSeries Programmer
Taylor Corporation
mnwills@xxxxxxxxxxxxxx
(507) 386-3187
Fax: (507) 625-3002


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.