1.

Can We Describe The Results Of Opening For Input Empty Vsam Files In A Cobol Program?

Answer»

If the VSAM file didn’t have a record before it will be SEEN as unavailable and if we TRY to open it the operation will not SUCCEED. Empty files can just be opened for output, case in which a dummy record will be written by COBOL and the file will be erased.

If the VSAM file didn’t have a record before it will be seen as unavailable and if we try to open it the operation will not succeed. Empty files can just be opened for output, case in which a dummy record will be written by COBOL and the file will be erased.



Discussion

No Comment Found