Return codes for the QAOVSAM program


Depending on which REXX command you use to invoke the QAOVSAM program, the return code is set in one of the following ways:

  • If you used CALL, the REXX special variable RESULT contains the return code.
  • If you used LINKMVS, the REXX special variable RC contains the return code.

QAOVSAM might also return additional return code information in the MainView AutoOPERATOR TSO variables shown in the table below.

QAOVSAM return codes

Value

Meaning

0

function completed successfully

4

an OPEN function was issued against a file that is already open

8

invalid input; for example: a required parameter variable was specified that does not exist

12

the OPEN function (or the specified function) failed

For example, the specified DDname is not allocated.

16

a VSAM error occurred

The following variables will contain the VSAM codes:

  • IMFVSRC contains the VSAM return code
  • IMFVSRS contains the VSAM reason code
  • IMFVSFB contains the VSAM RPL feedback code

20

the accessed file is not in KSDS format

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MainView AutoOPERATOR 8.2