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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a record lock error?

1259


what is a rpg?

696


Explain mdt?

659


how can I tell when to replace the array?

692


How many program bind in one module....

2115






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

824


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

611


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1885


what is the rpg system?

660


is this a rpg channel?

669


what do you mean by an input subfile, what are the keywords required?

764


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

735


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

760


do you use message subfiles? What are the necessary keywords required coding a message subfile?

681


how does the rpg element work?

711