What is Multi Occurrence Data Structure(MODS)?

Answer Posted / gagan44

Multiple occuerence data structure is a data structure in which multiple oocurence of the data are defined .
It is similiar to a 2-D array.
For Eg: a 2-D array is defined as:
ara1 ds dim( 99 ) qualified
d ara2 10a dim( 99 )
d ara3 10i 0 dim( 99 )

If Multioccurence data structure is defined in same way then it would look like this:
DS1 ds Occurs( 99 )
d FLD2 10a dim( 99 )
d FLD3 10i 0 dim( 99 )

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can I touch the array during treatments?

758


How can we know running job is batch or interactive?

657


what is *place and *auto keyword in prtf ?plz explain

2726


what is program status data structure?

1389


How can we override a file during runtime in rpg?

689






Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

717


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5413


How to call one program from another program in RPG? please help me with the code

1260


What is the purpose of record level identifier?

729


what is an online rpg?

729


is this a rpg channel?

681


How to select highest score of each subject or how to select highest income of every month?

1296


what was the robotech rpg?

685


What is the difference between copybooks and subprocedures in as400?

810


what is the rpg system?

668