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


Please Help Members By Posting Answers For Below Questions

Explain path?

621


What is inspect?

645


What is use of IBM framework?

1767


What is database descriptor?

665


What is the term “where” for?

648






what optimum values can we find for freespace, ci etc?

680


how can you define a dataarea(DTAARA) IN RPG? Which spec you define it C-spec/D-spec?

1513


List the type of locks and explain each of them.

626


What is the function of the verb initialize?

711


How are type 1 and type 2 indexes different?

681


what is the role of the is numeric clause?

685


Can you explain function of iebgener?

687


What is difference between static call and dynamic call?

625


what is the right time for using in-line perform?

675


Can you name a few software running under the mainframe?

634