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

Is it possible to move the alphanumeric variables to a numeric variable?

0 Answers  


hi.... anybody send real time project related questions & answers whatever will ask in interview plz.....help me? advanced thanks....

0 Answers  


State all the file open modes?

0 Answers  


by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?

0 Answers  


can we use already existing access path?

1 Answers  






is it possible to write array elements to pf

0 Answers  


Explain ibm z?

0 Answers  


What is Comp-2?

0 Answers  


name the vsam file in which the deletion is not possible.

1 Answers  


How do you pass pointer PL/1 main procedure to sub procedure?

1 Answers   IBM,


Is there any other debugging tool for expeditor?

2 Answers  


what is the role of the is numeric clause?

0 Answers   IBM,


Categories