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 |
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
list down and describe the sub systems vailable
what is a rpg?
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
can i use UPDDTA command in rpg program in which contains a file
Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.