wat is the difference between array and multiple occurence
data structure?

Answers were Sorted based on User's Feedback



wat is the difference between array and multiple occurence data structure?..

Answer / swetha p rao

Multi occurance Data structure can hold different types of
data per record where Array can have only one data type.

we can read multi occurance DS using OCCUR and for arrays
we have to read based on index

Is This Answer Correct ?    22 Yes 3 No

wat is the difference between array and multiple occurence data structure?..

Answer / shantanu kumar dutta

As you know all Multiple occurance DS is a data
Structure,Means Collections of disimar data,It treat as an
Multi-dimension Array.

We read array By their Index possions, But Mul-Occr DS we
first set the possions by OCCUR Opcode and possion on
Factor1,
Then only we can read Mul-Occur DS.

Is This Answer Correct ?    10 Yes 2 No

wat is the difference between array and multiple occurence data structure?..

Answer / vinit

array is collection of similar data type where as multi
occurance ds can be combine..like number as well as char.

Is This Answer Correct ?    0 Yes 3 No

wat is the difference between array and multiple occurence data structure?..

Answer / shivaprasad.s

array is collection of similar data type where as multi
occurance ds can be combine....
eg:like number as well as char.
in array we can store any datatype but all the elements
must be of same type....
but in case of multiple occurance it may not be of same
elements...

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More RPG400 Interview Questions

what is the difference between SETON RT & RETURN?

5 Answers  


I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?

5 Answers   CitiGroup, Symphony,


can i use UPDDTA command in rpg program in which contains a file

1 Answers   TCS,


What is Multi Occurrence Data Structure(MODS)?

1 Answers   CTS,


how do u track msg in cl pgm???

1 Answers   CTS,


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

11 Answers   IBM,


can i use unique key in LF

3 Answers   TCS,


How to write record if no field or the field are different in physical file in rpgle ?

0 Answers  


How to print Superscript / Subscript from RPG400

1 Answers  


Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


Categories