pls anyone explain about compile time array,pre run time
array run time array

Answer Posted / sivakumar y

small correction about pre run time array:

The file used as input must be a sequential program
described file. DURING INITIALIZATION, BUT BEFORE ANY
INPUT, CALCULATION, OR OUTPUT OPERATIONS ARE PROCESSED the
array is loaded with initial values from the file. By
modifying this file, you can alter the array’s initial
values on the next call to the program, WITHOUT RECOMPILING
the program.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose I have a pf,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in pf?

637


Last statement of any rpg program is lr?

618


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

2131


What is FORMAT keyword and its use?

206


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

627






What is the interactive job? What is the batch job?

588


What is the purpose of the chain and setll and setgt?

592


What is the difference between access path and open data path?

596


How to read a pf in reverse(from last record to first) using cl?

603


How to index LF by relative record no (RRN)

2832


What is the interactive job?

581


What is the use of member in pf?

539


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

570


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

731


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

629