|
>From the RPG/400 manual: Input specification -> Data Structure definition Positions 44-47 (Data Structure Occurrences) Entry Explanation Blank This is not a multiple-occurrence data structure. 1-9999 The number (right-adjusted) indicating the number of occurrences of a multiple-occurrence data structure. These positions must be blank if the data structure is the program status data structure (indicated by an S in position 18), a file information data structure (INFDS), or a data area data structure. HTH, Rick > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of simafrog > Sent: Wednesday, February 18, 2004 8:11 AM > To: RPG programming on the AS400 / iSeries > Subject: Multi Occurance Data Structures > > > A Multi Occurance Data Structure is needed for the following. > > SALES HISTORY FILE BY CUSTOMER > 1. Company # > 2. Item # > 3. Cent > 4. Yr > 5. Packed field 48 contains 12 months of # of pieces sold > (each month) > > Need to Read this entire file and put into a multi occurrence > Data Structure that will have the Company, YR and each 12 > months of pieces sold (#5). > > Not sure how to do this in RPG 3, (THERE is no "D" spec here). > Thanks, Rob > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) > mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
As an Amazon Associate we earn from qualifying purchases.
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.