Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

1311


What are the types of identifiers?

1023


What is difference between bind by copy and bind by reference?

2480


are there any useful c runtime apis that I can call from rpg iv?

1168


how can I tell when to replace the array?

1219


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2641


is this a rpg channel?

1173


how do I preserve and clean the array?

1153


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.

1228


what is the rpg system?

1282


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2524


how do I declare a table or array in rpg iv?

1183


How would display prime numbers using CL program?

6328


what is file information data structure?

2209


How to call one program from another program in RPG? please help me with the code

1734