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 |
i'm working on progA , in that program i want to see the userids of the users who work on this program?
What are the commands that can be executed in CLP but not in RPG? Why?
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
What is the purpose of FRCDTA keyword?
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
How can we receive values from a called procedure in RPG?
Errors in Sql query will be in which state?
Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?
How Chain operation copies the record's data to the input buffer for the program?
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
How to handle duplicate error handling in RPG?
what do you mean by an input subfile, what are the keywords required?