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
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
how do I declare a table or array in rpg iv?
how can you display specific subfile page on the screen in unequal subfile?
how do I declare a minor?
How to write record if no field or the field are different in physical file in rpgle ?
How would display prime numbers using CL program?
Explain mdt?
What is the purpose of record level identifier?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
What is a record lock error?
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.
which program rpg or cl is efficent to update a transaction onto a database file and why ?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
what is program status data structure?
how do I preserve and clean the array?