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


Please Help Members By Posting Answers For Below Questions

how do I declare a minor?

905


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2747


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?

723


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1520


What is the difference between copybooks and subprocedures in as400?

1089


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

1030


What is ment by record level identifier?

867


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

908


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4761


What is the difference between iter and do?

938


What is a record lock error?

1499


How would display prime numbers using CL program?

5964


can I touch the array during treatments?

949


what is *place and *auto keyword in prtf ?plz explain

2930


can you debug ile rpg program using isdb?

944