wat is the difference between array and multiple occurence
data structure?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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?
what is the difference between do while and do until?
what is file identifier wher we can use
how do I declare a minor?
Can we possible to key with the date field?
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?
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
what r drawbacks of OPM? Why do we go for ILE RPG?
Can more than one subfile record be displayed on one line?
How to read a record from file where there is multiple record occurrence is available?
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.
what is difference between DSPFD and DSPFFD?please give me real senario with good example?