If we are using empty VSAM file, we can see this empty file
by using FILE AID tool. How can we open empty VSAM file if
you are using in Program..?
Answer Posted / guest1
If you open it in Output mode and try to write it,
initially a dummy record will be written and the actual
content willbe written.
If you try to open in Input mode you will get file status
35.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of vsam over isam?
what do you mean by recovery and speed parameters in define cluster command?
what is buffering and how does it apply to vsam files ?
What is the purpose of control intervals in vsam?
How is the sorting of vsam files carried?
What are the common vsam error conditions and codes?
in a cobol select statement, can you tell what is the organization for a ksds?
Tell me how many alternate indexes you can have on a dataset?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
What is the device independent method to indicate where a record is stored?
How do you calculate record size of an alternate cluster?
what do you mean by a vsam slot?
what does a file status of 02 on a vsam signifies?
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
is it necessary that all versions of the gdg have to be of the same record length?