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

A rpg or clp command to find if the file field is defined as a character or numeric field.

1 Answers   IBM,


which program rpg or cl is efficent to update a transaction onto a database file and why ?

0 Answers   IBM,


can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?

2 Answers   TCS,


1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,


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 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.

3 Answers   iGate, Wipro,


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,


Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 Answers  


what r drawbacks of OPM? Why do we go for ILE RPG?

1 Answers  


How do I link an existing logical file to it's Physical File without recompiling?

2 Answers  


Categories