Can a run time array be declare like below with no
specified number of elements ? Is it possible ?
DFLD_ARRAY 7 DIM() INZ(*blanks)
What does this mean ? Does this mean that the number of
array elements will be dynamically declared during run
time ?
Answer Posted / jeganath
No, its not possible to declare run time array in rpgle,
we can use %Alloc to allocate memory to elements, but sill
the no of element for an arry will not changed in run time
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
what is the use of sflnxtchg?
What is the purpose of record level identifier?
is this a rpg channel?
What are the types of identifiers?
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?
How many program bind in one module....
How to call one program from another program in RPG? please help me with the code
what is kids-rpg?
How to write record if no field or the field are different in physical file in rpgle ?
what is an online rpg?
what was the robotech rpg?
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.
how do you use commitment control in rpg?
what is the procedure and explain about real time scenario.
How can we override a file during runtime in rpg?