I want to declare the number of elements of an array
dynamically in RPGLE ? Is it possible? If yes, then how do
I do it ?

Answers were Sorted based on User's Feedback



I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes..

Answer / candy

%elem(array)

Is This Answer Correct ?    0 Yes 0 No

I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes..

Answer / mahalakshmi

Dim(no of elements) as the file level keyword . can anyone tell me if i am wrong.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


WHAT IS MEANT BY SIGNATURE VAILOTION ERROR

1 Answers   IBM,


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

0 Answers  


i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

11 Answers   IBM,


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

4 Answers   CSC,


how can we can we the data decimal error?how can we open such file in support

1 Answers  


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 ?

1 Answers   TCS,


without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


parameters cannot be passed in which one??

2 Answers   CTS,


Anybody know the difference of primary file and full procedural file

4 Answers  


steps involved in debugging and types of debugging modes?

1 Answers  


Categories