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
what is unit testing ? on which basis you will write test case ?
Can you define an alias?
Explore the syntax of the evaluate statement?
What is the mainframe computer?
How are type 1 and type 2 indexes different?
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
How to move a field DT 9(8) of input file to DT 9(8) COMP-3 in output file in ezytrieve? in the output file entire dt is not moved.If any answer plz reply as soon as possible.
Explain database descriptor in brief?
List the type of locks and explain each of them.
HOW to change the coloumns in XREF?
Express the distinction between jes2 and jes3?
What is the use of base and index registers in the IBM 360/370 processor?
How many minimum number of line codes does PL/1 DB2 program requires?
what is the meaning of a (new, catlg, keep) disposition mean?
How IBM framework work?