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
are there any useful c runtime apis that I can call from rpg iv?
how do you use commitment control in rpg?
What is the difference between copybooks and subprocedures in as400?
can you debug ile rpg program using isdb?
How Chain operation copies the record's data to the input buffer for the program?
can I touch the array during treatments?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
how can I tell when to replace the array?
What is difference between bind by copy and bind by reference?
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.
what is a rpg?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
What is the difference between iter and do?