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

1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


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

2 Answers  


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,






what do you mean by SESSION/DEVOCE ERROR?

1 Answers   IBM,


Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC

2 Answers  


Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


check existence of one record without using chain or read?

1 Answers   IBM,


Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?

2 Answers   HSBC,


what is an online rpg?

0 Answers   IBM,


3 members in a databasefile .how to read records from all the members?????????

4 Answers   CTS,


Categories