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
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 |
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 |
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 |
Can we possible to key with the date field?
Maximum how many files declare in rpgle
how can i retrieve the field name from display file at run time? Devendra Singh Tomar
What is the name of default out queue when user logs inn to syatem with valid profile?
how do I preserve and clean the array?
When it is desirable to describe files Internally?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
Can we journel logical file and access path? Can we use commitment control for non-join L.F?
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?
How to handle duplicate error handling in RPG?