Previous Topic: $ERRORCLASS FunctionNext Topic: $ERRORCONSTRAINTNAME Function


$ERRORCLASS and $ERRORTYPE Codes

CLASS

TYPE

DESCRIPTION

ARI

 

ARITHMETIC ERRORS

 

DVZ

An operation resulted in an attempt to divide by zero.

 

EXP

An exponent violates the rules for exponents, for example, is not a numeric integer value or exceeds 999.

 

OFL

An overflow condition occurred.

 

SQR

An attempt was made to find the square root of a negative value.

 

UNS

An attempt was made to assign a negative value to an unsigned numeric field.

DVW

 

DATAVIEW ERRORS

 

ARN

There is an error in the assignment of a report or dataview (VSE only).

 

DB2

There is an error in a DB2 database access. (See $ERROR‑DB2‑PLAN and $ERROR‑DVW‑STATUS.)

 

DVW

There is a CA Datacom/DB error in a Native Access, SQL access, or sequential file access dataview, or there is an error in VSAM access. (See also $ERROR‑DVW‑STATUS and $ERROR‑DVW‑INTERNAL‑STATUS.)

 

D50

There is an error in the date conversion for CA Datacom/DB native or SQL access.

 

D71

The record is not found in the UPDATE clause of a WHERE condition.

 

D72

The record is not found in the DELETE clause of a WHERE condition

 

D73

The required row ID is missing

 

D74

There is an invalid ODO (occurs depending on) item in the VSAM file.

 

D75

All 16 cursors are open.

 

D76

The DB2 column is not in date format

 

D77

The transaction ID is not in the RCT.

 

D78

There is a date and time mismatch in SQL.

 

D80

The PLAN module is not found, DYNAMIC SQL=NO.

 

D81

The program is not in the PLAN, DYNAMIC SQL=NO.

 

D82

There is a compiled plan date error, DYNAMIC SQL=NO.

 

D83

The PLAN module is not found, RUN SQL is static.

 

D84

The program is not in the PLAN, RUN SQL is static.

 

D85

There is a compiled plan date error, RUN SQL is static.

 

D86

The RCT exit is not PLNPGME=@IADRCTX.

 

Q17

There is a CA Datacom/DB database error with an SQL code of ‑117.

 

Q18

There is a CA Datacom/DB dictionary error with an SQL code of ‑118.

 

SQL

There is an error in a CA Datacom SQL database access. See also $ERROR‑DVW‑STATUS.

 

VBO

The VSAM base cluster or one of the alternate paths could not be opened successfully during batch execution. See also $ERROR‑DVW‑DBID.

 

VBP

An IBM VSAM error occurred. See also $ERROR‑DVW‑STATUS and $ERROR‑DVW‑INTERNAL‑STATUS.

 

VCO

There is no FCT entry open for this VSAM ddname.

 

VCP

An IBM VSAM error occurred while running in CICS. See also $ERROR‑DVW‑STATUS and $ERROR‑DVW‑INTERNAL‑STATUS.

 

VCV

A VSAM dataview with variable‑length records requires a variable‑length FCT entry in CICS.

 

VRB

CA Ideal cannot resume a browse when the access key is not unique

 

VRL

The length of an individual VSAM record is not the expected length.

 

VRN

An invalid number was used in a WHERE clause for a Relative Record data set (RRDS).

 

VVL

The dataview definition compiled with the program does not agree with the actual VSAM file opened by the program.

FTL

 

FATAL ERRORS

 

D70

The index used as a row ID no longer exists or is no longer unique.

 

F60

An attempt was made to access a report facsimile that is not defined in the program resources.

 

F61

An attempt was made to run a program that was not compiled since the last edit.

 

F62

An attempt was made to access a facsimile that is not available.

MIS

 

MISCELLANEOUS ERRORS

 

A34

An invalid value was assigned to a report date.

 

A35

A value assigned to a report page number exceeds the maximum number allowed.

 

A36

A value assigned to a report page size exceeds the maximum size allowed.

 

