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 ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

2 Answers   CGI, Wipro,


what is the difference between do while and do until?

0 Answers   IBM,


what is file identifier wher we can use

1 Answers   IBM,


how do I declare a minor?

0 Answers   IBM,


Can we possible to key with the date field?

1 Answers   IBM,


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

0 Answers  


how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

4 Answers   iSoft, Wipro,


what r drawbacks of OPM? Why do we go for ILE RPG?

1 Answers  


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


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

1 Answers  


I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.

1 Answers  


what is difference between DSPFD and DSPFFD?please give me real senario with good example?

1 Answers  


Categories