Q1.How to read the Array?
Q2.How to copy the content of one Array to another Array?
Answer Posted / 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 |
Post New Answer View All Answers
is this a rpg channel?
How can we know running job is batch or interactive?
How to select highest score of each subject or how to select highest income of every month?
What is a record lock error?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
What is ment by record level identifier?
What is the difference between copybooks and subprocedures in as400?
how do you use commitment control in rpg?
how can you display specific subfile page on the screen in unequal subfile?
What is the difference between iter and do?
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?
How to write record if no field or the field are different in physical file in rpgle ?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?