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 |
Can you define spufi?
What is next sentence and continue unique?
How to define a directory?
how do u debug without using xpeditor ?
Can you explain create an empty file by using sort?
how do u create gdgs n vsam by using file-aid ?
What is basic difference between directory and pds in ibm mainframe?
what is use of linkage section?
10. Why mainframe testing is so important? Give any three advantages of Mainframe Testing?
If DB2 query returns in null value, how do you work with it in PL/1?
What is the difference between Verify & Index in PL/1?
What is the advantage of defragmentation?