Previous Topic: For CA Datacom/DB Native AccessNext Topic: $ERRORDVWSTATUS Function


For VSAM Dataviews

When $ERROR‑CLASS returns a code of DVW and $ERROR‑TYPE returns a code of VCP, the value of $ERROR‑DVW‑INTERNAL‑STATUS can be interpreted as follows:

This function has the following format:

ffff‑xxxxxx
ffff

Specifies the four‑character hexadecimal EIBFN function code.

xxxxxx

Specifies the six‑character hexadecimal CICS EIBRCODE.

When $ERROR‑CLASS returns a code of DVW and $ERROR‑TYPE returns a code of VBP, the value of $ERROR‑DVW‑INTERNAL‑STATUS can be interpreted as follows:

This function has the following format:

iiffxxccrr
ii

The CA Ideal internal function code.

ff

The two‑character VSAM function code that CA Ideal assigns.

xx

The two‑character hexadecimal VSAM return code.

cc

The two‑character hexadecimal VSAM component code.

rr

The two‑character hexadecimal VSAM reason code.

Note: $ERROR functions return meaningful data only in the error procedure or in a procedure or subprogram invoked by the error procedure. In the case of a database error, $ERROR functions can also return meaningful data in the scope of a WHEN ERROR clause. You do not have to pass the $ERROR functions as parameters.