How to declare the dynamic(run time) array in rpgle?
can you please give example
Answer Posted / karthik
Dary1 s dim(5)
Dn s 2p 0 inz(1)
c dow(n<=10)
c ary1(n) dsply
c eval n=n+1
c enddo
c seton lr
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
can you debug ile rpg program using isdb?
how can I tell when to replace the array?
what is program status data structure?
Explain mdt?
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...........
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.
how do I declare a table or array in rpg iv?
what is kids-rpg?
What is the purpose of record level identifier?
What is difference between bind by copy and bind by reference?
how can you display specific subfile page on the screen in unequal subfile?
what is data area and how it is used in rpg program ?
how do I play {insert rpg system here}?
How would display prime numbers using CL program?
How to select highest score of each subject or how to select highest income of every month?