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
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 |
State all the file open modes?
Can you explain referential integrity?
How are type 1 and type 2 indexes different?
Differentiate between hdam and the hidam databases?
execution of a subordinate module is caused by the use of the cobol verbs ------------in the superior module
what is the difference between the jes2 and jes3
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
What is the advantage of defragmentation?
A word in the computer memory is identified by_________
how to get last 100 records in file-aid?
how to invoke subprogram in jcl?
Which is the difference between delimited by size and delimited by space?