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

if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2182


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1953


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

823


What is the difference between copybooks and subprocedures in as400?

800


How to declare the pull button in AS/400..

1867






When it is desirable to describe files Internally?

1178


Explain mdt?

656


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

474


is this a rpg channel?

666


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.

5381


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

2711


how does the rpg element work?

710


What is file identifier where we can use?

634


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

1282


what do you mean by an input subfile, what are the keywords required?

759