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 |
difference betwen keywords and opcodes
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
What is the Record Address file. How can we use it in RPG program?
can anybody explain significance of *loval setll with example code????
ESCAPE message sent by child program can be handled by parent program using which keyword?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
When it is desirable to describe files Internally?
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me