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

Please send me the real time scenarios in Mainframe Project... i.e., it may be in banking or insurance sector or any other no problem..... please send your mails to krishnaprasadbvs@gmail.com

0 Answers   CSC,


WHAT IS 3.12,3.14 ? DIFFERENCES?

2 Answers  


how to get last 100 records in file-aid?

1 Answers   Syntel,


what about F1 & F2 keys in xpeditor? And their functionalities?

0 Answers  


Explain the use of the where?

0 Answers  






What is inspect?

0 Answers  


What is the distinction amongst include and copy?

0 Answers  


subscripting can be said as A) subscripting enables us to write a move compact code in the procedure division. B) subscripting enables us to refer to any element of a table by the same data name with the facility of identifying a particular element through the values of subscript. C) Subscripting reduces the no of entries to be included in the data division D) subscripting enables us to use loops in the procedure division

1 Answers   Accenture,


What is the term “where” for?

0 Answers  


List the type of locks and explain each of them.

0 Answers  


what are the present versions of all mainframe modules?can any body let me know pls

1 Answers  


What is the need to code commits in batch programs?

0 Answers  


Categories