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
When it is desirable to describe files Internally?
how do I declare a minor?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
how does the rpg element work?
How to call one program from another program in RPG? please help me with the code
how do I play {insert rpg system here}?
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 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...
What is ment by record level identifier?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is the use of sflnxtchg?
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