COBOL - Opções de compilação - VSAMOPENFS


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

Opções de compilação - 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 status 97 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 status 00 when a VSAM OPEN statement is successfully verified.
This allows users to simply check for 0 in the first digit of the returned file status, as they usually do with other successful operations.


© Copyright IBM Corp.