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 SETON RT & RETURN?
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
What is Multi Occurrence Data Structure(MODS)?
how do u track msg in cl pgm???
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
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?.
can i use unique key in LF
How to write record if no field or the field are different in physical file in rpgle ?
How to print Superscript / Subscript from RPG400
Difference between creating a report using Printer file and WRKQRY(Query Report) ?
How to read a record from file where there is multiple record occurrence is available?