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

are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

2 Answers   IBM,


Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?

6 Answers   CSC,


When will DUMP & DEBUG be ignored?

3 Answers   IBM,


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

0 Answers  






I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


How to write record if no field or the field are different in physical file in rpgle ?

0 Answers  


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


If I have a file with 5 record and that file has 2 Key field and I want to read the unique record of the file then how can we achieve it?

1 Answers  


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

0 Answers  


How can we override a file during runtime in rpg?

0 Answers  


How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,


Categories