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?
is this a rpg channel?
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?
what is a rpg?
what is the procedure and explain about real time scenario.
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
How to handle duplicate error handling in RPG?
are there any useful c runtime apis that I can call from rpg iv?
what is the use of sflnxtchg?
How to select highest score of each subject or how to select highest income of every month?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
how do I declare a table or array in rpg iv?
what is data area and how it is used in rpg program ?