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 / 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 |
How would display prime numbers using CL program?
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 can you display specific subfile page on the screen in unequal subfile?
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
How do you find whether a record is locked or not?
What is the Record Address file. How can we use it in RPG program?
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
How to print Superscript / Subscript from RPG400
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
How to find d key field of a pf that doesn’t have source physical file?
in which journalling which attributes are necessary??/