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 do you mean by an input subfile, what are the keywords required?

0 Answers   IBM,


Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?

6 Answers   HSBC,


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


how can we know running job is batch or intractive ? i need all the possibilites.........plz help me

3 Answers   HSBC, IBM,


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,






Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,


What you have to do in the display file when you are using message subfile?

1 Answers  


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

0 Answers  


what is program status data structure?

1 Answers   IBM,


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

3 Answers   IBM,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


what will happen two jobs have same name are submitted

5 Answers   CTS,


Categories