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
What is ment by record level identifier?
what is data area and how it is used in rpg program ?
how does the rpg element work?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
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?
When it is desirable to describe files Internally?
What is difference between bind by copy and bind by reference?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
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
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
how can I tell when to replace the array?
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...
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.