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.

Answers were Sorted based on User's Feedback



In the procedure division stmt OPEN OUTPUT FILE1. Which of the following is not true about file1. ..

Answer / guest

answer is C.

Is This Answer Correct ?    5 Yes 1 No

In the procedure division stmt OPEN OUTPUT FILE1. Which of the following is not true about file1. ..

Answer / 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

More IBM MainFrame AllOther Interview Questions

State all the file open modes?

0 Answers  


Can you explain referential integrity?

0 Answers  


How are type 1 and type 2 indexes different?

0 Answers  


Differentiate between hdam and the hidam databases?

0 Answers  


execution of a subordinate module is caused by the use of the cobol verbs ------------in the superior module

0 Answers   IBM,






what is the difference between the jes2 and jes3

2 Answers  


can alternate index use in ESDS since it does not contain primary index? if yes can you explain?

2 Answers   iGate, Temenos,


What is the advantage of defragmentation?

0 Answers  


A word in the computer memory is identified by_________

0 Answers   IBM,


how to get last 100 records in file-aid?

1 Answers   Syntel,


how to invoke subprogram in jcl?

2 Answers  


Which is the difference between delimited by size and delimited by space?

0 Answers  


Categories