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

error code 7030 cpf7030 what is the level check error

1 Answers  


What is next sentence and continue unique?

0 Answers  


What is the function of the verb initialize?

0 Answers  


how do u start your process after conducting impact analysis ?

0 Answers   TCS,


How long have you been working on mainframes?

0 Answers  






What is the worst thing that you’ve seen on a day?

0 Answers  


Can you define an alias?

0 Answers  


is it possible to create a new field  dynamically?

1 Answers  


How is data retrieved from multiple tables using a single sql statement?

0 Answers  


We have an output dataset in job with disp parameter as shr.

0 Answers  


What are the different types of PL/1 files?

0 Answers   IBM,


Why we use  "OCCUR"  with multiple occurence DS(Data Structure)?

1 Answers  


Categories