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 |
what is *place and *auto keyword in prtf ?plz explain
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
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.
How Commitment and Roll back control is used in as400, explain with real time senario ???
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
what is EXCEPT command in rpg and use
If record-format name in an externally-described file has already been defined as a file-name.how to solve this?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
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
Why we cannot call a service program? If I add a PEP can i call the service program?