|
I am going to ask the dumb question. What is a MODS? It sounds like it is a Multiple Occurrence Data Structure? But since I have used one only once I am not sure if that is the correct acronym. Sorry if this question was answered earlier in the thread. Aaron Bartell -----Original Message----- From: Jon Paris [mailto:Jon.Paris@Partner400.com] Sent: Wednesday, April 10, 2002 1:51 PM To: rpg400-l@midrange.com Subject: Separation of Presentation, BL, and I/O Tiers >> I've seen several posters saying they could, but have seen no examples of that, yet. MODS can be based (and therefore dynamically sized) just as arrays can. The limitation (as for an array) is that you must define the number of occurrences as the largest number you will ever need. I like the technique because it has the added advantage that you can have multiple definitions of the DS and map them to individual occurrences of the MODS so you simply directly compare multiple occurrences. You can also use things like the C qsort and bsearch routines to sort and search the MODS. Jon Paris Partner400 _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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.