VSAMOPENFS
The VSAMOPENFS
option affects the user
file status reported from successful VSAM OPEN statements that require
verified file integrity check.
Default is: VSAMOPENFS(COMPAT)
Abbreviations
are: VS(C | S)
COMPAT
- If you specify
VSAMOPENFS(COMPAT)
, the statement returns the file status97
when a VSAM OPEN statement is successfully verified. This is compatible with pre-V6 COBOL runtime behavior. SUCC
- If you specify
VSAMOPENFS(SUCC)
, the statement returns the file status00
when a VSAM OPEN statement is successfully verified. This allows users to simply check for0
in the first digit of the returned file status, as they usually do with other successful operations.