How to declare the dynamic(run time) array in rpgle?
can you please give example
Answers were Sorted based on User's Feedback
Answer / royal
Dmonth S 5s 0 DIM(5)
DI S 2p 0 inz(1)
c dow i <= 10
c* eval month(i) = i
c month(i) dsply
c eval i = i + 1
c enddo
/FREE
*INLR = *ON ;
/END-FREE
this answer is not correct please give me correct code
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / 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 |
When it is desirable to describe files Internally?
what is plat file?
what is the necessary keyword needed to scroll subfile records?
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)
Write a program to display prime numbers between 1 to 100 using RPGLE.
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?
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
What is the purpose of Panel Groups?
When a object will be locked & when a record will be locked? Plz explain.
How we will read call stack?
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?