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 to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what is an online rpg?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
What is file identifier where we can use?
can I touch the array during treatments?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is data area and how it is used in rpg program ?
what was the robotech rpg?
how can you display specific subfile page on the screen in unequal subfile?
what is the necessary keyword needed to scroll subfile records?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
What is difference between bind by copy and bind by reference?
what is the use of sflnxtchg?
how do I declare a table or array in rpg iv?