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 file information data structure?
How to call one program from another program in RPG? please help me with the code
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
can you debug ile rpg program using isdb?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
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
What is a record lock error?
how does the rpg element work?
what is *place and *auto keyword in prtf ?plz explain
what is the procedure and explain about real time scenario.
how do I preserve and clean the array?
How Chain operation copies the record's data to the input buffer for the program?
When it is desirable to describe files Internally?
How to handle duplicate error handling in RPG?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?