A37

SET $PLAN was issued in a logical unit of work.

 

ARD

An invalid disposition was specified for a report.

 

ATM

An attempt to access a panel that the user is not authorized to access.

 

ATP

An attempt to access a program that the user is not authorized to access.

 

BPA

An attempt to access a panel in a batch run is invalid.

 

DBC

A DBCS detach error occurred.

 

D40

An invalid value was assigned as a HEX‑TO‑CHARACTER field.

 

D41

The PAD length specified exceeds the internal limits.

 

D42

The input date value is not a positive integer.

 

D43

The date format contains invalid characters.

 

D44

The date format exceeds the length limit.

 

D45

The week value of the date is invalid.

 

D46

The month value of the date is invalid.

 

D47

The day value of the date is invalid.

 

D48

The year value of the date is invalid.

 

D49

The DATE value exceeds the maximum length.

 

D51

The PAD length is less than the original length.

 

DTE

An invalid value was specified for a $DATE or a $TIME function.

 

SDV

An attempt was made to read a sequential file dataview online.

NUM

 

NUMERIC ERRORS

 

NUM

A numeric field contains an invalid numeric value.

PGM

 

PROGRAM ERRORS

 

IQP

A QUIT or PROCESS NEXT was used incorrectly.

 

NID

An attempt was made to reference a non‑ideal program that does not exist in the load library.

 

PGM

An attempt was made to recursively enter an active program.

 

PRO

An attempt was made to recursively enter an active procedure.

REF

 

REFERENCE ERRORS

 

NUL

An attempt was made to reference a null field where null values are not allowed.

 

PAT

An attribute of a parameter does not match the corresponding attribute of the field where it is passed.

 

 

Subtypes:

 

 

01

Run parameter longer than specified

 

 

02

Copied panel (should never occur)

 

 

03

Occurs not matched

 

 

04

Type not matched

 

 

05

Subprogram parameter redefined

 

 

06

Parameter structures unequal

 

 

07

Displacement not identical

 

 

08

Numeric class, and so on, not identical

 

 

09

Numeric precision not identical

 

 

10

Nullable not matched

 

 

11

Variable not matched

 

 

12

Alpha not matched

 

 

13

Alpha exceeds the declared length

 

 

14

Occurs exceeds max

 

 

15

Occurs not identical

 

 

16

ODO displacement not equal

 

 

17

ODO not matched

 

 

18

Panel field not identical

 

PIU

An attempt was made to pass an INPUT parameter to a field designed to receive an UPDATE parameter.

 

PKY

A parameter keyword does not match another parameter keyword.

 

REF

An attempt was made to reference a field that was never accessed or is no longer available.

 

UPD

An attempt has been made to update a field that is not updateable.

 

V07

One of the VSAM dataview functions ($RRN, $RBA, or $REC‑LENGTH) was used when its value is not defined.

SEQ

 

SEQUENCE ERRORS

 

ADB

An attempt was made to ASSIGN a dataview that is active.

 

ARS

An attempt was made to ASSIGN a report that is active.

 

DEL

A DELETE was specified that is invalid, for example, was not issued from a FOR FIRST or FOR EACH construct or was applied to a dataview that is not updateable.

 

FOR

An attempt was made to nest a FOR on the same dataview.

SUB

 

SUBSCRIPT ERRORS

 

GRP

The number of OCCURs does not match between a sending and receiving group.

 

ODO

An ODO (occurs depending on) value exceeds the maximum allowed.

 

SST

The start parameter of a substring is less than 1 or the length parameter is less than 0.

 

SUB

The form of a subscript is invalid; that is, it is less than 1 or greater than the number of occurrences.

SYS

 

SYSTEM ERRORS

 

CVR

A system error occurred.

 

SYS

A serious system error occurred.

 

USR

A user error specified in the DESCRIPTION field of a message.

 

INT

An internal error specified in the DESCRIPTION field of a message.

USR

 

USER REQUESTED ERRORS

 

USR

The application invoked the DO ERROR statement.