Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Multi Occurrence Data Structure(MODS)?



What is Multi Occurrence Data Structure(MODS)?..

Answer / 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

More RPG400 Interview Questions

How do I link an existing logical file to it's Physical File without recompiling?

2 Answers  


Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?

2 Answers   TCS,


I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  


I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  


Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC

2 Answers  


how do I declare a table or array in rpg iv?

0 Answers   IBM,


What is I90(Insure 90)?

1 Answers  


difference betwen keywords and opcodes

3 Answers  


How do you code file / field renames in ILE RPG?

4 Answers   Accenture, IBM,


what is post opcode do

1 Answers   CTS,


What is the OPEN and CLOSE accesspath?

3 Answers   CTS,


How would display prime numbers using CL program?

0 Answers   Hexaware,


Categories