Q1.How to read the Array?
Q2.How to copy the content of one Array to another Array?

Answers were Sorted based on User's Feedback



Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?..

Answer / ravi shankar porwal

1.You can read array by Subscript or index like
Array(1) DSPLY
Array(2) DSPLY
in Calculation Prompt.

2.You can copy the content of one array to another array by
using MOVEA Opcode like
MOVEA Array1 Array2

Is This Answer Correct ?    29 Yes 0 No

Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?..

Answer / jayaprahu

you can read the array or copy the contents of one array to
another array by using the Subscrpt or index

Is This Answer Correct ?    6 Yes 3 No

Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?..

Answer / sreedhar reddy

LookUp is used to search an element in an Array. MoveA can be used to copy the contents of an Array.

Is This Answer Correct ?    1 Yes 0 No

Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?..

Answer / lmds123q44

Q1
LOKUP / LOOKUP too can be deployed to read an array

Q2
MOVE too could be used to move contents of an array
element by element to corresponding buckets in the target.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More RPG400 Interview Questions

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

2 Answers   HSBC,


what is program status data structure?

1 Answers   IBM,


what is the necessary command needed before OPNQRYF and why?

5 Answers  


in which journalling which attributes are necessary

2 Answers   CTS,


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

4 Answers   CTS,






Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 Answers  


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?

6 Answers   Mind Tree,


How to identify the object has compiled with the debug view as *source without using STRDBG?

6 Answers  


How do you code file / field renames in ILE RPG?

4 Answers   Accenture, IBM,


how does the rpg element work?

0 Answers   IBM,


can we perform CHAIN operation on Subfile record format....?

4 Answers  


Categories