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 |
1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq C QTY IFLT *ZERO C QTY MULT -1 QTY C ENDIF a) %ABS b) %TRIM c) %TRIMS d) %UNS
Difference between RESET and CLEAR
can anyone say,what is the use of operation extended H/N/P?
Can someone tell me tell me what is meant by message wait...?
How Commitment and Roll back control is used in as400, explain with real time senario ???
1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?
how do I do concatenation in rpg iv, like I do in cl?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How can we receive values from a called procedure in RPG?