Assuming you're asking about RPG, can't you just define you I/O data structure to contain an array?
-----Original Message-----
From: Alan Shore [mailto:ashore@xxxxxxxx]
Sent: Tuesday, June 12, 2018 12:33 PM
To: midrange-l@xxxxxxxxxxxx
Subject: File having an array using new free form
Hi everyone
Before I forget - we are on V7r1
Here is my situation - hope that it makes sense
I have defined a file where the last 32 fields on the record are all the same size Fields 1 through 31 represent the day of the month, with field 32 being the total of fields 1 through 31
How can I define these fields within my program (using new free-form) so that these 32 fields are an array That way, I can use the day of the month to determine which occurrence I need to deal with
Like I said - I hope my question makes sense
As always - all answers gratefully accepted
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.