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 |
What you have to do in the display file when you are using message subfile?
What is the difference between inner join @ outer join
in rpg could u please tell me errors types and meanings like 3030 that ....
How to find d key field of a pf that doesn’t have source physical file?
What is difference between bind by copy and bind by reference?
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
what is the rpg system?
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
Difference between RESET and CLEAR
can anybody explain significance of *loval setll with example code????
two types of read performed in dataqueue?????
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm