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

how can we define a gdg?

547


What do you mean by linkage section?

548


What is the function of iebgener?

574


What is the term “where” for?

548


Name the versions of ibm mainframes have introduced in the market?

504






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

580


How to compare two files by using sort?

566


Have you caused any huge mistakes for the bank?

505


How many bytes will a s9(8) comp field occupy ?

660


State the difference between jes2 and jes3?

551


how is the future of tandem mainframe?

2865


If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?

1980


in options (main) , what is meaning of main . if u not used main what will happen? After compiling, os will not understand where to load and execute from

1668


What is the contrast between delimited by space and delimited by size?

527


Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?

1832