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

Answer Posted / narendra

Compile Time Array:-
Array is defined in the D spec. eg
DArraymonth S 9 A DIM(3) CTDATA PERRCD(1)
Array data is defined in the last. eg
**CTDATA Arraymonth
January
Feburary
March
Pre Run Time Array:-
Array is define in the D Spec.
FROMFILE keyword is defined. eg
DARRAYMONTH S 9 A DIM(12) FROMFILE(MONTHNAME)
Array data is defined in the program described file.
T and F and record length must be defined while defining the
file in the F spec.
FMONTHNAME IT F 15 DISK

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the interactive job?

763


What is FORMAT keyword and its use?

366


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.

2320


How to change the batch job to interactive job?

726


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?

813


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

767


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

791


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.

929


How to find the list of source physical files in a library?

817


I have a pf, it contains 5 members, how to access particular member data from logical file?

719


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

764


Last statement of any rpg program is lr?

809


How to retrieve a physical file after deleting that?

749


How to index LF by relative record no (RRN)

3025


What is the batch job?

749