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
how do I preserve and clean the array?
How to write record if no field or the field are different in physical file in rpgle ?
how do I declare a minor?
how can I tell when to replace the array?
When it is desirable to describe files Internally?
How to declare the pull button in AS/400..
what is the rpg system?
what is data area and how it is used in rpg program ?
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 you debug ile rpg program using isdb?
How can we override a file during runtime in rpg?
What is file identifier where we can use?
How Chain operation copies the record's data to the input buffer for the program?
what are the key words you must use when using a subfile?
how does the rpg element work?