I know whole thing ab't Arrays related to declaration..can
anyone tell me what exactly use of array or anyone faced a
situation where he found use of array must....



I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of..

Answer / rajesh

Yes, array will makes things easier when you need to refer few values which might not necessarily be taken from a physical file. Arrays are like single variable that can hold many values and can be referred using index of that variable.

It is a big topic, I suggest you to read some reference mateirals.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More RPG400 Interview Questions

Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20

5 Answers  


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

0 Answers  


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

0 Answers  


We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?

5 Answers   Hexaware,


1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?

5 Answers   HCL,






Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?

1 Answers  


Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?

2 Answers   Cap Gemini,


what is kids-rpg?

0 Answers   IBM,


what is difference between DSPFD and DSPFFD?please give me real senario with good example?

1 Answers  


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

1 Answers  


we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers

8 Answers   Cap Gemini, IBM,


How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


Categories