In the procedure division stmt OPEN OUTPUT FILE1.
Which of the following is not true about file1.
a) there must be a select clause for this file in the
file-control paragraph of environment division.
b) There must be an FD entry in the file section of
the data division.
c) The file name must appear in a WRITE stmt in the
procedure division.
d) There?ll be a CLOSE stmt in procedure division.
Answer Posted / jagan
The above answer is correct . We don't mention the file name
while writing the record using the WRITE statement . We
mention only the FILE-RECORD name in it.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain path?
What is inspect?
What is use of IBM framework?
What is database descriptor?
What is the term “where” for?
what optimum values can we find for freespace, ci etc?
how can you define a dataarea(DTAARA) IN RPG? Which spec you define it C-spec/D-spec?
List the type of locks and explain each of them.
What is the function of the verb initialize?
How are type 1 and type 2 indexes different?
what is the role of the is numeric clause?
Can you explain function of iebgener?
What is difference between static call and dynamic call?
what is the right time for using in-line perform?
Can you name a few software running under the mainframe?