Previous Topic: $CACCI OPT=CANCEL

Next Topic: Feedback Codes


Return Codes and Variables

The following table shows the meanings of the return codes:

Return Code

Meaning

Variables Returned

Variable Contents

0

Successful

&$CACCID
(from INIT call only)

ID to be used in subsequent CANCEL, INQUIRE, RECEIVE, SEND, or TERMINATE calls

4

CA CCI is inactive

 

 

8

CA CCI logic error

 

 

12

Abend has occurred, the system abend code is in the extended error code

16

CA CCI unrecoverable problem

 

 

20

CA CCI invalid PLIST

 

 

32

CA CCI error

 

 

72

Invalid OPT parameter

 

 

The following table shows the range of error codes to which the returned variables apply and what variables are set, depending on the value of &RETCODE (return code):

Return Code

Meaning

Variables Returned

Variable Contents

0–32

CA CCI return code

&$CACCIFDBK

Feedback code

&$CAERRORCODE

CCI error code

&$CAERRCODEX

Extended error code (hexadecimal)

&$CAERRORTEXT

Error description

64

OML error - note the variables and provide information for CA Technical Support

&$CAERRORCODE

OML error code

&$CAERRORTEXT

OML error description

&$CAERRORCOND

OML error condition code

&$CAERRORKYWD

Keyword causing error

&$CAERRORVAL

Value causing error

68

Invalid OPT parameter

&$CAERRORTEXT

Error description