## SEWHVA0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA0 MAXIMAL NUMBER OF OPEN FILES FOR TABLE FUNCTION REACHED

### Meaning

There is an upper limit (currently 4) on the number of external files that
can be used at the same time within table functions. Execution of the
current SQL statement would have exceeded that limit.

### Response

Reduce the number of concurrently used external files.

## SEWHVA1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA1 OPEN ERROR ON EXTERNAL FILE (&00) WITH DMS CODE (&01)

### Meaning

The external file referenced in a table function could not be opened.
The reason is indicated by the DMS error code (&01).

### Response

Consult the corrective actions for the indicated DMS error code.

## SEWHVA2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA2 ERROR UPON CLOSING EXTERNAL FILE (&00) WITH DMS ERROR CODE (&01)

### Meaning

The external file referenced in a table function could not be closed.
The reason is indicated by the DMS error code (&01).

### Response

Consult the corrective actions for the indicated DMS error code.

## SEWHVA3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA3 READING ERROR ON EXTERNAL FILE (&01) WITH DMS CODE (&00)

### Meaning

The external file referenced in a table function could not be read.
The reason is indicated by the DMS error code (&01).

### Response

Consult the corrective actions for the indicated DMS error code.

## SEWHVA4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA4 ILLEGAL ESCAPE SEQUENCE IN CSV FILE (&00) AT LINE (&01) COLUMN (&02) (AT OFFSET (&03))

### Meaning

The CSV file for a table function or a LOAD statement contains an illegal
escape sequence in which the ESCAPE character is not immediately followed
by either a QUOTE character, a DELIMITER character, a record separator,
or else another ESCAPE character.

### Response

Correct the CSV file contents.

## SEWHVA5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA5 UNPAIRED QUOTE IN CSV FILE (&00) AT LINE (&01) COLUMN (&02) (AT OFFSET (&03))

### Meaning

The CSV file for a table function or a LOAD statement ends before the
final quote character of a quoted field.

### Response

Add the final QUOTE character.

## SEWHVA6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA6 SPURIOUS CHARACTER AFTER QUOTED FIELD IN CSV FILE (&00) AT LINE (&01) COLUMN (&02) (AT OFFSET (&03))

### Meaning

The CSV file for a table function or a LOAD statement contains a quoted
field that is followed by a character other than a field DELIMITER
character or a record separator.

### Response

Remove the spurious characters or add a field DELIMITER character or a
record separator.

## SEWHVA7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWHVA7 CODED CHARACTER SET NAME (CCSN) OF EXTERNAL FILE (&00) DIFFERS FROM CODE TABLE OF CATALOG

### Meaning

The external BS2000 file accessed in a CSV table function has a file
attribute CODED-CHARACTER-SET that is not *NONE, nor is the CODE TABLE
of the CATALOG set to '_NONE_', and these two CCSNs do not agree.

### Response

Set the file attribute CODED-CHARACTER-SET to *NONE, or set the CODE TABLE
of the catalog to '_NONE_', or set the two CCSNs to the same value.

## SEWREVI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWREVI COMP=SEWMF,VERS=91A,DATE=200212

## SEWSB01

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB01 INVALID ARGUMENT VALUE IN CLI FUNCTION FOR PARAMETERS OF TYPE BOOLEAN.

### Meaning

When a CLI function is called, a parameter of type BOOLEAN must contain
a value 0 or 1.

### Response

Assign a correct value to the parameter when calling the CLI function.

## SEWSB02

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB02 INVALID ADDRESS IN THE CLI FUNCTION FOR PARAMETER.

### Meaning

When a CLI function is called, a parameter contains an invalid address
(i.e. the value 0).

### Response

Assign a correct value to the parameter when calling the CLI function.

## SEWSB03

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB03 INVALID LENGTH OF A VALUE IN THE CLI FUNCTION.

### Meaning

When a CLI function is called, the length of a value (ValueLength
Parameter) is negative.

### Response

Assign a value greater than or equal to 0 to the parameter when calling
the CLI function.

## SEWSB04

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB04 INVALID BUFFER LENGTH IN CLI FUNCTION.

### Meaning

When a CLI function is called, the buffer length (BufferLength
Parameter) is negative.

### Response

Assign a value greater than or equal to 0 to the parameter when calling
the CLI function.

## SEWSB05

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB05 INVALID TAG IN CLI FUNCTION.

### Meaning

When a CLI function is called, an invalid tag (comprising only blanks)
is transferred in the TagName parameter.

### Response

Assign a valid value to the TagName parameter when calling the CLI
function.

## SEWSB11

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB11 INVALID REF VALUE (&00) IN CLI FUNCTION.

### Meaning

When a CLI function is called, a syntactically incorrect REF value
is transferred.
If the REF value was read with an SQL statement from an existing
database table, the default value of the column referenced by the BLOB
object may be incorrect, or the default value of the OBJ_REF column in
the BLOB table may be incorrect. It is also possible that an incorrect REF
value was saved in the referencing record when creating a BLOB object.

### Response

Assign a valid value to the REFvalue parameter when calling the CLI
function. If the REF value was read with an SQL statement from an existing
database table, check the default values and correct them if necessary,
e.g. delete them with ALTER COLUMN DROP DEFAULT and create them again with
ALTER COLUMN SET DEFAULT REF (table name).
The application program in which the referencing column is assigned must
also be checked and modified if necessary.

## SEWSB12

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB12 INVALID TABLE NAME IN CLI FUNCTION.

### Meaning

An invalid table name is transferred when calling a CLI function.
In EBCDIC representation, the name must not contain the characters
X'00' through X'3F' nor X'5F'.

### Response

Assign a valid value to the parameter when calling the CLI function.

## SEWSB13

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB13 INVALID SCHEMA NAME IN CLI FUNCTION.

### Meaning

An invalid schema name is transferred when calling a CLI function.
In EBCDIC representation, the name must not contain the characters
X'00' through X'3F' nor X'5F'.

### Response

Assign a valid value to the parameter when calling the CLI function.

## SEWSB14

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB14 INVALID CATALOG NAME IN CLI FUNCTION.

### Meaning

An invalid catalog name is transferred when calling a CLI function.
In EBCDIC representation, the name must not contain the characters
X'00' through X'3F' nor X'5F'.

### Response

Assign a valid value to the CatalogId parameter when calling the
CLI function.

## SEWSB15

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB15 TOO MANY SPECIAL CHARACTERS IN QUALIFIED TABLE NAME.

### Meaning

The schema name and table name of the BLOB table together contain so many
special characters that the maximum length of 237 characters is exceeded
when generating the REF value.

### Response

Correct the name or create the table again under a different name.

## SEWSB21

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB21 TABLE (&00) CANNOT BE ACCESSED OR IS NOT A BLOB TABLE.

### Meaning

Table (&00) does not exist or the columns needed for a BLOB table
do not exist, or the current user is not permitted to access them.

### Response

Use the views of the INFORMATION_SCHEMA to check the
existence of the table, the data types of its columns, and the rights
of the authorization identifier to the table.

## SEWSB22

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB22 OBJ_NR COLUMN IN BLOB TABLE NOT OF DATA TYPE INTEGER.

### Meaning

The OBJ_NR column in the BLOB table does not have the data type INTEGER.
The table was presumably not created with CREATE TABLE OF BLOB,
or the data type of OBJ_NR was changed subsequently.

### Response

Change the data type of the OBJ_NR column to INTEGER using
ALTER COLUMN or DROP COLUMN and ADD COLUMN, or
create the entire table again using CREATE TABLE OF BLOB.

## SEWSB23

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB23 SLICE_NR COLUMN IN BLOB TABLE NOT OF DATA TYPE INTEGER.

### Meaning

The SLICE_NR column in the BLOB table does not have the data type INTEGER.
The table was presumably not created with CREATE TABLE OF BLOB, or
the data type of OBJ_NR was changed subsequently.

### Response

Change the data type of the SLICE_NR column to INTEGER using
ALTER COLUMN or DROP COLUMN and ADD COLUMN, or
create the entire table again using CREATE TABLE OF BLOB.

## SEWSB24

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB24 OBJ_REF COLUMN IN BLOB TABLE NOT OF DATA TYPE CHAR(237).

### Meaning

The OBJ_REF column in the BLOB table does not have the data type
CHAR(237). The table was presumably not created with CREATE TABLE OF BLOB,
or the data type of OBJ_REF was changed subsequently.

### Response

Change the data type of the OBJ_REF column to CHAR(237) using ALTER COLUMN
or DROP COLUMN and ADD, or create the entire table again using CREATE
TABLE OF BLOB.

## SEWSB25

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB25 SLICE_VAL COLUMN IN BLOB TABLE NOT OF DATA TYPE VARCHAR(31000).

### Meaning

The SLICE_VAL column in the BLOB table does not have the data type
VARCHAR(31000). The table was presumably not created with CREATE TABLE
OF BLOB, or the data type of SLICE_VAL was changed subsequently.

### Response

Change the data type of the SLICE_VAL column to VARCHAR(31000)
using ALTER COLUMN or DROP COLUMN and ADD, or create the
entire table again using CREATE TABLE OF BLOB.

## SEWSB26

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB26 REF VALUE (&00) DOES NOT REFERENCE A BLOB OBJECT.

### Meaning

No BLOB object could be found for the specified REF value in the
corresponding BLOB table.

### Response

Check the application program and change it if necessary.

## SEWSB31

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB31 NO ATTRIBUTES SAVED FOR THE CURRENT BLOB OBJECT.

### Meaning

The attributes of a BLOB object (identified by tags such as <MIME> or
<USAGE>) are saved in the first record (SLICE_NR column = 0) of this BLOB
object in the SLICE_VAL column. In this case, this column contains the
NULL value. The record was presumably modified without using the CLI
functions provided.

### Response

Check the application program and change it if necessary.

## SEWSB32

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB32 TAG (&00) NOT FOUND IN BLOB ATTRIBUTE.

### Meaning

The attributes of a BLOB object (identified by tags such as
<MIME> or <USAGE>) are saved in the first record (SLICE_NR column = 0)
of this BLOB object in the SLICE_VAL column. In this case, this column
does not contain the specified tag. Either the wrong tag was sought, or
the BLOB description was modified without using the CLI functions
provided.
Note: The tag must be specified without the angle brackets when calling
the respective CLI functions.

### Response

Check the application program and change it if necessary.

## SEWSB41

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB41 REF VALUE FOR THE CLASS OBJECT WAS USED IN ILLEGAL CONTEXT.

### Meaning

The REF value for the class object, which does not permit any
identification of the current BLOB object, was used in an illegal
context.

### Response

Check the application program and change it if necessary.

## SEWSB42

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB42 INCONSISTENT OR INVALID ACCESS HANDLE.

### Meaning

The access handle, which is exchanged between the CLI functions during
sequential access to a BLOB object, is inconsistent.
The handle may have been inadvertently overwritten in the application
program, or the accesses did not occur within the same dialog step in
a UTM application.

### Response

Check the application program and change it if necessary.

## SEWSB43

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB43 INVALID ACCESS HANDLE FROM A PRECEDING TRANSACTION.

### Meaning

The access handle, which is exchanged between the CLI functions,
was currently processed in a preceding transaction. With sequential
access to a specific BLOB object, however, all calls of participating
CLI functions must be made in the same dialog step and hence in the
same transaction.

### Response

Check the application program and change it if necessary.

## SEWSB45

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB45 ILLEGAL SEQUENCE OF CLI FUNCTIONS.

### Meaning

During sequential access to a BLOB object, CLI functions were called in
an illegal sequence. For example, it is only permissible to call either
the CLI functions SQL_BLOB_VAL_FETCH or SQL_BLOB_VAL_STOW between
SQL_BLOB_VAL_OPEN and SQL_BLOB_VAL_CLOSE for a specific access handle.

### Response

Check the application program and change it if necessary.

## SEWSB46

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB46 BLOB VALUE TOO LONG.

### Meaning

The BLOB value cannot be saved because it is too long, i.e. longer
than 64 GB.

### Response

Change the application program.

## SEWSB51

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB51 MAXIMUM NUMBER OF ACCESS HANDLES EXCEEDED.

### Meaning

In this user session, too many access handles were requested
simultaneously for sequential accesses to BLOB objects.

### Response

Change the application program.

## SEWSB52

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB52 BLOB VALUE COULD NOT BE WRITTEN IN FULL.

### Meaning

An error occurred when writing a BLOB value, and the part of the BLOB
value written up to this point could no longer be deleted.

### Response

Roll back the transaction or delete the BLOB object using
SQL_BLOB_OBJ_DROP or delete the BLOB value using SQL_BLOB_VAL_OPEN
(with ForWriteAccess=TRUE) and SQL_BLOB_VAL_CLOSE.

## SEWSB53

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB53 BLOB TABLE (&00) IS INCONSISTENT FOR OBJECT NUMBER (&01) (REASON: (&02))

### Meaning

An error occurred when creating a BLOB object, and the BLOB object
data written up to this point could no longer be deleted. The original
SQLSTATE (&02) ist contained in the message text.

### Response

Roll back the transaction.

## SEWSB54

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB54 BLOB TABLE (&00) ALREADY CONTAINS AN OBJECT NUMBER (&01).

### Meaning

An existing object number is used for this clone of a BLOB
object.

### Response

Modify the application.

## SEWSB55

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB55 ILLEGAL OBJECT NUMBER INTERVAL.

### Meaning

Interval bounds for object number interval are illegal.

### Response

Modify the application.

## SEWSB56

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB56 NO FREE OBJECT NUMBER FOUND.

### Meaning

Searching for a free object number was not successful
(because there is no more object number after the highest existing
object number or there is no free object number in
the given interval or due to a concurrent CLI call).

### Response

Repeat CLI call or provide free object numbers.

## SEWSB99

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSB99 (&00)

### Meaning

The specified processing error occurred within the CLI routines.

### Response

Roll back the transaction, forward the message displayed and, if possible,
an application program dump to SESAM/SQL Diagnostics.

## SEWSC01

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSC01 ILLEGAL CONNECTION ID.

### Meaning

A valid connection ID should be a two character sequence
(configuration and nam character of the DBH) or a valid filename
of a SESAM application configuration file.

### Response

Fix the connection ID value.

## SEWSC02

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSC02 STATEMENT TEXT TOO LONG.

### Meaning

A SQL statement must not have a length bigger than 32000 characters.

### Response

Modify statement text.

## SEWSC03

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSC03 INPUT VALUE TOO LONG.

### Meaning

A character input value must not exceed a maximum length
of 256 for CHARACTER and 32000 for VARCHAR.

### Response

Modify value.

## SEWSC04

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSC04 UTF8 INPUT VALUE TOO LONG.

### Meaning

If the given UTF8 value is converted to NCHAR rsp. NVARCHAR,
the number of code units of the resulting NCHAR rsp NVARCHAR value
must not exceed 128 in case of NCHAR rsp. 16000 in case of NVARCHAR.

### Response

Modify value.

## SEWSC05

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSC05 ILLEGAL UTF8 VALUE

### Meaning

The given value could not be converted to NCHAR rsp. NVARCHAR
because it is not a valid UTF8 value
(could be caused by: header without tailer, missing header,
incorrect trailer in header, invalid code points etc.)

### Response

Modify value.

## SEWSC06

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEWSC06 ILLEGAL DATETIME STRING

### Meaning

Input values for data types date, time and timestamp have to be of
format YYYY-MM-DD, HH:MM:SSS.fff and YYYY-MM-DD HH:MM:SSS.fff rsp.

### Response

Modify value.

## SEW0K00

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0K00 RESIGNAL STATEMENT NOT IN EXCEPTION HANDLER

### Meaning

A RESIGNAL statement is only allowed in an exception handler.

### Response

Modify the SQL program.

## SEW0Z02

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0Z02 GET STACKED DIAGNOSTICS STATEMENT NOT IN EXCEPTION HANDLER.

### Meaning

A GET DIAGNOSTICS statement for the STACKED Diagnostic Area must not
be used outside of an exception handler

### Response

Fix routine.

## SEW0000

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0000 EXECUTION OF SQL STATEMENT SUCCESSFUL

## SEW01AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01AA DMS ERROR (&00) OCCURRED WHEN PROCESSING LOAD EXCEPTION FILE (&01)

### Meaning

Due to DMS error at least one entry could not be written into the load
exception file. The information about incorrect rows of the input file
thus is incomplete.

### Response

Analyze DMS error and take appropriate action.
If the incorrect rows of the input file cannot be determined otherwise,
repeat LOAD using parameter OVERWRITE or recover the table space with
RECOVER TO and repeat the original LOAD statement.

## SEW01AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01AB SPECIFIED OCCURRENCE NUMBER FOR MULTIPLE COLUMN (&00) IGNORED

### Meaning

No occurrence number may be specified for a multiple column in an UNLOAD
TABLE statement. The same output format is used for all occurrences of the
multiple column.

### Response

Modify the statement.

## SEW01AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01AC TAPE FILE (&00) WAS SPECIFIED AS THE WORKING FILE, BUT THIS FILE WAS NOT USED DUE TO SPACE SHIFT.

### Meaning

Although a tape file was specified as the working file, a
space shift had been initiated with ALTER SPACE. The
shift was performed, but the working file was not used.

## SEW01AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01AD THE NEW ROW_IDS SPECIFICATION IS IGNORED FOR TABLES THAT DO NOT HAVE PRIMARY KEYS. AT LEAST ONE TABLE WITHOUT PRIMARY KEY EXISTS ON SPACE (&00). (&01).

### Meaning

At least one table without a primary key exists on space (&00).(&01),
and NEW ROW_IDS has been specified.
The record numbers of tables without primary keys are retained,
while the record numbers of tables with primary keys have
been reorganized.

## SEW01AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01AE THE EXCEPT NO LOG INDEX SPACE PARAMETER WAS IGNORED WITH COPY CATALOG (&00) BECAUSE THE LOG PARAMETER IS ALSO SPECIFIED.

### Meaning

Logging was enabled for all spaces of CATALOG (&00). A recovery log
was also created for index spaces without logging.

## SEW01A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A0 INDEX MIGRATION DESIRED FOR NON-INDEXED V1 DATABASE

### Meaning

Index migration was desired but, according to the DB-SIB file, the V1
database does not have any indexes.

### Response

Check the DB-SIB file.

## SEW01A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A1 ROW LOCKED BY FOREIGN TRANSACTION WHICH IS STILL OPEN

### Meaning

The output row contains data which may have been modified by a foreign
transaction which is still open.

### Response

Repeat the SQL statement if necessary or define a different consistency
level with the SET-TRANSACTION statement.

## SEW01A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A2 WHEN NULL THEN CONDITION SPECIFIED FOR NOT NULL COLUMN (&00).(&01).(&02). (&03)

### Meaning

A WHEN NULL THEN condition has been specified for a NOT NULL column in an
UNLOAD statement.

### Response

Modify the SQL statement accordingly.

## SEW01A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A3 INDEX GENERATION REQUESTED FOR NON-INDEXED TABLE (&00).(&01).(&02)

### Meaning

GENERATE INDEX or RECOVER INDEX ON TABLE was specified for a non-indexed
table or RECOVER INDEX ON SPACE for a space with at least one non-indexed
table. The indexes of the other tables of this space are repaired
correctly.

### Response

Modify the SQL statement accordingly.

## SEW01A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A4 EXPLAIN ERROR DURING PROCESSING OF FILE (&00): DMS ERROR (&01)

### Meaning

During execution of the pragma EXPLAIN, the DMS error (&01) occurred when
the file (&00) was opened or written. The pragma "--%PRAGMA EXPLAIN INTO
<filename>" can be used to output the internal plan of the SQL statement
to a file.

### Response

Analyze the DMS error and take appropriate action.

## SEW01A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A5 OVERWRITE IS MEANINGLESS FOR A COUNT FIELD

### Meaning

A count field has been specified. This ensures a unique primary key value,
which only allows new rows to be entered and does not allow existing rows
to be overwritten.

## SEW01A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A6 THERE ARE NO CORRESPONDING SPACE BACKUPS TO THE SPECIFIED BACKUP OF THE CATALOG SPACE (&00)

### Meaning

RECOVER CATALOG TO is executed on a catalog space backup created
by COPY CATALOG_SPACE. Older backups of the user spaces are taken
and updated to the state of the catalog space, if possible

## SEW01A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A7 NO RECORD FROM INPUT FILE (&03) LOADED INTO TABLE (&00).(&01).(&02)

### Meaning

The input file specified in the LOAD statement does not contain any valid
records. Therefore no record could be loaded.

### Response

Check input file.

## SEW01A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A8 LOAD ERROR FILE (&00) CONTAINS AT LEAST ONE RECORD

### Meaning

The input file contained errored rows which could not be loaded.
Information on these rows was entered in a LOAD exception file.

### Response

Correct errored rows and incorporate them in the table (with LOAD, INSERT
or UPDATE).

## SEW01A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01A9 MISSING PRIVILEGE FOR EXPLAIN

### Meaning

The caller has not been granted the UTILITY privilege required to generate
an explanation with the pragma EXPLAIN. The pragma "--%PRAGMA EXPLAIN INTO
<filename>" can be used to output the internal plan of the SQL statement
to a file.

### Response

In order to use EXPLAIN on the SQL statement, the database administrator
must grant the UTILITY privilege.

## SEW01BA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01BA AN INVALID FOREIGN COPY EXISTS FOR SPACE (&00).(&01).

### Meaning

At least space (&00).(&01) was not repaired because the foreign copy
was invalid.

### Response

Repeat the recovery for the non-repaired spaces. Recovery of a single
space may return a detailed error message.

## SEW01BB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01BB SUBSTITUTE CHARACTER USED IN TRANSLATION

### Meaning

In a TRANSLATE function, a code unit was converted into a substitute
character.

## SEW01BC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01BC NO ROW READ FOR UNLOAD ONLINE

### Meaning

No row was read for an UNLOAD ONLINE statement. Thus only for the transfer
format, or the csv format using parameter WITH HEADER, the unload file may
contain records.

### Response

If necessary, modify the WHERE clause or the referenced view respectively.

## SEW01BD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01BD DMS ERROR (&00) OCCURRED WHEN PROCESSING UNLOAD EXCEPTION FILE (&01)

### Meaning

Due to DMS error at least one entry could not be written into the unload
exception file. The information about incorrect rows of the table thus is
incomplete.

### Response

Analyze DMS error and take appropriate action.
If the incorrect rows of the table cannot be determined otherwise,
repeat UNLOAD.

## SEW01BE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01BE THE TABLE OR PARTITION, RESPECTIVELY, COULD NOT BE COMPLETELY REORGANIZED ON SPACE (&00).(&01)

### Meaning

The Space nearly reached maximum size. Therefore, since not enough
consecutive free blocks where available, some of the internal data
structure could not be reorganized.

### Response

Partition the table, if possible. If there are some other tables or
indexes on this space, try to reallocate these objects on several spaces.
Or minimize the current free space reservation by ALTER SPACE PCTFREE.

## SEW01B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B0 CHECK ROUTINE DETECTED AN ERROR

### Response

Depends on the errors logged in the exception file. Refer to this file.

## SEW01B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B1 PRAGMA CLAUSE IGNORED

### Meaning

One part of a comment introduced by --%PRAGMA cannot be interpreted as a
valid pragma clause. This clause will be interpreted as a normal comment
and will not affect the SQL statement. Any other pragma clauses in the
same pragma line still retain their meaning, provided that they are
formulated correctly.

### Response

If necessary, remove or modify the pragma clause.

## SEW01B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B2 SQL STATEMENT TYPE CANNOT BE EXPLAINED

### Meaning

Only cursor declarations and CHECK, SELECT, UPDATE, INSERT, MERGE, DELETE
and CALL statements can be explained using the pragma EXPLAIN. The pragma
"--%PRAGMA EXPLAIN INTO <filename>" can be used to output the internal
plan of the SQL statement to a file.

### Response

Remove the pragma to prevent the warning from being issued.

## SEW01B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B3 DECIMAL PLACES TRUNCATED OR ROUNDED

### Meaning

During an UNLOAD operation, decimal places were truncated or rounded as a
result of conversion into the output format.

### Response

Use a different output format.

## SEW01B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B4 NO STATISTICS GENERATED FOR AN INDEX ID

## SEW01B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B5 NO DATA IN DATA BLOCKS IN DB-SIB FILE (&00)

## SEW01B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B6 SPACE (&00).(&01) WAS NOT RECOVERED BECAUSE IT IS NOT IN THE LOG OR BECAUSE LOGGING HAS BEEN INTERRUPTED.

### Meaning

At least one space in RECOVER CATALOG, RECOVER SPACESET or
RECOVER space list was not recovered because it is not
in the log or the logging has been interrupted.

### Response

Repair the spaces concerned using RECOVER TO

## SEW01B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B7 NO INDEX INVALID OR DEFECTIVE FOR RECOVER INDEX

### Meaning

No index was recovered because the specified index or the indexes
belonging to the specified table or space are OK.

### Response

No further action necessary.

## SEW01B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B8 SPACE (&00).(&01) CONTAINS NO TABLES.

### Meaning

For the specified space no action was required, since this space does
not contain any tables.

### Response

Check the space name

## SEW01B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01B9 USER DATA WAS LOST DURING RECOVERY.

### Meaning

A space was partially recovered from a backup status whose structure
(tables, indexes) does not correspond to the description in the metadata
in the catalog since DDL or SSL statements have been issued for the space
subsequent to the backup. The structure of the space was adapted to the
description in the catalog. This involved deleting indexes or tables.

### Response

Lost data from tables can be unloaded from the backup with UNLOAD.

## SEW01C0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C0 ILLEGAL CATALOG NAME IN SET CATALOG

### Meaning

Execution of the SET CATALOG statement will be unsuccessful because the
value of the specified literal fails to satisfy the format and syntax
rules for catalog names or contains separators other than blanks.

### Response

Modify value accordingly.

## SEW01C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C1 ILLEGAL SCHEMA NAME IN SET SCHEMA

### Meaning

Execution of the SET SCHEMA statement will be unsuccessful because the
value of the specified literal fails to satisfy the format and syntax
rules for schema names or contains separators other than blanks.

### Response

Modify value accordingly.

## SEW01C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C2 ILLEGAL AUTHORIZATION IDENTIFIER IN SET SESSION AUTHORIZATION

### Meaning

Execution of the SET SESSION AUTHORIZATION statement will be unsuccessful
because the value of the specified literal fails to satisfy the format
and syntax rules for authorization identifiers or contains separators
other than blanks.

### Response

Modify value accordingly.

## SEW01C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C3 ILLEGAL DESCRIPTOR NAME

### Meaning

Execution of the statement will be unsuccessful because the value of the
specified literal fails to satisfy the format an syntax rules for
identifiers or contains separators other than blanks.

### Response

Modify value accordingly.

## SEW01C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C4 INDEX TO BE DELETED WAS INCONSISTENT

### Meaning

It is possible that not all the index blocks have been released.

### Response

Use CHECK FORMAL SPACE to check the index space. (Index blocks which have
not been released are removed the next time REORG SPACE is issued.)

## SEW01C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C5 WHEN MIGRATING, COMPOUND KEY NAME NOT UNIQUE ACROSS SCHEMA.

### Meaning

When migrating to an SQL table, the compound key name is only used as
constraint name if it is unique throughout the schema; otherwise SESAM
generates a unique constraint name.

## SEW01C6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C6 UNLOAD ERROR FILE (&00) CONTAINS AT LEAST ONE RECORD

### Meaning

All records that fulfill one of the following conditions were entered
in the UNLOAD error file instead of in the output file.
- The delimiter specified in delimiter format or csv format is
contained in at least one unloaded value.
- A (N)VARCHAR value of zero length is to be unloaded in delimiter
format or csv format.
- A character cannot be transliterated.
- A value contains a NEWLINE character.

### Response

Analyze the records in the UNLOAD error file. If necessary, repeat the
UNLOAD operation with a modified format.

## SEW01C7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C7 CONVERSION ERRORS WHEN CHANGING DATA TYPE OF ONE OR MORE COLUMNS ARE DOCUMENTED IN ERROR FILE (&00).

### Meaning

Errors occurred while changing the data type of a column
(ALTER COLUMN ... SET ...) as a result of an ALTER TABLE statement.
All errors of this type can be found in the error file defined in the
ALTER TABLE statement.

## SEW01C8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C8 EXCEPTION FILE ONLY NEEDED WHEN COLUMN TYPE IS CHANGED.

### Meaning

Specification of an exception file is only needed for the ALTER TABLE
statement if the data type of at least one column is changed (SET clause).

## SEW01C9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01C9 CHECK ERROR FILE (&00) CONTAINS AT LEAST ONE RECORD

### Meaning

CHECK FORMAL found at least one error. The error information is registered
in the exception file.

### Response

Make the involved space available or repair it using RECOVER.

## SEW01DA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01DA COMPOUND KEY INDEX NOT INCLUDED IN MIGRATION

### Meaning

The compound key index was not included in the migration to a SQL table.

## SEW01DB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01DB NO SUITABLE BACKUP FOUND TO RECOVER SPACE (&00).(&01).

### Meaning

At least one space was not recovered, because
there is no entry in RECOVERY_UNITS for this space, or the space
backup found is not suitable as a recovery basis, e.g. because the
space was not in the log when the backup was performed.

### Response

The space can be recovered with RECOVER TO.

## SEW01DC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01DC JOB VARIABLE SESAM.(&00).NEXT-REPL-LOG NOT SET.

### Meaning

The job variable contains the version number and sequence number of the
oldest CAT-LOG file and DA-LOG file which would be used to update
replication if used for media recovery.
The job variable was not set for one of the following reasons:
- the CAT-REC file does not contain the required information to supply
the job variables with values (e.g. catalog is not logged or records
have been deleted from the CAT-REC file)
- JVS reported an error

### Response

If the information in the job variables is required:
Ensure that the job variable can be set.
(the CAT-REC file must contain information on catalog logging or
take account of the JVS error message)
Delete replication from the DBC.
Enter the statement again.

## SEW01DD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01DD SPACE (&00) WAS NOT INCLUDED IN THE REPLICATION.

### Meaning

When a replication was created, at least one space was not included
because the backup was generated with EXCEPT NO LOG INDEX SPACE.
The replication can only be used for recovery.

## SEW01DE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01DE SPACE (&00).(&01) CANNOT BE REPAIRED BECAUSE IT IS NOT CONTAINED IN THE CATALOG BACKUP.

### Meaning

When the backup was created, at least one space was not backed up
because the backup was generated with EXCEPT NO LOG INDEX SPACE.

## SEW01DF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01DF INDEXES OF ALL TABLES OF SPACE (&00).(&01) ARE INVALID.

### Meaning

After REORG SPACE with parameter NEW ROW_IDS is executed,
the indexes are invalid and have to be updated.

### Response

Initiate RECOVER INDEX.

## SEW01D0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D0 INDEXES OF ALL TABLES OF SPACE (&00).(&01) ARE INVALID AND THE SPACE IS IN "COPY PENDING" STATE.

### Meaning

After REORG SPACE with parameter NEW ROW_IDS is executed,
the indexes are invalid and have to be updated.
Afterwards the space is in "copy pending" state.

### Response

Initiate RECOVER INDEX and subsequently COPY SPACE.

## SEW01D1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D1 INDEX (&00).(&01).(&02) IS INVALID

### Meaning

Constraints could not be checked after LOAD OFFLINE because the index
has not yet been updated.

### Response

Initiate RECOVER INDEX.

## SEW01D2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D2 SPACE (&00).(&01) IN "COPY PENDING" STATE

### Response

Create backup with COPY SPACE.

## SEW01D3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D3 AT LEAST ONE INDEX ON SPACE (&00).(&01) IS INVALID

### Meaning

The index is invalid because the index has not yet been reconstructed
after loading or recovering the table, or because the DBH disabled
the index due to inconsistency.
With COPY, the backup was performed nonetheless. Other errors that were
detected with CHECK FORMAL may also be identified in the exception
file of the space.

### Response

Initiate RECOVER INDEX.
Since only one warning can be displayed, you must also check the exception
files of the other spaces that were backed up.

## SEW01D4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D4 AT LEAST ONE INDEX INVALID ON SPACE (&00).(&01)

### Response

Initiate RECOVER INDEX ON SPACE and CHECK CONSTRAINTS ON SPACE.

## SEW01D5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D5 AT LEAST ONE TABLE ON SPACE (&00).(&01) IN "CHECK PENDING" STATE

### Response

Initiate CHECK CONSTRAINTS ON SPACE.

## SEW01D6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D6 SPACE (&00).(&01) IN "RECOVER PENDING" STATE

### Response

Initiate RECOVER SPACE with RESTART or ADJUST.

## SEW01D7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D7 TABLE (&00).(&01).(&02) IN "CHECK PENDING" STATE

### Response

Initiate CHECK CONSTRAINTS ON TABLE.

## SEW01D8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D8 AT LEAST ONE INDEX COULD NOT BE PROCESSED. SPACE (&00).(&01) CANNOT BE ACCESSED.

### Meaning

Not all indexes could be recovered or flagged as invalid, because at
least one index space or table space corresponding to index could not be
accessed. (Possible causes: the space is flagged as corrupt or is in the
"recover pending" state or is being accessed by a concurrent utility.)
Only one space name is output, but others may also be affected.

### Response

Restore the affected index space(s) or table space(s) with RECOVER.

## SEW01D9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01D9 SPACE (&00).(&01) IS FLAGGED AS CORRUPT

### Response

Repair space with recover.

## SEW01EA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EA THE SPACE (&00).(&01) WAS NOT RECOVERED, BECAUSE IT IS IN THE "COPY PENDING" STATE.

### Meaning

In the RECOVER statement SCOPE PENDING was specified. The space is in
the "copy pending" state and therefore not considered as defective.
It remains in the "copy pending" state.

### Response

Perform a COPY statement or a RECOVER without SCOPE PENDING.

## SEW01EB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EB THE SPACE (&00).(&01) WAS NOT RECOVERED, BECAUSE IT IS IN THE "CHECK PENDING" STATE.

### Meaning

In the RECOVER statement SCOPE PENDING was specified. The space is in
the "check pending" state and therefore not considered as defective.
It remains in the "check pending" state.

### Response

Perform a CHECK CONSTRAINTS statement or a RECOVER without SCOPE PENDING.

## SEW01EC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EC THE SPACE (&00).(&01) WAS NOT RECOVERED

### Meaning

In the RECOVER statement SCOPE PENDING was specified. The space could
be opened and was therefore not considered as defective.

## SEW01ED

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01ED THE SPACE (&00).(&01) COULD NOT BE RECOVERED. NO CORRECT RECOVERY UNIT WAS SPECIFIED.

### Meaning

At least one space was not recovered. In RECOVER USING the recovery unit
should be of type COPY, CREATE or REPLICATION. In RECOVER TO the type
CREATE is not allowed.

### Response

Get information from the catalog meta data about the recovery units.
Repeat the statement and specify the correct recovery unit.

## SEW01EE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EE AT LEAST THE SPACE (&00).(&01) COULD NOT BE RECOVERED.

### Meaning

At least one space was not recovered. Find more information in SYSLST of
the DBH task or by trying to recover single spaces.

## SEW01EF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EF THE SPACE (&00).(&01) WAS NOT RECOVERED, BECAUSE IT IS IN THE "REORG PENDING" STATE

### Meaning

In the RECOVER statement SCOPE PENDING was specified. The space is in the
"reorg pending" state and therefore not considered as defective. It
remains in the "reorg pending" state.

### Response

Initiate REORG SPACE so that the space becomes processible.

## SEW01EG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EG THE VALUE OF PCTFREE FOR SPACE (&00).(&01) WAS IGNORED

### Meaning

The space was in "reorg pending" state. Therefore the value of the
free-space reservation specified by PCTFREE was ignored. During
Reorganization all blocks were filled with data to the maximum
extent.

## SEW01EH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01EH THE CHECK CONSTRAINT (&02) EXPORTED FROM TABLE (&00).(&01) IS SYNTACTICALLY INCORRECT

### Meaning

A check constraint can only be included in the IMPORT, if the text of
the associated search condition is syntactically correct. Probably the
check constraint of the exported table has been defined with a different
version of SESAM/SQL.
Therefore the check constraint could not be included.

### Response

If there exists an equivalent and syntactically correct search condition,
insert the check constraint using ADD CONSTRAINT (with accordingly
modified search condition).

## SEW01E0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E0 IN ALTER COLUMN FOR COLUMN (&00) CHARACTERS OF STRING (&01) WERE TRUNCATED

### Meaning

During conversion of the data type for ALTER COLUMN, some characters
have been removed from the end of a string.

### Response

Check the SQL statement and the data types of the value and column.

## SEW01E1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E1 SPECIFYING NEW ROW_IDS (DEFAULT) IS IGNORED FOR TABLES WITHOUT PRIMARY KEYS.

### Meaning

Generation of new record numbers requested for IMPORT
(NEW ROW_IDS specified explicitly or set as default), but the
table has no primary key. The record numbers of the original
table are therefore used, and the NEW ROW_IDS specification
is ignored.

### Response

Note that no new record numbers have been assigned.

## SEW01E2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E2 THE EXPORT FILE CONTAINS NO USER DATA.

### Meaning

Subsequent loading of user data was requested for IMPORT
(ALL DATA parameter specified explicitly or set as default),
but the export file did not contain any user data; i.e. the exported
table was empty or was exported with the NO DATA parameter.

### Response

Note that the imported table is empty.

## SEW01E3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E3 THE EXPORT FILE CONTAINS NO METADATA FOR INDEXES.

### Meaning

WITH INDEX was specified for IMPORT, but the export
file did not contain any metadata for indexes.

### Response

Note that the imported table does not contain any indexes.

## SEW01E4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E4 THE EXPORT FILE CONTAINS NO METADATA FOR INTEGRITY CONSTRAINTS.

### Meaning

WITH CONSTRAINT was specified for IMPORT, but the export
file did not contain any metadata for UNIQUE or CHECK constraints.

### Response

Note that the imported table does not contain any integrity constraints
(apart from the primary key, if applicable).

## SEW01E5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E5 THE NAME OF THE INTEGRITY CONSTRAINT (&00).(&01).(&02) IS NOT UNIQUE WITHIN THE SCHEMA.

### Meaning

An integrity constraint whose name already exists in this schema was
to be created in the IMPORT; a new unique constraint name has therefore
been generated by SESAM.

### Response

Note that the name of at least one integrity constraint was not
transferred from the exported table.

## SEW01E6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E6 THE NAME OF INDEX (&00).(&01).(&02) IS NOT UNIQUE WITHIN THE SCHEMA.

### Meaning

An index whose name already exists in this schema was to be
created in the IMPORT; a new unique index name was therefore
generated by SESAM.

### Response

Note that the name of at least one index was not transferred from
the exported table.

## SEW01E7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E7 AN INDEX IS DEFECTIVE OR INVALID ON SPACE (&00).(&01).

### Meaning

At least one defective or invalid index was identified in the formal
check of spaces. However, the backup was generated nonetheless. An
defective index is still flagged as valid in the catalog. More information
on the error can be found in the exception file of the specified space.
Other spaces may also be affected.

### Response

Check the exception files of all spaces that were backed up.
Initiate RECOVER INDEX SCOPE ALL and create a new backup
of the affected spaces.

## SEW01E8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E8 THE INDEX OF A UNIQUE CONSTRAINT IS NOT UNIQUE ON SPACE (&00).(&01).

### Meaning

The index generated for the UNIQUE constraint of a table was identified
as not unique in the formal inspection of spaces.
However, the backup was created nonetheless. The index is still flagged
as valid in the catalog. In addition, errors may have been detected
in other spaces.

### Response

Modify the table so that the UNIQUE constraint is fulfilled again.
As only one warning can be displayed, you must also check the exception
files of the other spaces that were backed up.

## SEW01E9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01E9 THE CHECK CONSTRAINT (&02) EXPORTED FROM TABLE (&00).(&01) CONTAINS A QUALIFIED COLUMN NAME

### Meaning

A check constraint can only be included in the IMPORT, if the text of the
associated search condition does not contain a qualified column name, or
if the specified schema or table name matches the name of the table to be
created.
At least one of the check constraints could therefore not be included.

### Response

Insert the check constraint using ADD CONSTRAINT (with non-qualified
column name) or repeat the IMPORT and thereby use the name of the
exported table.

## SEW01F0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01F0 THE INDEX (&00).(&01).(&02) IS INVALID.

### Meaning

CHECK FORMAL found an invalid index. It is incompatible to the
corresponding table and will be ignored accessing the data.

### Response

Perform a RECOVER INDEX statement for the index.

## SEW01F1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01F1 THE SPACE (&00).(&01) HAS NOT BEEN RECOVERED.

### Meaning

RECOVER SCOPE PENDING was specified and the space was not defective.

## SEW01F2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01F2 THE INDEX (&00).(&01).(&02) IS NOT UNIQUE.

### Meaning

The index concerns an unique constraint, but is not unique. The
corresponding table is in the "check pending" state.

### Response

Modify the table to fulfill the unique constraint and perform a
CHECK CONSTRAINTS ON TABLE statement.

## SEW01F3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01F3 SOME INDEXES ARE INVALID ON SPACE (&00).(&01)

### Meaning

CHECK FORMAL found some invalid indexes. They are incompatible to the
corresponding tables and will be ignored accessing the data.

### Response

Perform a RECOVER INDEX statement for the indexes

## SEW01F4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01F4 LOAD PARAMETER SKIP FIRST RECORDS CAUSES ALL RECORDS OF INPUT FILE (&00) TO BE SKIPPED

### Meaning

The value of parameter SKIP FIRST RECORDS is identical to the number
of records in the input file. Therefore not a single record was loaded.

### Response

Check whether the intended value was specified for parameter SKIP FIRST
RECORDS.

## SEW01F5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01F5 INPUT FILE (&00) CONTAINS ONLY NEWLINE CHARACTERS

### Meaning

The input file is not empty, but it contains only NEWLINE characters.
Therefore not a single record was loaded.

### Response

Check whether the input file has the intended data content.

## SEW01N0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01N0 ANNOTATION WAS IGNORED

### Meaning

A comment delimited by /*% and %*/ was not interpreted as annotation
because of its contents or its position in the text.

### Response

Correct the contents or the position in the text, or use other comment
delimiters.

## SEW01P1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01P1 GRANT AND REVOKE MEANINGLESS FOR USER-OWN PRIVILEGES (USER (&00), CATALOG (&01))

### Response

Modify application program accordingly.

## SEW01P2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01P2 REORGANIZATION WAS CARRIED OUT WITHOUT RELOCATION.

### Meaning

The user ID of the database is different to that of the DBH, therefore
space cannot be relocated to the modified storage group.

### Response

To relocate, start the DBH under the user ID of the database or relocate
space with BS2000 tools.

## SEW01P3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01P3 CATALOG WAS NOT OPEN WHEN CAT-REC COPY (&00) WAS CREATED.

### Meaning

The CAT-REC copy is not ideal for recovery. No catalog was open when
the CAT-REC file was copied, so the copy of the CAT-REC does not
describe further logging until the next time the catalog is changed.

### Response

If an appropriate CAT-REC copy is required for the security concept, a
new copy should be made. The CAT-REC copy is sufficient for the refresh
replication function.

## SEW01P4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01P4 COPY OF CAT-REC FILE (&00) WAS NOT CREATED.

### Meaning

The CAT-REC copy (&00) was not created because the CAT-REC file is not
open.

## SEW01X1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01X1 REPLICATION OR CATALOG (IN THE CASE OF A RECOVERY) ALREADY AT STATUS OF SPECIFIED CAT-REC FILE (&00).

### Meaning

The CAT-REC file (&00) does not contain any additional information
for updating the replication or catalog (in the case of a recovery).

### Response

Repeat the statement with the current CAT-REC file or CAT-REC copy.
Alternatively, create a new replication.

## SEW01X2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01X2 THE BACKUP OF SPACE (&00).(&01) CANNOT BE USED DUE TO INCORRECT SESAM VERSION.

### Meaning

The backup was created in a SESAM version that does not match the version
of the SESAM DBH.
The respective space (at least) was not repaired.
Errors may also have occurred in other spaces.

## SEW01X3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01X3 THE BACKUP OF SPACE (&00).(&01) CANNOT BE USED DUE TO INCORRECT BACKUP IDENTIFICATION.

### Meaning

The timestamp in the space control block of the backup does not match
the timestamp specified for this backup in the catalog metadata. The
respective space (at least) was not repaired. Errors may have also
occurred in other spaces.

## SEW01X4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01X4 AN ERROR OCCURRED WHEN LOADING THE BACKUP FILE OF SPACE (&00).(&01).

### Meaning

The backup could not be loaded.
This space (at least) was not repaired.
Errors may have also occurred in other spaces.

## SEW01Y0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01Y0 CHARACTERS AT THE END WERE TRUNCATED WHEN SAVING THE BLOB DESCRIPTION.

### Meaning

The BLOB description could not be saved completely in the SLICE_VAL
column because the length of 31000 characters was exceeded.

### Response

Check the application program and change it if necessary.

## SEW01Y1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01Y1 BUFFER LENGTH 0 FOR BLOB FETCH OR VALUE LENGTH 0 FOR BLOB STOW.

### Meaning

Only one buffer of length 0 was made available for the BLOB fetch, which
means that none of the undelivered part of the BLOB value can be
transferred, or a value of length 0 was transferred for the BLOB stow.

### Response

Check the application program and change it if necessary.

## SEW01Y2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01Y2 AT LEAST ONE USER SPACE (&00).(&01) DOES NOT MATCH CATALOG SPACE

### Meaning

a) RECOVER CATALOG_SPACE TO REPLICATION affected mismatch of user spaces.
b) RECOVER CATALOG_SPACE USING REPLICATION was not executed with current
CAT-REC file of the catalog.
c) RECOVER CATALOG used a partial replication, therefore not all of the
user spaces could be processed.

### Response

a) Initiate recovery of spaces.
b) Repeat statement with current CAT-REC file or initiate recovery of
spaces.
c) Initiate recovery of those spaces, which are not contained in the
partial replication, using other recovery units.

## SEW01Y3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW01Y3 THE RECORD NUMBERS OF IMPORTED TABLE (&00).(&01).(&02) HAVE BEEN REGENERATED

### Meaning

The OLD ROW_IDS parameter was ignored because record numbers are
regenerated when importing a partitioned table into a non-partitioned
table.

## SEW0103

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0103 NULL VALUES ELIMINATED DURING EVALUATION OF SET FUNCTION

### Meaning

At least one null value was eliminated during evaluation of one of the
following set functions: COUNT, MIN, MAX, SUM or AVG.

## SEW0104

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0104 STRING DATA WAS TRUNCATED ON THE RIGHT

### Meaning

A character string has been truncated at the right end upon reading
from a table or from a CSV file, as a result of a CAST(),
or upon converting a column value into an output format.

### Response

Modify the SQL statement or the application program if
the truncated characters are to be read or converted.

## SEW0105

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0105 NUMBER OF ITEM DESCRIPTOR AREAS IS TOO SMALL

### Meaning

The number of item descriptor areas specified by means of WITH MAX during
allocation of the descriptor area is smaller than the number of
descriptions of input or output parameters to be set with this DESCRIBE
statement. The number of item descriptor areas required is contained in
the COUNT field. No other changes were made to the descriptor area.

### Response

Increase the allocation for the descriptor area.

## SEW0106

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0106 USER (&00) (GRANTOR) WAS NOT ABLE TO REVOKE AT LEAST ONE PRIVILEGE FROM AT LEAST ONE OTHER USER (GRANTEE)

### Meaning

An attempt was made to revoke privileges from a user (grantee) which this
user has not been granted, or which the grantor has not been granted, or
which are not grantable.

### Response

Use the INFORMATION_SCHEMA views to check the privileges of the user
(grantee).

## SEW0107

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0107 USER (&00) (GRANTOR) WAS NOT ABLE TO GRANT AT LEAST ONE PRIVILEGE TO ANOTHER USER (GRANTEE)

### Meaning

An attempt was made to grant privileges to a user (grantee) which the user
with the authorization identifier (&00) (grantor) has not been granted or
which are not grantable.

### Response

Use the INFORMATION_SCHEMA views to check the privileges of the grantor.

## SEW0108

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0108 TABLE (&00).(&01).(&02) IS IN "CHECK PENDING" STATE.

### Meaning

Records are unloaded from a table which is in "check pending" state.
Maybe constraints of the table are violated and therefore data could be
invalid.

### Response

Apply Check Constraints statement for this table and check the
unloaded records.

## SEW02A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW02A1 FIELDS OF THE ITEM DESCRIPTOR AREA READ ARE UNDEFINED

### Meaning

GET DESCRIPTOR was used to read an item descriptor area whose item number
(specified after VALUE) was greater than the COUNT value. All the fields
of this item descriptor area have undefined values.

### Response

Ignore the values read and make the item number smaller.

## SEW0200

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0200 NO ROW READ OR UPDATED

### Meaning

No row was read for a FETCH or SELECT statement.
No row was deleted for a DELETE statement.
No row was updated for an UPDATE statement.
No row was inserted for an INSERT statement.
No row was inserted or updated for a MERGE statement.

### Response

Modify the application program if necessary.

## SEW07AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07AA DATA AND INDICATOR CANNOT BE READ FROM A BOUND SQL DESCRIPTOR AREA

### Meaning

As long as variables are bound to an SQL descriptor area, DATA and
INDICATOR values are contained in these variables only.

### Response

Read the values from the bound variables.

## SEW07AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07AB INVALID TYPE DESCRIPTION IN AN SQL ITEM DESCRIPTOR AREA (NUMBER (&00))

### Meaning

In an item of the SQL descriptor area, the values of the
fields TYPE, DATETIME_INTERVAL_CODE, LENGTH, PRECISION, and SCALE
fail to designate a valid data type.

### Response

Correct the type descriptions before binding the SQL descriptor area.

## SEW07AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07AC ADDRESS NUMBER (&00) IN THE VARIABLE FOR SET DATA_POINTERS WAS ZERO

### Meaning

For each variable to be bound to DATA, the address must be different
from zero.

### Response

Allocate DATA variables whose addresses differ from zero and repeat the
SET DESCRIPTOR.

## SEW07AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07AD ADDRESS OF A VARIABLE FOR INDICATOR MISSING IN A SESAM VECTOR

### Meaning

An address different form zero was specified in INDICATOR_POINTERS
for some, but not for all, components of a SESAM vector.

### Response

Repeat the SET DESCRIPTOR, specifying either addresses different from
zero for each component of the vector, or else address zero for
each component.

## SEW07A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A1 DIFFERENT DATA TYPES FOR VECTOR COMPONENTS IN DESCRIPTOR AREA

### Meaning

Item descriptor areas grouped together as a vector by means of a
REPETITIONS value greater than 1 must all have the same SQL data type
if the descriptor area is to be used in an OPEN, FETCH or EXECUTE
statement.

### Response

Set the same values for TYPE and, if appropriate, for
DATETIME_INTERVAL_CODE, LENGTH, PRECISION and SCALE.

## SEW07A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A2 INVALID VECTOR DIMENSION FOR DYNAMIC PARAMETER

### Meaning

A dynamic parameter or the corresponding input parameter used in an
EXECUTE USING or OPEN USING statement is a vector, but the two do not
have the same number of components.

### Response

In the case of USING SQL DESCRIPTOR, supply the REPETITIONS fields with
valid values; otherwise use host variables with the correct number of
components.

## SEW07A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A4 INVALID REPETITIONS VALUE IN SET DESCRIPTOR

### Meaning

The value specified for REPETITIONS in SET DESCRIPTOR is less than 1 or
greater than the maximum number of 255 vector occurrences.

### Response

Specify a valid value.

## SEW07A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A5 INVALID REPETITIONS VALUE IN DESCRIPTOR AREA

### Meaning

The REPETITIONS value in the item for the first component of a vector was
invalid during execution of an OPEN, FETCH or EXECUTE statement with a
descriptor area. Either the value specified for REPETITIONS in an item
descriptor area for a subsequent vector component is not equal to 1, or
the item number of the last component of the vector is greater than the
COUNT value.

### Response

Specify a valid value in the REPETITIONS field.

## SEW07A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A6 VARCHAR AND NVARCHAR NOT PERMITTED FOR VECTORS IN DESCRIPTOR AREA

### Meaning

The item descriptor areas grouped together as a vector by specifying a
REPETITIONS value greater than 1 must not have SQL data type VARCHAR or
NVARCHAR if the descriptor area is to be used in an OPEN, FETCH or EXECUTE
statement. You must not use SET DESCRIPTOR to set the TYPE field to
VARCHAR or NVARCHAR, and the REPETITIONS field to a value greater than 1
indicating a vector with several components.

### Response

Specify a TYPE other than VARCHAR and NVARCHAR, or set REPETITIONS to 1
explicitly or implicitly.

## SEW07A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A7 AN SQL DESCRIPTOR AREA CANNOT BE RELEASED WHILE IT IS BEING USED FOR A FETCH WORKING ON A BUFFERED CURSOR.

### Meaning

The SQL descriptor area is used for the result records of a buffered
cursor. The SQL descriptor area may not be released while this cursor
is open.

### Response

Do not release SQL descriptor area until the cursor has been closed.

## SEW07A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A8 AN SQL DESCRIPTOR AREA CANNOT BE MODIFIED WHILE IT IS BEING USED FOR A BUFFERED CURSOR

### Meaning

The SQL descriptor area is used for the result records of a buffered
cursor. While this cursor is open, type descriptions and values in the
SQL descriptor must not be modified with SET DESCRIPTOR, DESCRIBE, or
with another FETCH.

### Response

Modify application program accordingly.

## SEW07A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW07A9 THE FETCH REQUESTS FOR A BUFFERED CURSOR MAY NOT USE DIFFERENT SQL DESCRIPTOR AREAS

### Meaning

The first FETCH request to a buffered cursor determines the name of
the SQL descriptor area to be used. Only this SQL descriptor area may
be used in FETCH statements for the cursor while the cursor is open.

### Response

Modify application program accordingly.

## SEW0701

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0701 USING CLAUSE DOES NOT CORRESPOND TO THE DYNAMIC PARAMETERS (ITEM NUMBER (&00))

### Meaning

The number of input parameters specified in the USING clause of OPEN or
EXECUTE is not compatible with number of dynamic parameters "?" specified
in the prepared statement (item number 0), or in the descriptor area item
(&00) contains an invalid type description or the values for INDICATOR and
DATA do not match the type description. If a dynamic parameter is a
vector, then the corresponding input parameter must be a vector with the
same number of components.

### Response

Modify the descriptor area if applicable; or adapt the number of host
variables to the number of dynamic parameter.

## SEW0702

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0702 INTO CLAUSE DOES NOT CORRESPOND TO THE OUTPUT VALUES (ITEM NUMBER (&00))

### Meaning

The number of output parameters specified in the INTO clause of a FETCH
or EXECUTE statement is not compatible with the number of columns in the
row to be read item number (&00); or descriptor area item (&00) contains
an invalid type description. For multiple columns, the output parameter
must be a vector with the same number of components.

### Response

Modify the SQL descriptor area if applicable; or adapt the number of
variables or parameters to the table to be read.

## SEW0703

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0703 CURSOR SPECIFICATION CANNOT BE EXECUTED

### Meaning

An attempt was made to perform an EXECUTE statement on a cursor
specification.

### Response

Modify application program accordingly.

## SEW0704

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0704 USING CLAUSE REQUIRED FOR DYNAMIC PARAMETERS

### Meaning

The USING clause for the values of the "?" dynamic parameters in the
prepared statement is missing from the EXECUTE or OPEN statement.

### Response

Include the USING clause in the statement.

## SEW0705

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0705 PREPARED SQL STATEMENT IS NOT A CURSOR SPECIFICATION

### Meaning

A PREPARE statement was executed for a statement identifier which is
linked to a dynamic cursor name, and the prepared statement is not a
cursor specification.

### Response

None. This SQLSTATE value can be used in the application program to
indicate that an EXECUTE statement instead of an OPEN statement is to be
executed for the prepared statement.

## SEW0706

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0706 ILLEGAL DATA TYPE FOR DYNAMIC PARAMETER

### Meaning

The USING clause of the EXECUTE or OPEN statement specifies a value of a
data type that is not assignable to the data type of the corresponding
dynamic parameter.
Numeric values are only assignable to numeric data types; alphanumeric
character strings are only assignable to data types CHAR and VARCHAR;
Unicode character strings are only assignable to data types NCHAR and
NVARCHAR; and values of the data types TIMESTAMP, DATE and TIME are not
assignable to other data types.

### Response

Use a value of an appropriate data type in the USING clause.

## SEW0707

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0707 INTO CLAUSE REQUIRED FOR OUTPUT VALUES

### Meaning

The INTO clause for the output values of the prepared SELECT statement has
been omitted in the EXECUTE statement.

### Response

Include the INTO clause in the statement.

## SEW0708

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0708 INVALID DESCRIPTOR COUNT

### Meaning

The COUNT value in the descriptor area referenced with INTO SQL DESCRIPTOR
or USING SQL DESCRIPTOR is less than 0 or greater than the number of item
descriptor areas specified with WITH MAX upon allocation of the descriptor
area.

### Response

Use DESCRIBE or SET DESCRIPTOR to supply COUNT with a valid value before
executing EXECUTE, OPEN or FETCH.

## SEW0709

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW0709 INVALID ITEM NUMBER

### Meaning

(1) The item number specified for VALUE in SET DESCRIPTOR or GET
DESCRIPTOR must be at least 1, must be less than or equal to the COUNT
value, and must be less than or equal to the number of item descriptor
areas specified with WITH MAX upon allocation of the descriptor area. If
several item descriptor areas are read or set, this applies to the item
numbers of each of these item descriptor areas.
(2) The maximum item number specified for WITH MAX in ALLOCATE DESCRIPTOR
must be between 1 and 32767 (inclusive).

### Response

Specify a valid item number.

## SEW2DS0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2DS0 SQL STATEMENTS COMMIT AND ROLLBACK ARE NOT ALLOWED WITHIN A CALL DML TRANSACTION

### Meaning

A CALL DML statement or a UTM function must be used
to end a CALL DML transaction.

### Response

Modify the SQL program.

## SEW2D00

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2D00 COMMIT AND ROLLBACK NOT PERMITTED IN UTM APPLICATION

### Meaning

In a UTM application, a transaction can only be terminated using UTM
language elements (PEND variant). A COMMIT or ROLLBACK statement is not
permitted in a UTM application.

### Response

Modify application program accordingly.

## SEW2F02

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2F02 STATEMENTS MODIFYING DATA ARE NOT ALLOWED IN THIS ROUTINE

### Meaning

The routine is defined with data access indication READS SQL DATA or
CONTAINS SQL. Therefore no statements that modify data are allowed.

### Response

Change data access indication of the routine to MODIFIES SQL DATA.

## SEW2F03

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2F03 SQL STATEMENT NOT ALLOWED IN A ROUTINE

### Meaning

In a routine only DML statements and SQL control statements
(e.g. IF or LOOP) are allowed.

### Response

Modify text of the routine accordingly.

## SEW2F04

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2F04 STATEMENTS READING DATA ARE NOT ALLOWED IN THIS ROUTINE

### Meaning

The routine is defined with data access indication CONTAINS SQL.
Therefore no statements that read data are allowed.

### Response

Change data access indication of the routine to READS SQL DATA or
MODIFIES SQL DATA.

## SEW2F05

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2F05 FUNCTION (&00).(&01).(&02) MUST BE FINISHED WITH A RETURN STATEMENT.

### Meaning

The last processed statement in a function must be a RETURN statement.

### Response

Fix application.

## SEW2000

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2000 CASE STATEMENT WITHOUT MATCHING CONDITION DOES NOT CONTAIN AN ELSE CLAUSE

### Meaning

In a CASE statement without a matching condition there must be an
ELSE clause.

### Response

Modify the SQL program.

## SEW2100

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2100 RESULT TABLE CONTAINS MORE THAN 1 ROW

### Meaning

Processing of a SELECT statement or a subquery resulted in more than one
row. This is not permitted.

### Response

Modify application program accordingly.

## SEW2101

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2101 ONLY WHEN EMPTY IS SPECIFIED, BUT SOME ROWS ARE AFFECTED BY REPARTITIONING.

### Meaning

The alter partitioning statement is specified with ONLY WHEN EMPTY,
but some rows are affected by repartitioning.

### Response

Change statement.

## SEW2102

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2102 IN A MERGE STATEMENT FOR EACH ROW OF THE TARGET TABLE THE ON SEARCH CONDITION MAY BE TRUE FOR AT MOST ONE ROW OF THE SOURCE TABLE.

### Meaning

In a MERGE statement there is at least one row in the target table
where the ON search condition is true for more than one row of the
source table.

### Response

Change statement.

## SEW22A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A1 DECIMAL PLACES TRUNCATED OR ROUNDED

### Meaning

Decimal places were truncated or rounded when the literal from the
WHEN...THEN NULL condition (LOAD) or WHEN NULL THEN condition (UNLOAD)
was converted.

### Response

Specify the value using a suitable format.

## SEW22A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A2 NULL BYTE MISSING FROM C HOST VARIABLE

### Meaning

If C host variables whose type corresponds to the SQL data type CHAR or
VARCHAR are used as input parameters, each input value must be followed by
a null byte.
(This message text is used only by older versions of SESAM SQL.)

### Response

Add null byte.

## SEW22A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A3 CHANGE TO CALL DML DEFAULT VALUE CHARACTER NOT PERMITTED IN SQL STATEMENTS

## SEW22A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A4 NUMERIC VALUE (&01) OF COLUMN (&00) TOO LARGE OR TOO SMALL FOR ALTER COLUMN.

### Meaning

When converting the data type with ALTER COLUMN an overflow or underflow
occurred for a numerical value.

### Response

Check the SQL statement and the data types of the value and column.

## SEW22A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A5 INVALID CHARACTER WITH ALTER COLUMN IN CHARACTER STRING (&01) OF COLUMN (&00).

### Meaning

When converting the data type of a character string with ALTER COLUMN to a
numeric type or a time type, a character occurred in the argument which is
invalid in a literal of the corresponding type.

### Response

Check the SQL statement and the data types of the value and column.

## SEW22A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A6 ON ALTER COLUMN FOR COLUMN (&00) SIGNIFICANT CHARACTERS OF STRING (&01) WERE TRUNCATED

### Meaning

During conversion of the data type with ALTER COLUMN, characters other
than blanks were truncated at the end of a string.

### Response

Check the SQL statement and the data types of the value and column.

## SEW22A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A7 CALL DML VALUE CREATED ON ALTER COLUMN FOR COLUMN (&00) WITH VALUE (&01)

### Meaning

During conversion of the data type for ALTER COLUMN, a CALL DML value of
the column to be converted was created.

### Response

Check the SQL statement and the data types of the value and column.

## SEW22A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A8 ON ALTER COLUMN, COMPONENTS OF MULTIPLE COLUMN (&00) TRUNCATED, FIRST COMPONENT TRUNCATED HAS THE VALUE (&01)

### Meaning

During conversion of the data type on ALTER COLUMN, components of a
multiple column were truncated.

### Response

Check the SQL statement and the data types of the value and column.

## SEW22A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22A9 SQL DEFAULT VALUE OF COLUMN (&03) IN TABLE (&00).(&01).(&02) DOES NOT MATCH NEW DATA TYPE

### Meaning

When modifying the data type of a column with the SQL default value it
must be possible to convert the default value to the new data type.

### Response

Add DROP DEFAULT to the ALTER TABLE statement for the affected column.
A (suitable) new SQL default value can now be defined using SET
<default clause>.

## SEW22B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B0 DEFAULT VALUE INVALID FOR MULTIPLE COLUMN (&03) IN TABLE (&00).(&01).(&02)

### Meaning

An atomic column with a default value cannot be converted to a multiple
column: a default value is not permitted for a multiple column.

### Response

Add DROP DEFAULT to the ALTER TABLE statement for the affected column.

## SEW22B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B1 INVALID SUBSTITUTE CHARACTER

### Meaning

A substitute character must consist of one code unit
and must not be a surrogate.
Surrogates have UTF16 code units in the range NX'D800' through NX'DFFF'.

### Response

Fix the substitute character value.

## SEW22B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B2 VALUE (&00) OF COLUMN (&01) CANNOT BE TRANSLITERATED

### Meaning

Executing a DDL or utility statement, the transliteration of a character
string failed.
Possibly the string contains a character that cannot be transliterated
for the used coded character set (code table of the catalog or CCSN of
the input file), or the character string of data type NATIONAL CHARACTER
[VARYING] cannot be transliterated to UTFE.

### Response

Change the character string value, or change the code table name of the
catalog, or change the CCSN of the input file.

## SEW22B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B3 THE VALUE OF COLUMN (&00) CONTAINS THE DELIMITER CHARACTER

### Meaning

When the UNLOAD statement is issued, the value of a column
contains the delimiter character.

### Response

Select another delimiter character, or use csv format with quote
character or escape character.

## SEW22B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B4 THE DATA TYPE OF THE COLUMN (&00) IS (N)VARCHAR AND THE VALUE HAS LENGTH ZERO

### Meaning

When the UNLOAD statement is issued, the value of a column with data type
(N)VARCHAR has length zero.

### Response

Use CSV format with a quote character.

## SEW22B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B5 VALUE OF COLUMN (&00) CONTAINS A NEWLINE CHARACTER

### Meaning

When the UNLOAD statement is issued, the value of a column contains
a NEWLINE character, i.e. after conversion the value contains a
character X'04', X'0D', X'15' or X'25'.

### Response

Use CSV format with a quote character.

## SEW22B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B6 VALUE OF COLUMN (&00) IN INPUT FILE IS TOO LONG

### Meaning

The value in the input file contains more than 32000 characters.
The respective record of the input file is not loaded into the table.

### Response

Modify value accordingly.

## SEW22B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22B7 SPECIFIED FETCH POSITION IS NULL

### Meaning

Evaluation of a FETCH POSITION must not result in a null value.

### Response

Modify fetch position accordingly.

## SEW22C0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22C0 OCTET LENGTH ERROR IN STRING ARGUMENT

### Meaning

The argument value in a function VALUE_OF_REP(), or the decrypted
value computed by a function DECRYPT(), has the wrong octet length
for the target data type of the function.
Depending on the target data type, the octet length must be:
- 2 for SMALLINT, 4 for INT and REAL, 8 for DOUBLE;
- P for NUMERIC(P,S), FLOOR(P/2 + 1) for DECIMAL(P,S):
- 6 for DATE, 14 for TIMESTAMP(3), 8 for TIME(3);
- R for CHAR(R), 2*R for NCHAR(R);
- <= R for VARCHAR(R);
- <= 2*R and even for NVARCHAR(R).

### Response

Change the target type of the function, or change the argument value.

## SEW22C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22C1 ENCRYPTION KEY WITH WRONG OCTET LENGTH

### Meaning

In a function ENCRYPT or DECRYPT, the value of the encryption key
is inappropriate for the encryption method.
For the AES method, the key must have a length of 16 octets.

### Response

Use the correct encryption key.

## SEW22C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22C2 ENCRYPTED VALUE WITH WRONG OCTET LENGTH

### Meaning

In a function DECRYPT, the argument with the encrypted
value has length inappropriate for the encryption algorithm.
For the AES method, the encrypted values must have a length
that is an integral multiple of 16 octets, but not 0 octets.

### Response

Use the correct encrypted value.

## SEW22C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22C3 INCORRECT DECRYPTION KEY

### Meaning

The decryption key in a function DECRYPT was incorrect so that
the argument could not be decrypted.
For the AES method, the decryption key must be exactly
the same as the key for the encryption.

### Response

Use the correct encryption key.

## SEW22C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22C4 ARGUMENT IS NOT A HEXADECIMAL STRING

### Meaning

A character string that is to be used as a hexadecimal string
contains a character that is not a hexadecimal digit (0, 1, 2, 3, 4,
5, 6, 7, 8, 9, A, a, B, b, C, c, D, d, E, e, F, f), or it has
a length that is not a multiple of two.

### Response

Use a correct string value.

## SEW22C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW22C5 ILLEGAL UTFE VALUE.

### Meaning

An UTFE value contains an illegal code sequence.
Illegal UTFE values can also occur when a CSV file
is read and the specified data type for containing an UTFE value has
a length wich is too small (and hence the value has to be cut off).

### Response

Modify value.

## SEW2201

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2201 CHARACTER STRING TRUNCATION ON THE RIGHT (PARAMETER POSITION (&00))

### Meaning

A string value is too long to be stored in a column of a table, in a
variable or in a parameter, or the character string result of a CAST(),
NORMALIZE(), or of a concatenation is too long for the result type.
A CAST() of a character string to a character string type does not lead to
this exception; nor does concatenation and storage assignment, when only
trailing spaces are truncated.
If the offending string value is contained in a host variable or in an SQL
input descriptor area item, then PARAMETER POSITION indicates the ordinal
position of that parameter within all input parameters.
Otherwise, PARAMETER POSITION is 0.

### Response

Reduce the length of the offending character string value, or increase the
length of the result type.

## SEW2202

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2202 NULL VALUE: NO INDICATOR VARIABLE SPECIFIED FOR PARAMETER (&00)

### Meaning

A null value is to be transferred to the host variable &00, but no
indicator variable was set.

### Response

Specify an indicator variable in the SQL statement or ensure that no null
values can occur.

## SEW2203

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2203 NUMERIC VALUE TOO LARGE OR TOO SMALL (NUMBER (&00))

### Meaning

An overflow or underflow occurred when calculating or assigning a numeric
value. If an output value was calculated or assigned to a host variable
or to an entry of the descriptor area, &00 is the number of the element in
the SELECT list. In the case of a dynamic parameter, an (input) value was
passed which cannot be represented in the corresponding format; &00 is the
number of the associated host variable or of the associated "?"
placeholder. In all other cases, e.g. when assigning a value to a column
or when performing a calculation within a predicate, number equals 0.

### Response

Change the application program.

## SEW2205

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2205 INVALID DATA ASSIGNMENT IN ITEM DESCRIPTOR AREA

### Meaning

In GET DESCRIPTOR and SET DESCRIPTOR, the SQL data type of the host
variable for the DATA field must be the same as SQL data type of the item
descriptor area. In the case of GET DESCRIPTOR, however, the SQL data type
of the host variable for a DATA field with the SQL data type VARCHAR may
have a greater maximum length.

### Response

Use a different host variable or change the SQL data type of the item
descriptor area by setting TYPE and, if appropriate,
DATETIME_INTERVAL_CODE, LENGTH, PRECISION and/or SCALE.

## SEW2208

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2208 RESULT OF A DATE FUNCTION OUTSIDE OF PERMITTED RANGE

### Meaning

The result of a DATE function is not within the range of
permissible dates, from 0001-01-01 to 9999-12-31, inclusive.
The corresponding Julian day numbers range
from 1721426 to 5373484, inclusive.

### Response

Modify the application program.

## SEW221S

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW221S INVALID PATTERN IN LIKE REGEX (DISPLACEMENT / REASON: (&00) / (&01))

### Meaning

The regular expression for the pattern of a LIKE REGEX does not match
the rules for a LIKE REGEX pattern (at the given displacement).

### Response

Fix pattern.

## SEW221T

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW221T INVALID OPTION FLAG IN LIKE REGEX

### Meaning

An option flag of a LIKE REGEX must not any other flags
than s, m, i and x; no spaces are allowed in the option flag.

### Response

Fix option flag.

## SEW221U

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW221U ERROR WHILE EVALUATING LIKE_REGEX PREDICATE ((&00))

### Meaning

While evaluating a LIKE_REGEX predicate, the declared error occurred.
Please note that some inappropriate regular expressions
(so called runaway regular expressions) could lead to nearly infinite
runtime when evaluating for certain values; hence such evaluations
will be interrupted with error messages (for example error messages
containing the keyword -match- indicate such situations).
In most cases, those regular expressions could be rewritten in a way
that keeps semantics and avoids the described error.

### Response

Fix statement rsp. pattern depending on the declared error.

## SEW2211

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2211 END POSITION OF THE SUBSTRING LEFT OF THE START POSITION

### Meaning

A substring is defined by a start position and an explicit or
implicit length. If the length was explicit, its value was negative.
If it was implicit, the start position was to the right of the
(argument) string.

### Response

If literals are being used for start position and/or length, they
must be corrected. Otherwise, analyze the expression and the values
being entered into it.

## SEW2212

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2212 DIVISION BY ZERO

### Meaning

An attempt was made to divide by zero.

### Response

Modify application program accordingly.

## SEW2218

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2218 ILLEGAL CHARACTER IN CAST OR VALUE_OF_REP STRING ARGUMENT

### Meaning

During conversion of a string to a numerical type or time type
using CAST or VALUE_OF_REP, a character which is illegal in a
literal of the relevant type occurred. This can also happen
implicitly if for example in the function DECRYPT() the
decrypted argument cannot be converted into the given data type.

### Response

Check SQL statement and data type of the value and of the column.

## SEW2219

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2219 ESCAPE CHARACTER WITH INCORRECT LENGTH

### Meaning

The length in CHARACTERS (with CHAR) resp in CODE_UNITS (with NCHAR)
of the ESCAPE string in a LIKE predicate must be one.

### Response

Use a value with the correct length.

## SEW2221

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2221 CHARACTER OUTSIDE OF THE DOMAIN OF THE TRANSLITERATION

### Meaning

The transliteration of a character string failed because the string
contains a character that cannot be transliterated with the specified
transliteration, and no substitute character is specified.

### Response

Change the character string value, or use another transliteration,
or specify a substitute character.

## SEW2223

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2223 ILLEGAL VALUE IN HOST VARIABLE (&00)

### Meaning

Host variable &00 contains a value which does not correspond to the type
description.
(In static SQL, host variables that are used in a procedure call as
pure output variables have also to be initialized according
to their data type!)

### Response

Change the application program.

## SEW2224

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2224 NULL BYTE MISSING FROM C HOST VARIABLE

### Meaning

If C host variables whose type corresponds to the SQL data type CHAR or
VARCHAR are used as input parameters, each input value must be followed by
a null byte.

### Response

Add null byte.

## SEW2225

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2225 ESCAPE CHARACTER USED INCORRECTLY IN PATTERN

### Response

Modify application program accordingly.

## SEW2227

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2227 LENGTH OF TRIM CHARACTER VALUE NOT 1 CODE UNIT

### Meaning

The trim character is an expression of data type VARCHAR or NVARCHAR
whose value during execution does not have a length of one code unit.

### Response

Check the specification of the trim character.

## SEW2229

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2229 NONCHARACTER IN UNICODE CHARACTER STRING

### Meaning

The value of a concatenation, of DECRYPT(), VALUE_OF_REP(), of a host
variable, or of another SQL operation contains a Unicode noncharacter
which is not allowed for Unicode character strings in SQL.
Unicode noncharacters have code points U&'\FDDx', U&'\FDEx',
U&'\+0xFFFE', U&'\+0xFFFF', U&'\+10FFFE', and U&'\+10FFFF'.

### Response

Fix the expression or the values of its operands.

## SEW23A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW23A0 REFERENTIAL CONSTRAINT (&00).(&01).(&02) VIOLATED

### Meaning

Violation of a referential constraint was detected during execution of the
SQL statement.

### Response

Modify the application program.

## SEW23A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW23A1 CHECK CONSTRAINT (&00).(&01).(&02) VIOLATED

### Meaning

Violation of a check constraint was detected during execution of the SQL
statement.

### Response

Modify the application program.

## SEW23A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW23A2 UNIQUENESS CONSTRAINT (&00).(&01).(&02) VIOLATED

### Meaning

Violation of a uniqueness constraint was detected during execution of the
SQL statement.

### Response

Modify the application program.

## SEW23A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW23A3 NOT NULL CONSTRAINT (&00).(&01).(&02) VIOLATED

### Meaning

Violation of a NOT NULL constraint was detected during execution of the
SQL statement.

### Response

Modify the application program.

## SEW23A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW23A4 NOT NULL CONSTRAINT ON PRIMARY KEY (&00).(&01).(&02) VIOLATED

### Meaning

Violation of a NOT NULL constraint on a primary key was detected during
execution of the SQL statement.

### Response

Modify the application program.

## SEW23A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW23A5 UNIQUENESS CONSTRAINT ON PRIMARY KEY (&00).(&01).(&02) VIOLATED

### Meaning

Violation of the uniqueness constraint of a primary key was detected
during execution of the SQL statement.

### Response

Modify the application program.

## SEW24A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A1 CURSOR (&00) FROM MODULE (&01) NOT CLOSED

### Meaning

The specified cursor must be closed.

### Response

Modify application program accordingly.

## SEW24A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A2 CURSOR (&00) FROM MODULE (&01) NOT OPEN

### Meaning

The specified cursor must be opened.

### Response

Modify application program accordingly.

## SEW24A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A3 CURSOR (&00) FROM MODULE (&01) NOT POSITIONED ON ROW

### Meaning

An attempt was made to execute an UPDATE WHERE CURRENT or DELETE WHERE
CURRENT statement for the cursor
- before a FETCH statement was executed for this cursor
- after reading beyond the end or beginning of a cursor table
- after the current row of this cursor was deleted.

### Response

Modify application program accordingly.

## SEW24A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A4 FETCH CURSOR NOT PERMITTED AFTER STORE CURSOR

### Response

Modify application program accordingly.

## SEW24A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A5 CURSOR (&00) FROM MODULE (&01) NOT STORED

### Meaning

The cursor was not stored with a STORE CURSOR statement or has been
invalidated by the fact that the transaction has since been rolled back.

### Response

Modify application program accordingly.

## SEW24A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A6 PREPARED SQL STATEMENT (&00) FROM MODULE (&01) REFERENCES OPEN CURSOR (&02)

### Meaning

An SQL statement for this statement identifier is already known. This SQL
statement references an open cursor. The SQL statement cannot be prepared
again until the cursor has been closed.

### Response

Modify application program accordingly.

## SEW24A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A7 INCORRECT FETCH STATEMENT FOR READING BUFFERED CURSOR (&00) FROM MODULE (&01).

### Meaning

The records of a buffered cursor can be read only with a FETCH
statement. Once the cursor has been opened, this FETCH statement is
determined by the first FETCH statement. While the cursor is open, no
other FETCH statement can be used to access the cursor.

### Response

Modify application program accordingly.

## SEW24A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A8 STORE AND RESTORE ARE NOT PERMITTED FOR WITH HOLD CURSOR (&00) IN MODULE (&01)

### Meaning

The cursor was declared with the WITH HOLD clause. STORE and RESTORE
operations are not permitted for such cursors.

### Response

Change the application program.

## SEW24A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW24A9 A FETCH MUST FIRST BE RUN FOR WITH HOLD CURSOR (&00) IN MODULE (&01)

### Meaning

For open cursors with the WITH HOLD clause, the first statement
in a transaction has to be a FETCH.

### Response

Change the application program.

## SEW25A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW25A1 NO UPDATE PERMITTED IN READ TRANSACTION

### Meaning

(This message text is used only by older versions of SESAM SQL
in place of 25006.)

### Response

Change access mode of the transaction from READ ONLY to READ WRITE.

## SEW25A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW25A2 ISOLATION LEVELS OF STORE CURSOR AND RESTORE CURSOR STATEMENTS ARE DIFFERENT

### Meaning

The RESTORE CURSOR statement cannot have an isolation level different to
that of the previously executed STORE CURSOR statement.
(This message text is used only by older versions of SESAM SQL
in place of 25008.)

### Response

Modify application program accordingly.

## SEW25A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW25A3 DATA DEFINITION AND DATA MANIPULATION STATEMENTS NOT PERMITTED WITHIN A SINGLE TRANSACTION

### Meaning

DDL and DML statements must not be specified within a single transaction,
i.e. you must not execute DML and DDL statements within the same
transaction or prepare DML statements and execute DDL statements in a
single transaction.
(This message text is used only by older versions of SESAM SQL
in place of 25007.)

### Response

Modify application program accordingly.

## SEW25A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW25A4 OPEN TRANSACTION ALREADY EXISTS

### Meaning

The SQL statement can only be executed outside of a transaction, but a
transaction has already been opened for this user.
(This message text is used only by older versions of SESAM SQL
in place of 25001.)

### Response

Modify application program accordingly.

## SEW25A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW25A5 ILLEGAL STATEMENT SEQUENCE

### Meaning

The statement sequence DROP SPACE - CREATE SPACE with an identical space
name is not permitted within a transaction.

### Response

Modify the statement sequence: issue a COMMIT statement between DROP and
CREATE.

## SEW2501

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2501 STATEMENT MUST NOT BE EXECUTED WITHIN A TRANSACTION

### Meaning

The SQL statement must not be executed within a transaction,
but the current user has started a transaction that is not yet finished.

### Response

Modify application program accordingly.

## SEW2506

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2506 NO DATA CHANGE PERMITTED IN READ ONLY TRANSACTION

### Response

Change the access mode of the transaction from READ ONLY to READ WRITE.

## SEW2507

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2507 ILLEGAL MIX OF DATA MANIPULATION AND SCHEMA MANIPULATION WITHIN A TRANSACTION

### Meaning

Within an SQL transaction, data manipulation statements (DML) cannot be
executed or prepared if schema definition or schema manipulation
statements (DDL) are executed in that same transaction.

### Response

Use different transactions.

## SEW2508

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2508 DIFFERENT ISOLATION LEVELS FOR OPERATIONS ON A SINGLE OPEN CURSOR

### Meaning

If a cursor is held open through several transactions, then it can be
operated upon only in those transactions that have the same ISOLATION
LEVEL as the transaction in which the cursor was initially opened.

### Response

Modify application program accordingly.

## SEW26A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW26A1 SQL STATEMENT (&00) FROM MODULE (&01) NOT PROPERLY PREPARED

### Meaning

- No SQL statement has been prepared for the statement identifier
specified in an EXECUTE statement, or
- a statement has been executed which references a dynamic cursor,
but no cursor specification has been prepared for the statement
identifier for this dynamic cursor.

### Response

Prepare a suitable SQL statement for the statement identifier.

## SEW2800

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW2800 ILLEGAL AUTHORIZATION IDENTIFIER IN SET SESSION AUTHORIZATION

### Meaning

The value specified in SET SESSION AUTHORIZATION must be a character
string that satisfies the format and syntax rules for authorization
identifiers and does not include separators other than blanks.

### Response

Modify value accordingly.

## SEW3D00

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW3D00 ILLEGAL CATALOG NAME IN SET CATALOG

### Meaning

The value specified in SET CATALOG must be a character string which
- that satisfies the format and syntax rules of catalog names and
- does not include separators other than blanks.

### Response

Modify value accordingly.

## SEW3F00

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW3F00 INVALID SCHEMA NAME IN SET SCHEMA

### Meaning

The value specified in SET SCHEMA must be a character string which
- that satisfies the format and syntax rules for schema names and
- does not include separators other than blanks.

### Response

Modify value accordingly.

## SEW33A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW33A1 DESCRIPTOR AREA WITH SPECIFIED NAME ALREADY ALLOCATED

### Meaning

The name specified in ALLOCATE DESCRIPTOR is the same as the name of a
descriptor area already allocated in the current SQL session.

### Response

Use a different name or the existing descriptor area, or de-allocate this
descriptor area beforehand.

## SEW33A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW33A2 DESCRIPTOR AREA WITH SPECIFIED NAME NOT ALLOCATED

### Meaning

The name specified in DEALLOCATE DESCRIPTOR is not equivalent to any of
the descriptor area names currently allocated in this SQL session.

## SEW33A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW33A3 ILLEGAL NAME FOR DESCRIPTOR AREA

### Meaning

The value for the descriptor area name must be a character string that
satisfies the format and syntax rules for identifiers and does not include
separators other than blanks.

### Response

Modify name accordingly.

## SEW34A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW34A1 SPECIFICATION OF DYNAMIC CURSOR (&00) NOT PREPARED

### Meaning

A PREPARE or EXECUTE IMMEDIATE statement has been executed for UPDATE
WHERE CURRENT or DELETE WHERE CURRENT, but no cursor specification is
currently prepared for the cursor referenced in this statement.

### Response

Prepare a cursor specification for the cursor referenced in the statement.

## SEW3500

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW3500 INVALID CONDITION NUMBER IN GET DIAGNOSTICS STATEMENT

### Meaning

The condition number in a Get Diagnostics statement must be equal to 1.

### Response

Fix application.

## SEW40A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40A4 TRANSACTION ROLLED BACK BECAUSE OF DBH OR DCN FAILURE

### Meaning

The transaction was rolled back because the DBH, or the DCN, via which
the DBH is accessed, failed.

### Response

Restart DBH or DCN, repeat transaction.

## SEW40A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40A8 TRANSACTION ROLLED BACK AS A RESULT OF ERROR HANDLING

### Meaning

The transaction was rolled back as a result of internal error handling.

### Response

If necessary, forward error documentation (SYSOUT logs, dumps) for error
diagnosis.

## SEW40A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40A9 TRANSACTION ROLLED BACK AND SQL STATEMENT REJECTED BECAUSE OF INTR HOLD

### Meaning

The SQL statement could not be executed because of an INTR HOLD; the
transaction has been rolled back.

### Response

Repeat SQL statement.

## SEW40B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40B4 CONSISTENCY CHECK TRIGGERED BY I/O ERROR; TRANSACTION ROLLED BACK

### Meaning

An I/O has triggered a consistency check. This resulted in the transaction
being rolled back.

### Response

Use the DBH log to check the I/O error.

## SEW40B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40B5 TRANSACTION ROLLED BACK BECAUSE OF DEFECTIVE SECONDARY INDEX

### Response

Restore secondary index by executing CREATE INDEX.

## SEW40B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40B7 TRANSACTION ROLLED BACK, IF OPEN, BECAUSE THE USER SESSION IS NO LONGER RECOGNIZED

### Meaning

The SQL session is no longer known to the DBH, either because the
permitted inactivity time has been exceeded or because the connection
has been lost temporarily or because of an administration operation.

### Response

Restore the cursor positions as required.

## SEW40B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40B8 TRANSACTION ROLLED BACK, BECAUSE THE SQL SESSION HAS BEEN TERMINATED BY THE ADMINISTRATOR

### Meaning

SQL session has been terminated at the DBH by the administrator.

### Response

Restore the cursor positions as required.

## SEW40B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40B9 TRANSACTION ROLLED BACK, BECAUSE THE SQL SESSION IS NO LONGER KNOWN AFTER DBMS HAS BEEN RESTARTED

### Meaning

The DBH session has been terminated and restarted. The SQL session is thus
no longer known to the DBH.

### Response

Restore the cursor positions as required.

## SEW40C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40C1 INTERFACE OR SYSTEM ERROR (MODULE (&00) ((&01)))

### Meaning

Because of an interface or system error, the SQL transaction has been
rolled back or the precompilation aborted.
(&01): sequence number and return code

### Response

Submit error documentation (sysout logs, dumps, contents of the SQL
diagnostics area) for error diagnosis.

## SEW40C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40C2 TRANSACTION ROLLED BACK BECAUSE OF ERROR WHEN DELETING TEMPORARY VIEW

### Meaning

An error occurred when a temporary view was deleted. The transaction has
been rolled back.

### Response

Repeat statement.

## SEW40C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW40C3 TRANSACTION ROLLED BACK BECAUSE OF CONFLICT IN AUTONOMOUS TA

### Meaning

When processing an autonomous TA, a lock conflict with another TA
occurred; the autonomous TA was reset.

### Response

Change statement.

## SEW4001

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW4001 TRANSACTION ROLLED BACK BECAUSE OF DEADLOCK, INACTIVITY OR ADMINISTRATION CALL

### Meaning

The transaction has been rolled back. This could be for the following
reasons:
- The transaction was rolled back by the DBH or by the DCN by means of an
administration call
- A deadlock occurred.
- The transaction locked another transaction for too long
(see DBH and DCN option LOCK-TIME).
- The transaction was inactive for too long
(see DBH and DCN option INACTIVITY-TIME).

### Response

Restart transaction. If this occurs frequently, check the DBH and DCN
options LOCK-TIME and INACTIVITY-TIME.

## SEW42AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AA ILLEGAL EXPRESSION IN SET FUNCTION

### Meaning

A set function includes:
- more than one argument ( MIN/MAX( ..., ...) is not a set function! )
- another set function
- a subquery
- a multiple column reference
- more than one column reference, and at least one of these column
references refers to a column defined in a table specified in the FROM
clause of a higher-level query specification.

### Response

Modify SQL statement accordingly.

## SEW42AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AB ILLEGAL NULL PREDICATE ARGUMENT

### Meaning

Only a column reference is permitted as an argument for a null predicate.

### Response

Modify null predicate accordingly.

## SEW42AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AC ILLEGAL SPACE PARAMETER

### Meaning

The specified space parameter is not permitted at this position.

### Response

Modify SQL statement accordingly.

## SEW42AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AD ILLEGAL SUBQUERY

### Meaning

- An illegal subquery or row list was used in an IN predicate or
- the VALUES clause in an INSERT statement consists of a subquery
which returns more than one column.

### Response

Modify SQL statement accordingly.

## SEW42AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AE ILLEGAL CHARACTER

### Response

Modify SQL statement accordingly.

## SEW42AF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AF CURSOR SPECIFICATION WITH FOR UPDATE INCOMPATIBLE WITH SCROLL OR ORDER BY

### Meaning

- A cursor specification of a static cursor contains a FOR UPDATE clause,
and it also contains SCROLL or ORDER BY, or
- a cursor specification of a dynamic cursor contains SCROLL, and the
dynamically prepared cursor description contains a FOR UPDATE clause, or
- the dynamically prepared cursor description of a dynamic cursor
contains a FOR UPDATE clause, and it also contains ORDER BY.

### Response

Modify SQL statement accordingly.

## SEW42AG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AG NO JOIN CONDITION

### Response

Modify SQL statement accordingly.

## SEW42AH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AH DELIMITER MISSING

### Meaning

A delimiter ' is missing from a literal, or
a double quote " is missing from a delimited identifier.

### Response

Correct the SQL statement.

## SEW42AI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AI PRIMARY KEY FOR CALL DML TABLE (&00).(&01).(&02) REQUIRED

### Meaning

A CALL DML table must have a primary key.

### Response

Define a primary key for the table or do not define the table as a
CALL DML table.

## SEW42AJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AJ SYMBOLIC ATTRIBUTE NAME (SAN) MUST NOT BE SPECIFIED WHEN DATA TYPE OF COLUMN (&00).(&01).(&02).(&03) IS CHANGED.

### Meaning

No (new) symbolic attribute name may be specified when the data type
of a column is changed using ALTER TABLE ... ALTER COLUMN ... SET ...

### Response

Remove the symbolic attribute name.

## SEW42AK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AK ILLEGAL OCCURRENCE RANGE FOR MULTIPLE COLUMN

### Meaning

The first value specified in the occurrence range for a multiple column
is not smaller than the second value.

### Response

Modify occurrence range specification accordingly.

## SEW42AL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AL ILLEGAL MATCH VALUE

### Meaning

The match value in a LIKE predicate is not a column reference.

### Response

Modify match value accordingly.

## SEW42AM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AM ILLEGAL CHARACTER STRING

### Meaning

The character string in a LIKE predicate is neither a host variable,
nor a literal nor one of the keywords USER, CURRENT_USER or SYSTEM_USER.

### Response

Correct character string.

## SEW42AN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AN TABLE (&00).(&01).(&02) IS NOT A CALL DML/SQL TABLE

### Meaning

The table specified for table style migration is not a CALL DML/SQL table:
a) The table is a "CALL DML only" table (migration of this table style is
not possible).
b) The table is already an SQL table.

### Response

a) Modify the table so that it can also be processed with SQL (table
style: CALL DML/SQL table).

## SEW42AO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AO V1 DATABASE AND DESIRED TABLE STYLE ARE NOT COMPATIBLE

### Meaning

a) Migration of a V1 database of the type "CALL DML only" to a SQL table
cannot be performed.
b) A V1 database which is not of the type "CALL DML only" and in which all
the columns do not contain a CALL DML default value character cannot be
migrated to a CALL DML/SQL table.

### Response

Select a different table style:
a) Specify the optional parameter CALL DML in the MIGRATE statement.
b) Omit the optional parameter CALL DML in the MIGRATE statement.

## SEW42AP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AP NO PK-SIB FILE MAY BE SPECIFIED

### Meaning

- If the optional parameter CALL DML is not specified in the MIGRATE
statement, no PK-SIB file may be specified.
- If the optional parameter CALL DML is specified in the MIGRATE
statement, a PK-SIB file may only be specified if, according to the SVB
of the DB-SIB file, the password catalog has been generated and is not
defective.
- According to the DB-SIB file, there is no password catalog. A PK-SIB
file has, however, been specified.

### Response

Do not specify a PK-SIB file.

## SEW42AQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AQ PK-SIB FILE MUST BE SPECIFIED

### Meaning

Migration of a V1 database with a password catalog to a CALL DML table
is to be performed, but no PK-SIB file has been specified.

### Response

Specify a PK-SIB file.

## SEW42AR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AR PK-SIB FILE AND DB-SIB FILE ARE NOT FROM SAME V1 DATABASE

### Response

Specify a PK-SIB and DB-SIB from the same V1 database.

## SEW42AS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AS GAP IN OCCURRENCE RANGE FOR COLUMN (&00).(&01)

### Meaning

- In an INSERT, UPDATE or LOAD ONLINE statement for a table, values
are assigned to an occurrence of a multiple column but not to the
occurrences which lie between these two occurrences.

### Response

Specify value assignments for the occurrences which have been omitted.

## SEW42AT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AT VALUE SPECIFICATION "*" OR COUNT INTO SPECIFIED REPEATEDLY FOR TABLE (&00). (&01).(&02)

### Meaning

You may write either COUNT INTO or else "*" only once to specify a
system generated value for a column.

### Response

Use COUNT INTO without "*" or omit additional specifications "*".

## SEW42AU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AU NULL, DEFAULT, "*" OR AGGREGATE SPECIFICATION NOT PERMITTED AT THIS POINT

### Meaning

NULL, DEFAULT, "*" or an aggregate specification were entered at a point
at which only a value expression is permitted. As a replacement for a
value expression, these constructs are only permitted as assignable values
of the:
- INSERT statement (NULL, DEFAULT, "*" and aggregate specification)
- UPDATE statement (NULL, DEFAULT and aggregate specification)

### Response

Replace NULL, DEFAULT, "*" or aggregate specification.

## SEW42AV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AV DEFAULT, "*", AND AGGREGATE SPECIFICATIONS DISALLOWED AT THIS POSITION

### Meaning

DEFAULT, "*", and aggregate specifications are disallowed
in table constructors with more than two rows.

### Response

Use a different expression or a table constructor with just one row.

## SEW42AW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AW HOST VARIABLE IN RETURN INTO CLAUSE OF INSERT STATEMENT FOR TABLE (&00). (&01).(&02) NOT NUMERIC

### Meaning

In an INSERT statement, the value of the count field is to be returned to
a host variable by means of a RETURN INTO clause. The data type of the
host variable, however, is not numeric.

### Response

Modify the data type of the host variable accordingly.

## SEW42AX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AX MULTIPLE VALUE OR MULTIPLE COLUMN NOT PERMITTED AT THIS POSITION

### Meaning

A multiple value is not permitted:
- as operand of a function, +, -, *, /, ||, CAST, NULLIF, COALESCE, CASE
- as operand of a predicate (except as the first operand of comparisons)
- after SELECT DISTINCT, GROUP BY, or in an aggregate specification
- as a column of an OUTER or UNION JOIN, UNION, EXCEPT, INTO or USING
table of a MERGE, table function, table constructor, or subquery
- in FETCH after ABSOLUTE and RELATIVE
- in SET CATALOG, SCHEMA, or AUTHORIZATION
- in SET DESCRIPTOR and GET DESCRIPTOR except for INDICATOR and DATA
- in PREPARE, EXECUTE IMMEDIATE, and after DESCRIPTOR

### Response

Remove direct or indirect reference to multiple value or column.

## SEW42AY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AY TOO MANY VALUES IN AGGREGATE SPECIFICATION

### Meaning

An aggregate specification comprises more than 255 components.

### Response

Modify aggregate specification accordingly.

## SEW42AZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42AZ MORE THAN ONE CATALOG ACCESSED

### Meaning

A statement accesses more than one catalog either explicitly (by means
of qualified table names) or implicitly (by means of default catalog).

### Response

Modify application program or default catalog.

## SEW42A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A1 COLUMN NAME (&00) NOT UNIQUE

### Meaning

The column name (&00) occurs more than once in the list of column names.

### Response

Modify SQL statement accordingly.

## SEW42A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A2 CORRELATION NAME (&00) NOT UNIQUE

### Meaning

A correlation name has been defined although this name has already been
defined as the table name or correlation name in the same FROM clause or
join expression.

### Response

Modify SQL statement accordingly.

## SEW42A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A3 SPACE PARAMETER NOT UNIQUE

### Meaning

A space parameter has been set more than once.

### Response

Modify SQL statement accordingly.

## SEW42A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A4 TABLE NAME (&00) NOT UNIQUE

### Meaning

A table name has been defined although this name has already been defined
as the table name or correlation name in the same FROM clause.

### Response

Modify SQL statement accordingly.

## SEW42A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A5 INVALID CALL DML DEFAULT VALUE CHARACTER FOR PRIMARY KEY COLUMN (&00). (&01).(&02).(&03)

### Meaning

No CALL DML default value character may be defined for primary key
columns.

### Response

Use a data type permitted for primary key columns.

## SEW42A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A6 SYMBOLIC ATTRIBUTE NAME (SAN) NOT PERMITTED FOR PRIMARY KEY COLUMN (&00). (&01).(&02).(&03)

### Meaning

No symbolic attribute names may be specified for primary key columns.

### Response

Do not specify symbolic attribute names for primary key columns.

## SEW42A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A7 NAME OF PRIMARY KEY CONSTRAINT MISSING

### Meaning

A compound key for a table which supports CALL DML must have a compound
key name, i.e. the primary key constraint must be named.

### Response

Correct the SQL statement and assign a name for the primary key
constraint.

## SEW42A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A8 SYNTAX RULE VIOLATED

### Meaning

The SQL statement violates the syntactical rules of SQL.

### Response

Correct the SQL statement.

## SEW42A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42A9 NAME IS TOO LONG

### Response

Modify SQL statement accordingly.

## SEW42BA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BA ILLEGAL VALUE FOR FREE SPACE SPECIFICATION IN SPACE (&00).(&01)

### Meaning

Only values from a limited range of values may be used in the free space
specification.

### Response

Modify free space specification accordingly.

## SEW42BB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BB VALUE FOR PRIMARY ALLOCATION INVALID

### Meaning

The value for the primary allocation must be from a defined value range.

### Response

Correct primary allocation.

## SEW42BC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BC VALUE FOR SECONDARY ALLOCATION INVALID

### Meaning

The value for the secondary allocation must be from a defined value range.

### Response

Correct secondary allocation.

## SEW42BD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BD NO COLUMN DEFINITION FOR TABLE (&00).(&01).(&02)

### Meaning

A table definition must include at least one column definition.

### Response

Modify table definition accordingly.

## SEW42BE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BE PRIVILEGE NOT COMPATIBLE WITH OBJECT

### Meaning

Certain privileges are only permitted in connection with certain objects
(e.g. usage with storage groups only).

### Response

Modify SQL statement accordingly.

## SEW42BF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BF MORE THAN ONE PRIMARY KEY DEFINED FOR TABLE (&00).(&01).(&02)

### Meaning

Only one primary key constraint may be defined on a table.

### Response

Modify table definition accordingly.

## SEW42BG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BG DEFINITION OF PRIMARY KEY FOR TABLE (&00).(&01).(&02) MUST NOT BE ADDED LATER

### Meaning

A primary key cannot be added to an existing table.

### Response

Modify SQL statement accordingly.

## SEW42BH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BH INCORRECTLY QUALIFIED SPACE NAME (&01) IN CATALOG (&00)

### Meaning

The catalog in the space name does not match the catalog of the table,
the index or the storage group.

### Response

Correct the space name by qualifying it with the correct catalog.

## SEW42BI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BI INCORRECTLY QUALIFIED TABLE NAME (&02) IN SCHEMA (&00).(&01)

### Meaning

The schema in the table name does not match the schema in the schema
definition.

### Response

Correct the table name by qualifying it with the correct schema.

## SEW42BJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BJ NUMBER OF OCCURRENCES DISALLOWED FOR VARCHAR AND NVARCHAR DATA TYPES

### Meaning

A number of occurrences must not be specified for a data type
CHARACTER VARYING or NCHAR VARYING, as a character string type of
variable length cannot be multiple-valued.

### Response

- Leave out the number of occurrences or
- switch to a CHARACTER or NCHAR data type of fixed length.

## SEW42BK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BK VOLUME NAME (&02) IN THE STORAGE GROUP (&00).(&01) NOT UNIQUE

### Meaning

The volume names in the list of volumes of a storage group must be unique.

### Response

Modify the list of volumes accordingly.

## SEW42BL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BL TEMPORARY VIEW (&00) NOT PERMITTED IN DDL AND UTILITY STATEMENTS

### Response

Modify SQL statement accordingly.

## SEW42BM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BM INVALID CATALOG SPECIFIED IN TABLE NAME (&00).(&01).(&02)

### Meaning

The catalog in the table name does not match the catalog of the associated
schema or table.

### Response

Correct the table name by qualifying it with the correct catalog.

## SEW42BN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BN SPECIAL PRIVILEGES NOT PERMITTED IN SCHEMA DEFINITION (&00).(&01)

### Meaning

No special privileges may be granted in the SQL statement CREATE SCHEMA.

### Response

Modify SQL statement accordingly.

## SEW42BO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BO ESCAPE CHARACTER WITH INCORRECT LENGTH

### Meaning

The length in CHARACTERS (with CHAR) resp in CODE_UNITS (with NCHAR)
of the ESCAPE string in a LIKE predicate must be one. The expression
after ESCAPE does not have a value with that length.

### Response

Use a value with the correct length.

## SEW42BP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BP ESCAPE CHARACTER IS NEITHER HOST VARIABLE NOR CHARACTER STRING LITERAL

### Meaning

The escape character specified in the LIKE predicate is neither a host
variable nor a character string literal.

### Response

Modify escape character accordingly.

## SEW42BQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BQ NO SPACE PARAMETER SPECIFIED

### Meaning

At least one parameter must be specified in the ALTER SPACE statement.

### Response

Modify SQL statement accordingly.

## SEW42BR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BR SET FUNCTION OUTSIDE OF SUBQUERY

### Meaning

A set function which is outside of a subquery has been specified to the
right of the equal sign in a SET clause of an UPDATE operation or
in the VALUES clause of an INSERT or MERGE operation or
in the VALUES clause of a view definition or
in the parameter values of a CALL statement.

### Response

Remove set function.

## SEW42BS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BS MULTIPLE COLUMN WITH MORE THAN ONE OCCURRENCE IN ORDER BY CLAUSE

### Meaning

The sort key of an ORDER BY clause must not be multiply-valued
with more than one component.

### Response

Modify ORDER BY clause accordingly.

## SEW42BU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BU MORE THAN ONE AGGREGATE FUNCTION CONTAINING DISTINCT IN SELECT EXPRESSION

### Meaning

A SELECT expression has more than one aggregate function containing
DISTINCT (other than subordinate select expressions).

### Response

Remove DISTINCT.

## SEW42BV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BV TABLE CONSTRUCTOR NOT SOURCE OF INSERT OPERATION

### Meaning

A table constructor (VALUES ...) is not the query expression of an INSERT
operation, i.e. is not the query expression whose SELECTed rows are to be
inserted.

### Response

Remove table constructor.

## SEW42BW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BW SQL STATEMENT TYPE CANNOT BE PREPARED OR IS NOT PERMITTED IN APPLICATION PROGRAMS

### Meaning

The syntax of an SQL statement is correct, but the statement is not
permitted in the current context, i.e.
- a statement in an application program observes the syntax rules of
dynamic SQL but not of static SQL (e.g. "SELECT c FROM t": no INTO or
DECLARE clause) or
- a statement to be prepared observes the syntax rules of static SQL but
not those of dynamic SQL (e.g. "DECLARE c CURSOR FOR SELECT a FROM t":
DECLARE clause must be removed).

### Response

Modify SQL statement accordingly.

## SEW42BX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BX ILLEGAL NUMERIC LITERAL

### Meaning

- The number of decimal places in a numeric literal is too big, or
- the value of the exponent in a floating-point literal is not within the
permitted range

### Response

Modify literal accordingly.

## SEW42BY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BY CHARACTER STRING LITERAL TOO LONG

### Meaning

The number of characters or code units in a character string literal
exceeds the maximum permitted number.

### Response

Modify literal accordingly.

## SEW42BZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42BZ ILLEGAL TEMPORARY VIEW REFERENCE IN VIEW DEFINITION (&00).(&01).(&02)

### Meaning

The query specification of a view definition may not include a temporary
view.

### Response

Modify SQL statement accordingly.

## SEW42B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B0 NONCHARACTER IN UNICODE STRING

### Meaning

In SQL, a Unicode character string must not contain a noncharacter.
Unicode noncharacters have code points U&'\FDDx', U&'\FDEx',
U&'\+0xFFFE', U&'\+0xFFFF', U&'\+10FFFE', and U&'\+10FFFF'.

### Response

Modify literal accordingly.

## SEW42B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B1 NAME OF INTEGRITY CONSTRAINT (&02) INCORRECTLY QUALIFIED IN SCHEMA (&00). (&01)

### Meaning

The schema name of the integrity constraint does not match the associated
schema or the schema name of the table.

### Response

Qualify the name of the integrity constraint with the correct schema name.

## SEW42B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B2 DEFAULT VALUE NOT PERMITTED FOR MULTIPLE COLUMN (&03) IN TABLE (&00).(&01). (&02)

### Meaning

A default value cannot be set for a multiple column.

### Response

Correct the column definition.

## SEW42B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B3 INVALID NUMBER OF OCCURRENCES IN DATA TYPE

### Meaning

The number of occurrences in a data type must be between 1 and 255.

### Response

Modify number of occurrences accordingly.

## SEW42B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B4 LENGTH 0 INVALID FOR DATA TYPES CHARACTER AND NATIONAL CHARACTER

### Meaning

The length in a [NATIONAL] CHARACTER [VARYING] data type must be
greater than 0.

### Response

Modify length accordingly.

## SEW42B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B5 LENGTH TOO BIG FOR A CHARACTER STRING DATA TYPE

### Meaning

The maximal length of a CHARACTER or NCHAR data type is 256 or 128,
respectively; for VARCHAR or NVARCHAR, it is 32000 or 16000, respectively.

### Response

Modify length accordingly.

## SEW42B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B6 NUMBER OF POSITIONS 0 INVALID FOR NUMERIC DATA TYPE

### Meaning

For data types NUMERIC(N,M), DECIMAL(N,M) and FLOAT(N), N must be greater
than 0.

### Response

Modify the number of positions accordingly.

## SEW42B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B7 TOO MANY POSITIONS FOR NUMERIC DATA TYPE

### Meaning

The maximum number of positions (N) for data types NUMERIC(N,M)
and DECIMAL(N,M) is 31; for data type FLOAT(N), it is 53.

### Response

Modify number of positions accordingly.

## SEW42B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B8 NUMBER OF DECIMAL PLACES GREATER THAN TOTAL NUMBER OF POSITIONS

### Meaning

For the data types NUMERIC(N,M) and DECIMAL(N,M), the number of
decimal places (M) must be smaller than the number of positions (N).

### Response

Modify number of decimal places or positions accordingly.

## SEW42B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42B9 INDEX NAME (&00).(&01).(&02) INCORRECTLY QUALIFIED

### Meaning

The qualification of the index name does not match the schema table or
space.

### Response

Qualify index name correctly.

## SEW42CA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CA ILLEGAL STORAGE GROUP NAME (&00) IN CREATE CATALOG

### Meaning

With CREATE CATALOG it is not possible to specify reserved names as
storage group names.

### Response

Use a different storage group name.

## SEW42CB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CB COLUMN LIST NOT PERMITTED FOR TABLE (&00).(&01).(&02)

### Meaning

A column list is only permitted in a certain context when loading or
unloading a table.

### Response

Modify SQL statement accordingly.

## SEW42CC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CC FORMAT LIST NOT PERMITTED FOR TABLE (&00).(&01).(&02)

### Meaning

A format list is only permitted in a certain context when loading or
unloading a table.

### Response

Modify SQL statement accordingly.

## SEW42CD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CD FORMAT LIST AND COLUMN LIST FOR TABLE (&00).(&01).(&02) INCONSISTENT

### Meaning

The format and column lists of the table being loaded or unloaded do not
match (different lengths).

### Response

Modify SQL statement accordingly.

## SEW42CE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CE INVALID OPTION WHEN UNLOADING FROM TABLE (&00).(&01).(&02)

### Meaning

Only certain parameters are permitted in the UNLOAD statement when
unloading a table from a space or file.

### Response

Modify SQL statement accordingly.

## SEW42CF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CF NO COLUMN LIST FOR TABLE (&00).(&01).(&02)

### Meaning

There is no column list for the table being loaded or unloaded.

### Response

Modify SQL statement accordingly.

## SEW42CG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CG INVALID POSITION FOR LOADING OR UNLOADING

### Meaning

A position outside of the permitted range was specified when loading or
unloading a table.

### Response

Modify SQL statement accordingly.

## SEW42CH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CH SPECIFICATION OF AN OCCURRENCE NOT PERMITTED HERE

### Meaning

No occurrence specification may be included in the format list when
loading or unloading a table.

### Response

Modify SQL statement accordingly.

## SEW42CI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CI INVALID DATA TYPE IN FORMAT LIST

### Meaning

The format list of the table being loaded or unloaded includes an invalid
data type.

### Response

Modify SQL statement accordingly.

## SEW42CJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CJ DATA TYPE FLOAT NOT PERMITTED IN FORMAT LIST

### Meaning

The data type FLOAT is not permitted in the format list when loading or
unloading a table.

### Response

Modify SQL statement accordingly.

## SEW42CK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CK SYNTAX ERROR IN CODE_TABLE NAME

### Response

Modify SQL statement accordingly.

## SEW42CL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CL SYNTAX ERROR IN PASSWORD

### Meaning

The password specified does not observe the rules for passwords.

### Response

Modify SQL statement accordingly.

## SEW42CM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CM INVALID COLUMN NAME (&00) IN COLUMN CONSTRAINT

### Meaning

Only the currently defined column may be specified in a column constraint.

### Response

Convert column constraint into a table constraint.

## SEW42CN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CN AMBIGUOUS LOAD OR UNLOAD PARAMETER

### Meaning

A LOAD or UNLOAD parameter has been set more than once.

### Response

Modify SQL statement accordingly.

## SEW42CO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CO ROW CONSTRUCTOR WITH MORE THAN ONE ELEMENT NOT PERMITTED HERE

### Meaning

A row constructor "(expression1, expression2, ...)" with more than one
element is only permitted if it is included in a table constructor which
represents the query expression of an INSERT statement.

### Response

Modify SQL statement accordingly.

## SEW42CP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CP "RETURN INTO" WITHOUT "*" ASSIGNMENT FOR TABLE (&00).(&01).(&02)

### Meaning

A RETURN INTO clause has been specified in an INSERT statement for the
table, but no "*" assignment has been made for the count field.

### Response

Specify a "*" assignment.

## SEW42CQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CQ USER HAS NO ADMINISTRATION AUTHORIZATION FOR CATALOG (&00)

### Meaning

The user has no administration authorization
for this statement.

### Response

Grant administration privileges.

## SEW42CR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CR ILLEGAL NUMBER OF DECIMAL PLACES FOR THE DATA TYPE TIME OR THE FUNCTION CURRENT_TIME OR LOCALTIME

### Meaning

The number of decimal places for the data type TIME and the function
CURRENT_TIME or LOCALTIME was not specified or was not equal to 3.

### Response

Specify or correct the number of decimal places.

## SEW42CS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CS ILLEGAL NUMBER OF DECIMAL PLACES FOR THE DATA TYPE TIMESTAMP OR THE FUNCTION CURRENT_TIMESTAMP OR LOCALTIMESTAMP

### Meaning

The number of decimal places for the data type TIMESTAMP and the function
CURRENT_TIMESTAMP or LOCALTIMESTAMP was not specified or was not equal to
3.

### Response

Specify or correct the number of decimal places.

## SEW42CT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CT OPTION ONLINE IS INCOMPATIBLE WITH GENERATE INDEX AND NO INDEX

### Meaning

Neither GENERATE INDEX nor NO INDEX may be specified in a LOAD ONLINE.

### Response

Rectify the statement.

## SEW42CU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CU TWO OPERANDS OF A PREDICATE HAVE DIFFERENT DEGREES

### Meaning

All constituent rows of a table constructor must have the same degree
(same number of columns).

### Response

Change the table constructor.

## SEW42CV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CV A TABLE CONSTRUCTOR CONTAINS TWO ROWS WITH DIFFERENT DEGREES

### Meaning

All operands of predicates must have the same degree (number of columns).

### Response

Change the predicate.

## SEW42CW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42CW LOAD OFFLINE WITH COUNT FIELD FOR A PARTITIONED TABLE REQUIRES PARAMETER SORTED

### Meaning

LOAD OFFLINE with count field for a partitioned table requires the
optional parameter SORTED if the LOAD statement uses a column of datatype
VARCHAR with a length of more than 253 characters.

### Response

Use LOAD ONLINE or sort the input file and use LOAD OFFLINE with parameter
SORTED.

## SEW42C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C1 SPECIFICATION OF "*" NOT PERMITTED

### Meaning

Specification of "*" as user, program or system name is not permitted
in this SQL statement.

### Response

Modify application and specify the full name.

## SEW42C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C2 SYNTAX ERROR IN CATALOG NAME

### Meaning

A catalog name is part of a BS2000 file name. Only uppercase letters,
digits and the special characters '.' and '-' may be used. A catalog
name must start with an uppercase letter, must not end with a special
character and no two special characters should be specified in succession.

### Response

Modify catalog name accordingly.

## SEW42C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C3 SYNTAX ERROR IN SYMBOLIC ATTRIBUTE NAME (SAN)

### Meaning

A symbolic attribute name (SAN) must consist of exactly three characters.
The identifiers "NAM" and "END" are not permitted.

### Response

Modify symbolic attribute name (SAN) accordingly.

## SEW42C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C4 SYNTAX ERROR IN SPACE NAME

### Meaning

A space name is part of a BS2000 file name. Only uppercase letters, digits
and the special characters '.' and '-' may be used. The space name must
not, however, end with a special character and no two special characters
may be specified in succession.

### Response

Modify space name accordingly.

## SEW42C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C5 SYNTAX ERROR IN AUTHORIZATION IDENTIFIER (&00)

### Meaning

An authorization identifier is part of a BS2000 file name. Only uppercase
letters, digits and the special characters '.' and '-' may be used. The
authorization identifier may not, however, end with a special character
and no two special characters may be specified in succession.

### Response

Modify authorization identifier accordingly.

## SEW42C6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C6 INCORRECTLY QUALIFIED STORAGE GROUP NAME (&01) IN CATALOG (&00)

### Meaning

The catalog in the storage group name does not match the catalog of the
space.

### Response

Qualify the storage group name correctly.

## SEW42C7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C7 SPECIFIED CATALOG ALREADY EXISTS

### Meaning

An existing catalog cannot be created again.

### Response

Modify application program accordingly.

## SEW42C8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C8 SYNTAX ERROR IN DATE, TIME OR TIMESTAMP LITERAL

### Meaning

The rules governing the format of a date, time or timestamp literal have
not been observed.

### Response

Modify application program accordingly.

## SEW42C9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42C9 INPUT VALUE NOT COMPATIBLE WITH DATA TYPE OF INPUT FORMAT, OR LITERAL VALUE NOT CONVERTIBLE TO TARGET FORMAT

### Meaning

During conversion of a value, it was established that the value does not
correspond to the data type of the input format. During conversion of a
literal, it was established that the literal value is not suitable for
conversion to the target format.

### Response

Specify the value in the correct format.

## SEW42DA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42DA FOR NAME (&00) IN FOR STATEMENT NOT UNIQUE

### Meaning

In nested FOR statements each FOR name has to be unique.

### Response

Fix routine.

## SEW42DB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42DB CURSOR NAME (&00) IN FOR STATEMENT NOT UNIQUE

### Meaning

In nested FOR statements each specified cursor name has to be
unique and different from the name of each explicit cursor in the
containing compound statement.

### Response

Fix routine.

## SEW42DC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42DC COLUMN NAME IN CURSOR OF FOR STATEMENT (&00) MISSING

### Meaning

Output columns of the cursor of a FOR statement have to be
nonambigous named values.

### Response

Fix routine.

## SEW42DD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42DD DATA TYPE FOR COLUMN (&00) OF A FOR STATEMENT CURSOR ILLEGAL

### Meaning

Output columns of the cursor of a FOR statement may not be of a
multiple data type.

### Response

Fix routine.

## SEW42DE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42DE COLUMN NAME (&00) IN CURSOR OF FOR STATEMENT NOT UNIQUE

### Meaning

Output column names of a FOR statement cursor must be unique.

### Response

Fix routine.

## SEW42D1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D1 NO FORMAT LIST FOR TABLE (&00).(&01).(&02)

### Meaning

There is no format list for the table being loaded or unloaded.

### Response

Modify SQL statement accordingly.

## SEW42D2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D2 SPACE NAME CATALOG NOT PERMITTED

### Meaning

Specification of the space name CATALOG is not permitted.

### Response

Specify a different space name.

## SEW42D3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D3 QUERY EXPRESSION IN VIEW (&00).(&01).(&02) TOO LONG

### Meaning

The query expression may not exceed the length of the corresponding column
in the catalog table TABLES.

### Response

Modify application program accordingly.

## SEW42D4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D4 SEARCH CONDITION IN INTEGRITY CONSTRAINT (&00).(&01).(&02) TOO LONG

### Meaning

The search condition of a check constraint must not exceed the length of
the corresponding column in the catalog table CHECK_CONSTRAINTS.

### Response

Modify application program accordingly.

## SEW42D5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D5 ILLEGAL CHARACTER IN NAME

### Meaning

The name includes a special character which is not permitted at this
position.

### Response

Avoid using special characters in names.

## SEW42D6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D6 NAME RESERVED FOR INTERNAL PURPOSES

### Meaning

A name has been specified which, however, is reserved for internal
purposes.

### Response

Use a different name.

## SEW42D7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D7 CALL DML DEFAULT VALUE CHARACTER NOT PERMITTED FOR DATA TYPE OF COLUMN (&00).(&01).(&02).(&03).

### Meaning

A CALL DML default value character can only be specified for data types
permitted in CALL DML tables.

### Response

Modify the application program.

## SEW42D8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D8 A TAPE FILE WAS SPECIFIED AS THE WORKING FILE (&00), BUT SPACE (&01).(&02) CONTAINS INDEXES.

### Meaning

A tape file was specified with USING FILE, but the space also
contains indexes.

### Response

Move the indexes to another space or use a disk file
as the working file.

## SEW42D9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42D9 STATEMENT TEXT IN ROUTINE DEFINITION (&00).(&01).(&02) TOO LONG

### Meaning

The statement text of the routine definition may not exceed the length
of the corresponding column in the catalog table ROUTINES.

### Response

Modify CREATE PROCEDURE or CREATE FUNCTION statement accordingly.

## SEW42EA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EA LOAD ONLINE ABORTED DUE TO ERROR (&00) AFTER HAVING PROCESSED (&01) RECORDS OF THE INPUT FILE. (&02) RECORDS WERE INSERTED INTO TABLE (&03).(&04). (&05)

### Meaning

LOAD ONLINE aborted, possibly after already having updated the base table.
The error cause is specified by SQLSTATE (&00).

### Response

Eliminate the error cause and repeat LOAD ONLINE, if necessary using a
modified input file.

## SEW42EB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EB A CALL DML ONLY TABLE CANNOT BE PARTITIONED

### Meaning

IMPORT for a partitioned table is not permitted if, according to the
export file, it is a CALL DML only table. Alter Partitioning for a
CALL DML inly table is also not possible.

### Response

Import the table as a non-partitioned table or, if appropriate, migrate
the original table before exporting it.

## SEW42EC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EC INPUT FILE (&00) WITH ILLEGAL CCS NAME (&01)

### Meaning

For an input file only UTFE and all types of EBCDIC are permitted ccs
names. UTFE is only allowed for LOAD with DELIMITER_FORMAT or
CSV_FORMAT.

### Response

Check whether the CCSN of the input file can be modified without changing
the meaning of the input values. If possible, declare another code table
or *NONE for the input file using MODIFY-FILE-ATTRIBUTES with parameter
CODED-CHARACTER-SET.

## SEW42ED

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42ED NO CCSN DECLARED FOR INPUT FILE (&00)

### Meaning

Processing LOAD an input value of data type CHAR or VARCHAR is to be
converted into a column of data type NCHAR or NVARCHAR. To be able to
perform the conversion a CCSN has to be declared for the input file.

### Response

Declare a CCSN for the input file using MODIFY-FILE-ATTRIBUTES with
parameter CODED-CHARACTER-SET.

## SEW42EE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EE ILLEGAL OR NO CODE TABLE DECLARED FOR CATALOG (&00)

### Meaning

Processing LOAD an input value of data type NCHAR or NVARCHAR is to be
converted into a column of data type CHAR or VARCHAR. To be able to
perform the conversion a code table of type EBCDIC has to be declared
for the catalog.

### Response

Declare a code table of type EBCDIC for the catalog using ALTER CATALOG
with ALTER CODE_TABLE.

## SEW42EF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EF CCS NAME (&00) OF INPUT FILE (&01) DOES NOT MATCH THE CODE TABLE (&02) OF CATALOG (&03)

### Meaning

If a code table is declared for the catalog then a CCSN has to be declared
for the input file too, and the CCSN and the name of the code table have
to be equal. This condition has to be fulfilled when processing LOAD where
an input value of data type CHAR or VARCHAR is to be inserted into a
column of data type CHAR or VARCHAR or when processing IMPORT.

### Response

Modify the CCSN using MODIFY-FILE-ATTRIBUTES or modify the name of the
code table using ALTER CATALOG; where appropriate undo the declaration of
the catalog code table.

## SEW42EG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EG INVALID CODE TABLE NAME OR CODE TABLE DOES NOT HAVE TYPE EBCDIC

### Meaning

The code table name in the CREATE or ALTER CATALOG (&00)
statement is syntactically invalid
or the code table does not have type EBCDIC.

### Response

Repeat the statement with a correct code table name.

## SEW42EH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EH CCS NAME (&00) OF STATEMENT DIFFERENT FROM CODE TABLE NAME IN CATALOG (&01)

### Meaning

The CCSN in an application configuration file has to match the code table
name of the addressed catalog.

### Response

Repeat the statement with a correct CCSN.

## SEW42EI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EI DATA TYPE OF DELIMITER DOES NOT MATCH THE CCS NAME (&00) OF INPUT FILE (&01)

### Meaning

If, concerning LOAD, the input file has the CCS name UTFE, then the
delimiter has to be specified by a national character literal or a
national binary literal or an unicode literal; otherwise the delimiter has
to be specified by a character literal or a binary literal.

### Response

Specify the delimiter using a suitable literal representation.

## SEW42EJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EJ DEFAULT TRANSLITERATION MISSING IN CATALOG (&00).

### Meaning

The default transliteration CATALOG_DEFAULT can only be used
if there is a CODE_TABLE defined for the given catalog.
In the current catalog there is no CODE_TABLE defined or
the catalog is a backup of a catalog from a previous version
of SESAM/SQL.

### Response

Use another transliteration or define a CODE_TABLE
for the catalog with ALTER CATALOG.

## SEW42EK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EK THERE IS NO CODE TABLE DEFINED FOR CATALOG (&00)

### Meaning

Columns of data type NCHAR or NVARCHAR should be unloaded.
Therefore these columns must be converted to CHAR or VARCHAR.
And for this reason a code table must be defined for the catalog.

### Response

Define a code table with ALTER CATALOG ALTER CODE_TABLE for the
catalog.

## SEW42EL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EL THERE IS NO CODE TABLE DEFINED FOR CATALOG (&00) AND THE UNLOAD FILE IS CREATED WITH CCS NAME UTFE

### Meaning

Columns of data type CHAR or VARCHAR should be unloaded or the column
names (via WITH HEADER clause) should be added, respectively.
Therefore these column values or column names, respectively must be
converted to UTFE. And for this reason a code table must be defined for
the catalog.

### Response

Define a code table with ALTER CATALOG ALTER CODE_TABLE for the
catalog.

## SEW42EM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EM CCS NAME (&00) IS UNKNOWN BY XHCS OR CCS NAME DOES NOT HAVE TYPE EBCDIC

### Meaning

The CCS name (&00) is unknown by XHCS or the CCS name
is known by XHCS, but does not have type EBCDIC.

### Response

Check CCS name (&00).
Or define CCS name by XHCS.

## SEW42EN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EN TRANSLITERATION (&00).(&01).(&02) IS INACCESSIBLE

### Meaning

The transliteration name is not contained in the
INFORMATION_SCHEMA, or it is not accepted by
the XHCS subsystem for transliteration between
CHAR and NCHAR. If CATALOG_DEFAULT was specified
then the CCS name set as CODE_TABLE for the catalog
is not accepted by XHCS for transliteration; if the
message specifies _NONE_ then no CCS name is
set for the catalog (or the catalog is a backup
of an older SESAM/SQL version).

### Response

Change the transliteration name,
or set an appropriate CODE_TABLE for the catalog,
or define the transliteration in XHCS,
or use a version of XHCS that allows for
transliterations between EBCDIC and Unicode.

## SEW42EO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EO UPPER AND LOWER FOR UNICODE IN CURRENT XHCS ENVIRONMENT NOT ACCESSIBLE

### Meaning

Upper and Lower for Unicode only accessible if XHCS with unicode support
is available.

### Response

Provide XHCS with unicode support.

## SEW42EP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EP THERE IS NO CODE TABLE DEFINED FOR CATALOG (&00)

### Meaning

For a LOAD or UNLOAD statement the
values for a null condition have to be converted.
Therefore a code table must be defined for the catalog.

### Response

Define a code table with ALTER CATALOG ALTER CODE_TABLE for the
catalog. Or change the null condition.

## SEW42ER

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42ER CATALOG TABLE (&00).(&01).(&02) NOT ACCESSIBLE

### Meaning

Specified catalog table not accessible; could be a table of a backward
migrated database.

### Response

Change application.

## SEW42ES

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42ES FOR AN UNLOAD STATEMENT VALUES OF COLUMNS HAVE TO BE CONVERTED, BUT THERE IS NO CODE TABLE DEFINED FOR CATALOG (&00)

### Meaning

For an UNLOAD statement values of columns with data type
NCHAR or NVARCHAR have to be converted to CHAR or VARCHAR
or values of columns with data type CHAR or VARCHAR
have to be converted to NCHAR or NVARCHAR.
Therefore a code table must be defined for the catalog.

### Response

Define a code table with ALTER CATALOG ALTER CODE_TABLE for the
catalog. Or change the unload format.

## SEW42ET

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42ET SPACE (&00).(&01) DOES NOT MATCH THE SPECIFIED TABLE

### Meaning

The Space does not contain the specified base table or one of its
partitions respectively.

### Response

Modify space name or table name

## SEW42EU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EU TABLE (&00).(&01).(&02) WITHOUT PRIMARY KEY

### Meaning

REORG TABLE is only allowed for tables with primary key.

### Response

Use REORG SPACE, if appropriate.

## SEW42EV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EV IT IS NOT POSSIBLE TO UNLOAD THE VIEW (&00).(&01).(&02) IN TRANSFER FORMAT.

### Meaning

Views can be only unloaded in delimiter format, CSV format, load format
or user defined format.

### Response

Correct statement.

## SEW42EX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EX MAXIMAL RESULT LENGTH OUT OF RANGE.

### Meaning

Specified maximal result length in TRANSLATE, COLLATE or NORMALIZE
out of range. Valid range is 1 - 32000 for result type
Character (varying) und 1 - 16000 for result type
National Character (varying).

### Response

Modify statement.

## SEW42EY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EY HEADER RECORD NOT WRITTEN

### Meaning

UNLOAD in CSV format using parameter WITH HEADER could not even
write the header record. Therefore the statement was aborted.

### Response

Modify DELIMITER, QUOTE or ESCAPE character, or remove parameter
WITH HEADER.

## SEW42EZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42EZ DATA TYPE OF DELIMITER RSP. QUOTE RSP. ESCAPE DOES NOT MATCH CHARACTER SET SPECIFICATION

### Meaning

In an UNLOAD statement, parameters delimiter rsp. quote rsp. escape
must correspond to the given character set specification, i.e. if UTFE
is specified, these parameters have to be of national character type,
otherwise they have to be of character type.

### Response

Specify the parameters using a suitable literal representation.

## SEW42E0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E0 HOST VARIABLE OR "?" PLACEHOLDER IN CREATE VIEW OR CREATE TEMPORARY VIEW STATEMENT

### Meaning

The query expression which defines the view in a CREATE VIEW or CREATE
TEMPORARY VIEW statement includes a host variable or a "?" placeholder.

### Response

Remove host variable or "?" placeholder.

## SEW42E1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E1 INVALID CONSTRUCT IN CHECK CONSTRAINT

### Meaning

One of the following constructs is used in a CHECK constraint:
- a host variable or a "?" placeholder
- CURRENT_DATE, CURRENT_TIME, LOCALTIME, CURRENT_TIMESTAMP, LOCALTIMESTAMP
- CURRENT_CATALOG, CURRENT_SCHEMA
- CURRENT_REFERENCED_CATALOG, CURRENT_ISOLATION_LEVEL
- USER, CURRENT_USER, SYSTEM_USER,
- UPPER() or LOWER() with a Unicode argument
- TRANSLATE(), NORMALIZE(), COLLATE()
- a set function or an user defined function
- a subquery

### Response

Remove invalid construct.

## SEW42E2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E2 "?" PLACEHOLDER NOT PERMITTED WITH EXECUTE IMMEDIATE

### Meaning

The "?" placeholder is not permitted in a dynamic SQL statement that is
to be prepared and executed by EXECUTE IMMEDIATE.

### Response

Remove "?".

## SEW42E3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E3 WHERE CLAUSE NOT PERMITTED FOR CALL DML ONLY TABLE (&00).(&01).(&02)

### Meaning

The EXPORT TABLE for a CALL DML only table must not contain a
WHERE clause.

### Response

Remove the WHERE clause and, if necessary, replace it with "NO DATA"
or "ALL DATA".

## SEW42E4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E4 HOST VARIABLE OR DYNAMIC PARAMETER "?" INVALID IN THIS STATEMENT

### Meaning

Host variables and dynamic parameters "?" are not permitted in
schema manipulation statements, in utilities, or in routines.

### Response

Remove the host variable or the dynamic parameter "?".

## SEW42E5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E5 INPUT FILE (&00) IS NOT AN EXPORT FILE

### Meaning

The input file does not have the correct format; it was not created
by SESAM with an EXPORT statement.

### Response

Specify the input file with the correct format in the statement.

## SEW42E6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E6 INPUT FILE (&00) IS NOT A SUITABLE FILE FOR EXPORT TABLE

### Meaning

The input file does not have the correct format; although it was
created by SESAM, it was not created by EXPORT TABLE but
internally by REORG, for example.

### Response

Specify the input file with the correct format in the statement.

## SEW42E7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E7 EXPORT FILE (&00) INCOMPATIBLE WITH CURRENT SESAM VERSION

### Meaning

Although the input file was created by EXPORT TABLE, it was created in
a higher SESAM version that is not supported by the current version.

### Response

Specify the export file with a suitable version in the statement, or use a
higher SESAM version for IMPORT.

## SEW42E8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E8 EXPORT FILE (&00) IS DEFECTIVE (FOR DIAGNOSIS: RRA (&01), DISPLACEMENT (&02))

### Meaning

An inconsistency was discovered when analyzing the export file.
Either a defective file was already generated with EXPORT, or the
file was subsequently changed (the file end may be missing).

### Response

Check if the file is the original file generated with EXPORT.
If not: Supply the correct export file (e.g. by reloading from tape)
or repeat the EXPORT.
If so: Send the export file to Diagnostics.

## SEW42E9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42E9 LOAD ONLINE NOT PERMITTED FOR CALL DML ONLY TABLE (&00).(&01).(&02)

### Meaning

LOAD ONLINE is only permitted for CALL DML tables or SQL tables.

### Response

Use LOAD OFFLINE or, if appropriate, migrate the table.

## SEW42FA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FA NO PREPARE STATEMENT FOR STATEMENT IDENTIFIER (&00)

### Meaning

The application program contains an EXECUTE or a dynamic DECLARE CURSOR
statement for a statement identifier but no PREPARE statement for that
statement identifier.

### Response

Add a PREPARE statement or modify the statement identifier in the EXECUTE
and DECLARE CURSOR statements.

## SEW42FB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FB SQL MODULE INCONSISTENT

### Meaning

The application program contains an incorrect DECLARE CURSOR or CREATE
TEMPORARY VIEW statement that can be referenced by other SQL statements.

### Response

Correct the reported errors in DECLARE CURSOR and CREATE TEMPORARY VIEW
statements in the application program.

## SEW42FC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FC NO DESCRIPTION AVAILABLE FOR CURSOR TABLE

### Meaning

No description of the columns of the cursor table is available for the
referenced cursor because:
- The cursor declaration was incorrect or was a dynamic cursor
declaration
- precompilation took place without checking against the SQL catalog
- a table which has been used does not exist, for instance or does not
exist for the current authorization key.

## SEW42FD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FD HOST VARIABLE DOES NOT HAVE DATA TYPE INTEGER

### Meaning

The referenced host variable must have SQL data type INTEGER.

### Response

Change the declaration of the host variable or use another host
variable.

## SEW42FE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FE COLLATION (&00).(&01).(&02) NOT ACCESSIBLE

### Meaning

Specified collation name not found in INFORMATION_SCHEMA.
Please take notice of restrictions for collation name usage.

### Response

Use valid collation name.

## SEW42FF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FF FUNCTION EVALUATION BY XHCS FAILED (XHCS ERROR (&00))

### Meaning

Evaluation of a function by XHCS failed because XHCS is not
available or an inappropriate XHCS version is used or an
internal error in XHCS occurred.

### Response

Use appropriate XHCS version

## SEW42FG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FG INVALID EXTRACT SPECIFICATION

### Meaning

An EXTRACT specification of YEAR, MONTH or DAY is only allowed
for values of type DATE or TIMESTAMP(3); an EXTRACT specification of
HOUR, MONTH or SECOND is only allowed for values of type
TIME(3) or TIMESTAMP(3). an EXTRACT specification of
WEEK_OF_YEAR, YEAR_OF_WEEK, DAY_OF_YEAR or DAY_OF_WEEK is only allowed
for values of type DATE or TIMESTAMP(3).

### Response

Modify statement

## SEW42FH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FH FEATURE (&00) NOT IMPLEMENTED

### Meaning

Used feature (&00) is not implemented.

### Response

Modify statement

## SEW42FK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FK CONDITION NAME (&00) NOT UNIQUE

### Meaning

The name of a condition must be unique.

### Response

Fix routine.

## SEW42FM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FM SIGNAL VALUE NOT IN VALID RANGE

### Meaning

The SQLSTATE of a signal value within a SIGNAL or RESIGNAL statement
must have the form 46Sxy where x and y are in the set
0-9, A-Z.

### Response

Fix routine.

## SEW42FN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FN CONDITION (&00) NOT ACCESSIBLE

### Meaning

There is no condition declaration for the given condition name.

### Response

Fix routine.

## SEW42FO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FO MESSAGE TEXT ONLY ALLOWED FOR AN USER DEFINED SQLSTATE.

### Meaning

In a SIGNAL or RESIGNAL statement a message text may be set only for
user defined SQLSTATEs.

### Response

Fix routine.

## SEW42FP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FP RESIGNAL FOR SQLSTATE OF CLASS 01 UND 02 NOT ALLOWED.

### Meaning

A RESIGNAL may not be used for an SQLSTATE of class 01 (Warning)
and 02 (No Data).

### Response

Fix routine.

## SEW42FQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FQ RETURNS CLAUSE MISSING IN FUNCTION DEFINITION (&00).

### Meaning

A function definition must contain a RETURNS clause.

### Response

Fix function definition.

## SEW42FR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FR FUNCTION DEFINITION (&00) MUST CONTAIN AT LEAST ONE RETURN STATEMENT.

### Meaning

A function definition must contain a RETURN statement.

### Response

Fix function definition.

## SEW42FS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FS FUNCTION DEFINITION (&00) CONTAINS ILLEGAL ACCESS MODE.

### Meaning

A function definition must not contain access mode MODIFIES SQL DATA.

### Response

Fix function definition.

## SEW42FT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FT FUNCTION DEFINITION (&00) CONTAINS OUT OR INOUT PARAMETER (&01).

### Meaning

A function definition must not contain IN or INOUT parameters.

### Response

Fix function definition.

## SEW42FU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FU PROCEDURE DEFINITION (&00) CONTAINS RETURNS CLAUSE.

### Meaning

A procedure definition must not contain a RETURNS clause.

### Response

Fix procedure definition.

## SEW42FV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FV PROCEDURE DEFINITION (&00) CONTAINS RETURN STATEMENT.

### Meaning

A procedure definition must not contain a RETURN statement.

### Response

Fix procedure definition.

## SEW42FW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FW CALL FOR FUNCTION (&00).(&01).(&02) NOT ALLOWED.

### Meaning

A function cannot be called by a CALL statement.

### Response

Fix statement.

## SEW42FX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42FX ILLEGAL ACCESS MODE COMBINATION FOR ROUTINE (&00).(&01).(&02)

### Meaning

In a routine definition only routines can be called which
have an access mode allowed by the calling routine.

### Response

Fix statement.

## SEW42F0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F0 CURSOR NAME NOT UNIQUE

### Meaning

Cursor names must be unique within an
ESQL compilation unit or a routine.

### Response

Give the cursors different names.

## SEW42F1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F1 CURSOR (&00) NOT DECLARED

### Meaning

The referenced cursor has not been declared in a previous DECLARE CURSOR
statement.

### Response

Add a DECLARE CURSOR statement, or move it to a preceding position, or
modify the cursor name.

## SEW42F2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F2 ILLEGAL POSITIONING FOR CURSOR (&00)

### Meaning

FETCH PRIOR, FETCH FIRST, FETCH LAST, FETCH ABSOLUTE and FETCH RELATIVE
are not permitted for cursors which have not been declared with SCROLL.

### Response

Use FETCH NEXT or declare cursor with SCROLL.

## SEW42F3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F3 INVALID CONSISTENCY LEVEL

### Meaning

Only the values 0 through 4 are permitted for CONSISTENCY LEVEL in SET
TRANSACTION.

### Response

Modify value accordingly.

## SEW42F4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F4 HOST VARIABLE OR LITERAL VALUE NOT OF SQL DATA TYPE SMALLINT

### Meaning

All indicator variables, and host variables for all the fields of a
descriptor area except DATA and NAME, must be of a type that corresponds
to the SQL data type SMALLINT. The values of the literals for these
fields must be within the range of values for SMALLINT.

### Response

Declare host variable differently, use a different host variable or modify
literal accordingly.

## SEW42F5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F5 VARIABLE OR PARAMETER OR LITERAL VALUE NOT OF THE SQL DATA TYPE INTEGER OR SMALLINT

### Meaning

A variable or a parameter must be of a type which corresponds to the
SQL data type INTEGER or SMALLINT.
The value of a literal must be within the range of values for INTEGER.

### Response

Declare variable or parameter differently, use a different variable or
parameter, or modify literal accordingly.

## SEW42F6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F6 ILLEGAL SQL DATA TYPE FOR DESCRIPTOR NAME

### Meaning

A host variable specified after DESCRIPTOR GLOBAL must be of a type which
corresponds to the SQL data type CHAR(n), where n <= 18. If a literal is
specified, it must be of the SQL data type CHAR(n), where n <= 18.

### Response

Declare host variable differently, use a different host variable or modify
literal accordingly.

## SEW42F7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F7 HOST VARIABLE NOT OF SQL DATA TYPE CHAR OR VARCHAR

### Meaning

A host variable in SET CATALOG, SET SCHEMA, SET SESSION AUTHORIZATION,
PREPARE FROM or EXECUTE IMMEDIATE must be of SQL data type CHAR or VARCHAR

### Response

Declare host variable differently or use a different host variable.

## SEW42F8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F8 HOST VARIABLE FOR NAME NOT OF VALID SQL DATA TYPE CHAR OR VARCHAR

### Meaning

The data type of the host variable for the NAME field in GET DESCRIPTOR
must correspond to the SQL data type CHAR(n), where 128 <= n <= 256, or
to VARCHAR(n), where 128 <= n <= 32000.

### Response

Declare host variable differently or use a different host variable.

## SEW42F9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42F9 INVALID SQL DATA TYPE FOR HOST VARIABLE

### Meaning

The data type of the host variable must correspond to one of the
following SQL data types:
- DOUBLE PRECISION, REAL
- NUMERIC(p,s) or DECIMAL(p,s), where 1 <= p <= 31 and 0 <= s <= p
- INTEGER, SMALLINT, TIMESTAMP(3), DATE, TIME(3)
- CHAR(n), where 1 <= n <= 256; or VARCHAR(n), where 1 <= n <= 32000

### Response

Declare host variable differently.

## SEW42GA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42GA PRAGMA UTILITY MODE ON FOR COLUMN (&00).(&01).(&02).(&03) NOT ALLOWED

### Meaning

PRAGMA UTILITY MODE ON not allowed
- in a DROP COLUMN statement if there are unique constraints
or indexes for the column

### Response

Either: delete dependent objects, repeat SQL statement
Or: remove PRAGMA UTILITY MODE ON, repeat SQL statement.

## SEW42GB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42GB QUOTE CHARACTER INCORRECT

### Meaning

The quote character must comply with the required rules.

### Response

Modify SQL statement accordingly.

## SEW42GC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42GC ESCAPE CHARACTER INCORRECT

### Meaning

The escape character must comply with the required rules.

### Response

Modify SQL statement accordingly.

## SEW42GD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42GD ADD INDEX INVALID FOR PRAGMA UTILITY MODE ON

### Meaning

ADD COLUMN with ADD INDEX is invalid for PRAGMA UTILITY MODE ON.

### Response

Either: at first execute ADD COLUMN without ADD INDEX using PRAGMA UTILITY
MODE ON, then execute CREATE INDEX without PRAGMA UTILITY MODE ON.
Or: remove PRAGMA UTILITY MODE ON, repeat SQL statement.

## SEW42GE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42GE SPACE (&00).(&01) CONTAINS AT LEAST ONE PARTITIONED CALL DML TABLE

### Meaning

A tape file was specified as the working file. In this case REORG with
NEW ROW_IDS is not allowed, if a partitioned CALL DML table exists on
this space.

### Response

Either do not specify NEW ROW_IDS or use a disk file as the working file.

## SEW42G0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G0 HOST VARIABLE WITH SQL DATA TYPE VARCHAR OR NVARCHAR MUST NOT BE A VECTOR

### Meaning

If a host variable is a vector with more than one component, its type
must not correspond to an SQL data type VARCHAR or NVARCHAR.

### Response

Declare the host variable differently.

## SEW42G1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G1 INDICATOR VARIABLE OF VECTOR MUST BE VECTOR WITH SAME DIMENSION

### Meaning

The indicator variable for a host variable which is a vector must be a
vector with the same number of components.

### Response

Index indicator variable correctly.

## SEW42G2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G2 INDICATOR VARIABLE MUST NOT BE A VECTOR

### Meaning

The indicator variable of a host variable that is not a vector must not
be a vector.

### Response

Add index to indicator variable.

## SEW42G3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G3 INDEX NAME (&00) NOT UNIQUE

### Meaning

The index name (&00) has been specified in the list of index names more
than once.

### Response

Modify SQL statement accordingly.

## SEW42G4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G4 SPACE NAME (&00) NOT UNIQUE

### Meaning

The space name (&00) has been specified in the list of space names more
than once.

### Response

Modify SQL statement accordingly.

## SEW42G5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G5 NAME OF INTEGRITY CONSTRAINT (&00) NOT UNIQUE

### Meaning

The name (&00) has been specified in the list of the names of integrity
constraints more than once.

### Response

Modify SQL statement accordingly.

## SEW42G6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G6 NAME OF STORAGE GROUP (&00).(&01) NOT UNIQUE

### Meaning

A storage group name is specified more than once in the statement.

### Response

Correct the SQL statement.

## SEW42G7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G7 CASCADE OPTION NOT SUPPORTED FOR THIS STATEMENT

### Meaning

The CASCADE option cannot be specified for all statements.

### Response

Modify SQL statement accordingly.

## SEW42G8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G8 DELIMITER CHARACTER INCORRECT

### Meaning

The delimiter character must comply with the required rules.

### Response

Modify SQL statement accordingly.

## SEW42G9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42G9 CASCADE OPTION INVALID FOR PRAGMA UTILITY MODE ON

### Meaning

The CASCADE option is invalid for PRAGMA UTILITY MODE ON.

### Response

Either: delete dependent objects, repeat the SQL statement without CASCADE
(or with RESTRICT). Or: remove PRAGMA UTILITY MODE ON, repeat the SQL
statement.

## SEW42HA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HA ARGUMENT MUST NOT BE DYNAMIC PARAMETER "?"

### Meaning

The argument of the function must not just consist of a
dynamic parameter "?" because its data type cannot
be determined from the context.

### Response

Use an argument with definite data type,
such as CAST( ? AS CHAR(10) ).

## SEW42HB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HB WRONG DATA TYPE FOR ENCRYPTION KEY ARGUMENT

### Meaning

In a function ENCRYPT or DECRYPT, the data type of the argument for
the encryption key is inappropriate for the encryption method.
For the AES method, the key must have data type CHAR(16) or VARCHAR(>=16).

### Response

Use an argument with correct data type.

## SEW42HC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HC DATA TYPE TOO LONG FOR ENCRYPTION

### Meaning

In the function ENCRYPT, the first argument has a data type for which
the encryption result can be too long.
For the AES method, values of data types VARCHAR(>31998) and
NVARCHAR(>15999) cannot be encrypted.

### Response

Use an argument with shorter data type.

## SEW42HD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HD INCORRECT DATA TYPE FOR ENCRYPTED VALUE

### Meaning

In the function DECRYPT, the data type of the 1st argument does not match
the target data type. For the AES method, encrypted values have data types
CHAR(M) where M is an integral multiple of 16 (except 0), or any data type
VARCHAR(N) with N >= M. Moreover, depending on the target type, one must
have:
- N >= M = 16 for target types SMALLINT, INT, REAL, DOUBLE, NUMERIC(<=14),
DECIMAL(<=27), DATE, TIMESTAMP(3), TIME(3);
- N >= M = 32 for target types NUMERIC(15..30), DECIMAL(>=28);
- N >= M = 48 for target types NUMERIC(31);
- N >= M >= R + 2 > M - 16 for target types CHAR(R), VARCHAR(R);
- N >= M >= 2*R + 2 > M - 16 for target types NCHAR(R), NVARCHAR(R).

### Response

Use an argument with correct data type or change the target data type.

## SEW42HE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HE ILLEGAL ARGUMENT TYPE FOR VALUE_OF_REP

### Meaning

In the function VALUE_OF_REP(), the first argument must have
data type CHAR(M) or VARCHAR(N), and the octet length of the
target data type given as second argument must be = M and <= N.
The octet length of the target type is
- 2 for SMALLINT, 4 for INT and REAL, 8 for DOUBLE PRECISION;
- P for NUMERIC(P,S), FLOOR(P/2 + 1) for DECIMAL(P,S):
- 6 for DATE, 14 for TIMESTAMP(3), 8 for TIME(3);
- R for CHAR(R) and VARCHAR(R), 2*R for NCHAR(R) and NVARCHAR(R).

### Response

Use an argument with correct data type
or change the target data type.

## SEW42HF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HF ARGUMENT TYPE TOO LONG FOR FUNCTION

### Meaning

The argument of the function HEX_OF_VALUE() must not
have data type VARCHAR(N) with N > 16000, nor
data type NVARCHAR(N) with N > 8000.

### Response

Use an argument with acceptable data type.

## SEW42HG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HG HEXADECIMAL STRING ARGUMENT WITH INCORRECT DATA TYPE

### Meaning

The argument of the function VALUE_OF_HEX() must have
data type CHAR(M) or VARCHAR(N), where M and N are
constrained by the target data type as follows:
- N >= M = 4 for target type SMALLINT, and 8 for INT und REAL;
- N >= M = 16 for target type DOUBLE; = 2*P for NUMERIC(P,S);
- N >= M = 2*FLOOR(P/2 + 1) for target type DECIMAL(P,S);
- N >= M = 12 for DATE, 28 for TIMESTAMP(3), 16 for TIME(3);
- N >= M = 2*R for CHAR(R) and VARCHAR(R), and 4*R for NCHAR(R) and
NVARCHAR(R).

### Response

Use an argument with acceptable data type or modify the target type.

## SEW42HH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HH ITERATE TARGET LABEL (&00) NOT IN VALID RANGE

### Meaning

An ITERATE statement contains a target label which is not
in the range of currently open iterated statements; especially
the target label must not be a label of a compound statement
and must not be outside the containing compound statement
or exception handler.

### Response

Fix text of routine.

## SEW42HI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HI NO COLUMNS REFERENCED BY ASTERISK

### Meaning

In a SELECT list, an element * or name.* must reference at least one
column.

### Response

Drop the asterisk from the SELECT list.

## SEW42HK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HK SQL VARIABLE NAME (&00) NOT UNIQUE

### Meaning

Variable names in a routine must be unique.

### Response

Fix variable declaration.

## SEW42HL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HL SQL VARIABLE NAME (&00) EQUAL TO PARAMETER NAME

### Meaning

SQL variable names and parameter names must be different.

### Response

Fix variable declaration.

## SEW42HM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HM NUMBER OF ARGUMENTS DOES NOT MATCH ROUTINE DEFINITION

### Meaning

The number of arguments must match the number of parameters
in the routine definition.

### Response

Fix call or definition of routine.

## SEW42HN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HN PROCEDURE OUTPUT PARAMETER (&00) MUST BE A VARIABLE

### Meaning

A procedure CALL must use a variable or a parameter
for an output parameter.

### Response

Fix call or definition of procedure.

## SEW42HP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HP DATA TYPE OF ARGUMENT DOES NOT MATCH TYPE OF PARAMETER (&00)

### Meaning

Data type of argument must match data type of corresponding
parameter.

### Response

Fix call or definition of routine.

## SEW42HQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HQ GENERIC ERROR: (&00)

### Meaning

Error output during implementation.

### Response

Must not occur in released version.

## SEW42HR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HR PARAMETER (&00) MUST BE OF TYPE IN OR INOUT.

### Meaning

A parameter of type OUT cannot be used as input parameter.

### Response

Fix call or definition of procedure.

## SEW42HS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HS PARAMETER (&00) MUST BE OF TYPE INOUT OR OUT.

### Meaning

A parameter of type IN cannot be used as output parameter.

### Response

Fix call or definition of procedure.

## SEW42HT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HT DEFAULT VALUE DOES NOT MATCH DATA TYPE OF VARIABLE (&00)

### Meaning

In a compound statement, a default value must
match the data type of the corresponding variable.

### Response

Fix definition of routine.

## SEW42HU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HU PARAMETER OR VARIABLE (&00) NOT EXISTING.

### Meaning

There is no routine parameter or variable with the given name.

### Response

Fix definition of the routine.

## SEW42HV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HV LEAVE LABEL (&00) NOT IN VALID RANGE.

### Meaning

A LEAVE or ITERATE statement contains a target label which is not
in the current valid range of target labels; especially
the target label must not be a label outside the containing
compound statement or exception handler.

### Response

Fix definition of routine.

## SEW42HW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HW LABEL NAME (&00) NOT UNIQUE.

### Meaning

Specified label name not unique.

### Response

Fix definition of routine.

## SEW42HX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HX END LABEL (&00) DIFFERENT FROM START LABEL.

### Meaning

An end label of a statement must be equal to the
start label; especially there must not be an end label
if there is no start label.

### Response

Fix definition of routine.

## SEW42HY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HY NUMBER OF OUTPUT VARIABLES DOES NOT MATCH PROCEDURE PROFILE.

### Meaning

In a static procedure call, the number of variables must match
the procedure profile.

### Response

Fix definition of procedure or call statement.

## SEW42HZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42HZ DATA TYPE OF PARAMETER (&00) DOES NOT MATCH DESCRIPTOR ITEM TYPE

### Meaning

In a static procedure call, the data type of an output variable
must match the corresponding procedure parameter data type.

### Response

Fix definition of procedure or call statement.

## SEW42H0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H0 TOO MANY HOST VARIABLES IN SQL TEXT

### Meaning

The number of different host variables in an SQL statement or cursor
declaration is limited, and this limit has been exceeded.

### Response

Reduce number of host variables; split the statement into several
statements.

## SEW42H1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H1 TOO MANY VECTOR COMPONENTS IN HOST VARIABLE

### Meaning

The number of components of a host variable that is a vector is limited,
and this limit has been exceeded.

### Response

Reduce the second index of the host variable.

## SEW42H2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H2 COMMIT AND ROLLBACK NOT PERMITTED IN UTM APPLICATION

### Meaning

In UTM programs, execution of a COMMIT or ROLLBACK SQL statement
always results in an exception condition.

### Response

Modify application program and repeat precompilation.

## SEW42H3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H3 UNDECLARED TEMPORARY VIEW (&00)

### Meaning

(a) A temporary view is referenced in an application program, without
being declared in the program text beforehand.
(b) References to temporary views are not permitted in dynamically
compiled SQL statements.

### Response

(a) Correct the application program and precompile it again.
(b) Change the dynamically compiled statement.

## SEW42H4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H4 INCORRECT SEQUENCE OF STRINGS OF TYPE '...'

### Meaning

A line cannot contain two strings of the type '...' in succession.
If the strings are part of the same literal, they must be on separate
lines. If they belong to different literals, they must be separated
syntactically (e.g. by a comma).

### Response

Enter new line or separator.

## SEW42H5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H5 NUMBER OF OCCURRENCES IN DATA TYPE INVALID HERE

### Meaning

A CAST operation has a multiple data type as its target type. This is
not permitted.

### Response

Modify application program.

## SEW42H6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H6 NO RESULT VALUE FOR CASE

### Meaning

In a CASE operation, NULL is in all THEN clauses, and
- either no ELSE clause is specified, or
- NULL is also in the ELSE clause

### Response

Specify at least one expression without NULL in THEN/ELSE clauses.

## SEW42H7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H7 TRIM SPECIFIED WITH FROM BUT WITHOUT TRIM MODE OR TRIM CHARACTER

### Meaning

In a TRIM function containing "FROM", either a TRIM mode or a TRIM
character must also be specified. This is not the case here.

### Response

Specify TRIM mode or TRIM character, or remove "FROM".

## SEW42H8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H8 INVALID USE OF "?" PLACEHOLDER IN ALPHANUM. FUNCTIONS

### Meaning

In a preparable SQL statement, "?" placeholders may not be used in
the following cases:
- as an operand of the UPPER or LOWER function
- as an operand of the TRIM function (i.e. as TRIM source or TRIM
character)
- as the first operand of the SUBSTRING function (i.e. as SUBSTRING
source)

### Response

Replace "?" placeholder.

## SEW42H9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42H9 TEMPORARY VIEWS NO LONGER SUPPORTED

### Meaning

Temporary views are no longer supported as of SESAM/SQL V3.0.

### Response

Modify the application program; replace temporary views with
permanent ones as required.

## SEW42IA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IA ERROR IN SPACE LIST OF PARTIAL REPLICATION (&00).

### Meaning

At least one of the spaces specified in the space list of the partial
replication does not exist.

### Response

Locate the incorrect space entry and re-enter the corrected
CREATE REPLICATION statement.

## SEW42IB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IB NO USER SPACE AVAILABLE, REPLICATION (&00) NOT CREATED.

### Meaning

The backup contains no user space.
It only makes sense to create a replication if a backup with at least one
user space is available.

## SEW42IC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IC THE PARTIAL REPLICATION (&00) DOES NOT CONTAIN THE TABLE SPACE.

### Meaning

You will perform a refresh after CREATE INDEX on a partial
replication that does not contain the associated table space.
Refreshing the partial replication is not possible in this case.
The last refresh was therefore aborted with an error condition.
A new refresh is therefore not possible.

### Response

Create a new replication.

## SEW42ID

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42ID THE FOREIGN COPIES HAVE DIFFERENT BACKUP TIMESTAMPS

### Meaning

Recovery is only possible with foreign copies having the same backup
timestamp. The timestamps differ, because the foreign copies are not
commonly created after a PREPARE-FOREIGN-COPY, a condition for a space
list.

### Response

Group the spaces according their backup timestamp

## SEW42IE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IE THE BACKUP SPECIFIED BY USING IS NOT OLDER THAN THAT SPECIFIED BY TO

### Meaning

The position specified by TO can only be recovered starting from an
older backup

## SEW42IF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IF THE SPECIFIED BACKUP FOR SPACE (&00).(&01) IS INVALID

### Meaning

When creating the backup the space was not in the log.
Or the backup was created in a previous SESAM version.
Only RECOVER TO is allowed with the spacified backup.

## SEW42IG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IG THE SPACE (&00).(&01) CANNOT BE FOUND.

### Meaning

The space (&01) is not defined in the catalog (&00)

## SEW42IH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IH THE SPACE (&00).(&01) IS MULTIPLY SPECIFIED.

### Meaning

A space should be specified only once in a space list.

## SEW42IK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IK THE TABLE SPACE FOR AN INDEX SPACE IS MISSING IN THE SPACE LIST

### Meaning

If a create index is involved refreshing the replication also the
table space should be specified in the statement.

## SEW42IL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IL TIMESTAMP OLDER THAN BACKUP OF CATALOG SPACE (&00)

### Meaning

The catalog is to be recovered to a point of time older than the specified
backup of the catalog space.
If USING has not been specified, the catalog is to be recovered to a point
of time before its creation date.

### Response

Specify a reasonable timestamp.

## SEW42IM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IM THE CATALOG CANNOT BE RESET TO THE SPECIFIED DATE

### Meaning

The timestamp specifies a date within the period of changing from daylight
saving time to standard time. Because of the ambiguity of this date the
catalog cannot be reset.

### Response

Possibly use another timestamp.

## SEW42IN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IN THERE EXISTS A BACKUP COPY WITH A TIMESTAMP HIGHER THAN THE CURRENT TIMESTAMP.

### Meaning

A backup copy should be created, but there exists already
a backup copy which is created later.

### Response

Check the time setting of the machine (time travel)
or delete the rows in the recovery units with later timestamp

## SEW42IO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IO VARIABLE (&00) FOR OUTPUT MUST BE UNIQUE IN CALL STATEMENT

### Meaning

An output variable in a call statement can only be used once.

### Response

Fix call of procedure.

## SEW42IP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IP HOLD FOR CURSOR (&00) IN ROUTINE NOT ALLOWED.

### Meaning

HOLD must not be specified for a cursor in a routine.

### Response

Fix routine.

## SEW42IQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IQ SQLSTATE OR CONDITION NAME OR CLASS OF SQLSTATE NOT UNIQUE

### Meaning

An SQLSTATE, the classes SQLEXCEPTION, SQLWARNING and NOT FOUND
and a condition name (rsp. the corresponding SQLSTATE)
must not be specified in more than one exception handler
and must be unique within a handler.

### Response

Fix routine.

## SEW42IR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IR UNDO HANDLER FOR NON ATOMIC COMPOUND STATEMENT

### Meaning

Undo handler only allowed for compound statement
with property ATOMIC.

### Response

Fix routine.

## SEW42IS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42IS PRAGMA BETWEEN LITERAL CONTINUATIONS

### Meaning

There must be no pragma specification between
literal continuations.

### Response

Fix statement.

## SEW42I0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I0 SPECIFIED RECOVERY UNIT HAS THE WRONG TYPE

### Meaning

RECOVER USING has to start with a recovery unit of
recovery type "COPY", "CREATE" or "REPLICATION". RECOVER TO recovery
unit of recovery type "CREATE" is not allowed. In REFRESH SPACE
only "COPY" is allowed.

### Response

Repeat the statement and specify the correct backup.

## SEW42I1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I1 NO RECOVERY UNIT RECORD FOUND FOR SPACE (&00).(&01) IN THE METADATA

### Meaning

No recovery unit record was found to recover to the specified mark

### Response

Possibly use a foreign copy or a replication to recover

## SEW42I2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I2 THE BACKUP FOR SPACE (&00).(&01) WAS NOT FOUND

### Meaning

- The specified backup was not found in the RECOVERY_UNITS base table
or in the CAT-REC file respectively.
- If no backup was specified in a RECOVER Statement not any backup was
found in the RECOVERY_UNITS base table or in the CAT-REC file
respectively.

### Response

Check the specified backup. If the statement was a REFRESH SPACE,
consider, that a REFRESH REPLICATION statement may precede to update
the metadata of the replication.

## SEW42I3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I3 SPACE (&00).(&01) IS NOT SUBJECT TO LOGGING

### Meaning

Space is not subject to logging and thus cannot be fully recovered or
refreshed respectively

### Response

recover space to previous state

## SEW42I4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I4 RESTART OR ADJUST CANNOT BE PERFORMED FOR SPACE (&00).(&01) BECAUSE NO RESTART RECORD EXISTS FOR SPACE

### Meaning

No restart record was found in the recovery units for RECOVER ... RESTART
or ADJUST for the specified space. There was no interruption to a recovery
that can be continued with RESTART or concluded with ADJUST.

## SEW42I5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I5 SPECIFIED TIMESTAMP DOES NOT SPECIFY SPACE SET

### Meaning

The specified timestamp does not specify a space set.

### Response

Repeat statement with correct timestamp.

## SEW42I6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I6 MOST RECENT RECOVERY UNIT RECORD NOT SUITABLE FOR RECOVERING SPACE (&00). (&01) TO MARK

### Meaning

The most recent recovery unit record is not suitable for recovering the
space to the mark.

### Response

Possibly use a foreign copy or a replication to recover

## SEW42I7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I7 FILE (&00) SPECIFIED WITH COPY_FILE IS NOT A BACKUP FILE

### Meaning

a) Backup is not in the RECOVERY_UNITS base table and the file name is
an invalid copy file name.
b) The file does not have the structure of a space.

### Response

Repeat statement with correct copy file name.

## SEW42I8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I8 LOGGING REQUESTED FOR CATALOG (&00) WITHOUT LOGGING

### Meaning

Logging has not been defined for the catalog. The logging status of the
catalog cannot be modified.

### Response

Execute COPY without logging.

## SEW42I9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42I9 NO FREE VERSION NUMBER FOR COPY

### Meaning

No version number is available for copying a space.

### Response

Delete copies you no longer require with MODIFY.

## SEW42JA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42JA LENGTH OF STRING MUST BE ONE CHARACTER

### Meaning

The length of the arguments DELIMITER, QUOTE, and ESCAPE of
the function TABLE CSV() or in the load rsp. unload
format CSV_FORMAT must be one character.

### Response

Modify argument accordingly.

## SEW42JB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42JB ARGUMENTS DELIMITER, QUOTE, AND ESCAPE OF CSV MUST HAVE DIFFERENT VALUES

### Meaning

No two of the arguments DELIMITER, QUOTE, and ESCAPE
can have the same value.

### Response

Modify arguments accordingly.

## SEW42JC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42JC ILLEGAL FORMAT OF BS2000 FILE REFERENCE

### Meaning

The first argument of the function TABLE CSV() contains
no file name, or a question mark "?" that is not followed by the
parameter name PASSWORD=.

### Response

Modify the first argument of function TABLE CSV() accordingly.

## SEW42JD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42JD ILLEGAL DATA TYPE MIX IN CSV OPERANDS.

### Meaning

Arguments DELIMITER, QUOTE and ESCAPE of
CSV must have identical data types.

### Response

Modify arguments accordingly.

## SEW42LA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LA ILLEGAL SCHEMA NAME IN TABLE OR ROUTINE (&00).(&01).(&02)

### Meaning

When granting privileges in a CREATE SCHEMA statement, the specified table
name or routine name, respectively, may only be qualified with the name
of the defined schema.

### Response

Modify application program accordingly.

## SEW42LB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LB ILLEGAL OR MISSING DEFAULT SCHEMA NAME

### Meaning

The default schema name to be used for the SQL statement is
syntactically incorrect or missing. An unqualified identifier
must not contain any control characters, and it must not
begin with an underscore (low line).

### Response

Modify the command where the default was defined, such as
the invocation of an SQL precompiler, or the parameters of
a JDBC connect operation.
Or qualify with an explicit schema name so that the default
is never used.

## SEW42LC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LC CLOSING BRACKET FOR COMMENT MISSING

### Meaning

Bracketing of comments with /* and */ must be correct, even
inside a bracketed comment.

### Response

Correct the text of the statement.

## SEW42LD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LD OPENING BRACKET FOR COMMENT MISSING

### Meaning

Bracketing of comments with /* and */ must be correct, even
inside a bracketed comment.

### Response

Correct the text of the statement.

## SEW42LE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LE ILLEGAL TRIGRAPH

### Meaning

The only trigraphs are ??( and ??( for square brackets.

### Response

Correct the text of the statement.

## SEW42LF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LF INCORRECTLY QUALIFIED ROUTINE NAME (&02) IN SCHEMA (&00).(&01)

### Meaning

The schema in the routine name does not match the schema in the schema
definition.

### Response

Correct the routine name by qualifying it with the correct schema.

## SEW42LG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LG ROUTINE NAME (&02) IN SCHEMA (&00).(&01) NOT UNIQUE

### Meaning

In the schema definition the routine name has been specified more than
once.

### Response

Use non-ambiguous routine names.

## SEW42LH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LH COMPOUND STATEMENT NOT PERMITTED IN THIS CONTEXT

### Meaning

Within a procedure statement no compound statement may be specified.
In particular compound statements may not be nested.

### Response

Modify the text of the procedure statement.

## SEW42LI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LI ILLEGAL SQLSTATE VALUE

### Meaning

An illegal SQLSTATE value was specified in a handler declaration. The
value shall comprise five characters which must be digits 0-9
or uppercase letters A-Z; the value has to start with one of the digits
0-4 but it must not belong to the
message classes 'successful completion' or 'transaction rollback',
respectively (i.e. it may not start with '00' or '40').

### Response

Modify the SQLSTATE value.

## SEW42LJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LJ DECLARATION IN EXCEPTION HANDLER ILLEGAL

### Meaning

Within an exception handler there must not be any declaration.

### Response

Fix routine.

## SEW42LK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42LK COMPOUND STATEMENT IN EXCEPTION HANDLER MUST NOT BE ATOMIC

### Meaning

Within an exception handler a compound statement must not be ATOMIC.

### Response

Fix routine.

## SEW42L0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L0 "?" PLACEHOLDER INVALID FOR ALL ARGUMENTS

### Meaning

The following cases are invalid for a preparable SQL statement:
- all arguments for a comparison or an IN predicate with expression list
are "?"
- the 1st, and the 2nd or 3rd argument of a BETWEEN predicate are "?"
- all the operands of a POSITION, COALESCE or NULLIF are "?"
- in a CASE expression of the type "CASE v WHEN v1 THEN r1 ... END", the
expression after "CASE", and the expression in each "WHEN" clause
is a "?" placeholder
- in a CASE expression, the expression of each THEN clause and of the ELSE
clause (if specified) consists of either a "?" placeholder or "NULL"

### Response

Replace a "?" placeholder or a "NULL", with e.g. "CAST (? AS
data_type)" or "CAST (NULL AS data_type)".

## SEW42L1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L1 ILLEGAL COMMENT

### Meaning

A preparable SQL statement contains an illegal comment. Only comments
which can be interpreted as PRAGMA are permitted.

### Response

Remove comment.

## SEW42L2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L2 "?" PLACEHOLDER ON BOTH SIDES OF OPERATOR

### Meaning

In a preparable SQL statement, a "?" placeholder has been specified on
both sides of an arithmetic operator or on both sides of the "||"
concatenation operator for alphanumeric values.

### Response

Remove one of the "?" placeholders.

## SEW42L3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L3 "?" PLACEHOLDER IN SELECT LIST

### Meaning

An item in the select list of a preparable SQL statement consists of a "?"
placeholder only.

### Response

Remove the "?" placeholder.

## SEW42L4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L4 "?" PLACEHOLDER AS ARGUMENT OF MONADIC "+" OR "-", NULL OR CASTABLE PREDICATE OR SET FUNCTION

### Meaning

A preparable SQL statement includes a "?" placeholder as the argument of
a monadic "+" or "-", of a null or castable predicate or of a set
function.

### Response

Remove "?" placeholder.

## SEW42L5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L5 HOST VARIABLE NOT PERMITTED IN PREPARABLE SQL STATEMENT

### Meaning

A host variable was found in an SQL statement to be prepared using a
PREPARE or EXECUTE IMMEDIATE statement. A host variable can only be used
in non-preparable SQL statements however

### Response

Remove host variable.

## SEW42L6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L6 "?" PLACEHOLDER ON LEFT SIDE OF IN PREDICATE AND AS FIRST ELEMENT IN VALUE LIST ON RIGHT SIDE

### Meaning

In a preparable SQL statement, a "?" placeholder has been specified on the
left side of an IN predicate and as the first element of the value list on
the right side of this IN predicate.

### Response

Remove one of the "?" placeholders.

## SEW42L7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L7 SQL PARAMETER OR SQL VARIABLE NOT PERMITTED OUTSIDE A ROUTINE

### Meaning

SQL parameters and local variables, can only be used in routines.

### Response

Remove SQL parameters or local variables, respectively, or replace them
by host variables.

## SEW42L8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L8 UPDATE TYPE SPECIFIED MORE THAN ONCE FOR COLUMN (&00).(&01).(&02).(&03)

### Meaning

When updating a column, the same type of update may only be specified
once for a column (i.e. updating data type, deletion of default value,
etc.).

### Response

Modify application program accordingly.

## SEW42L9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42L9 ILLEGAL SCHEMA NAME IN INDEX TABLE (&00).(&01).(&02)

### Meaning

When defining an index in a CREATE SCHEMA statement, the specified table
name may only be qualified with the name of the defined schema.

### Response

Modify application program accordingly.

## SEW42M1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42M1 INVALID POSITIONING FOR PREFETCH CURSOR

### Meaning

FETCH FIRST, FETCH LAST, FETCH ABSOLUTE and FETCH RELATIVE are not
permitted for buffered cursors (PRAGMA PREFETCH).

### Response

Use FETCH NEXT, or remove PRAGMA PREFETCH.

## SEW42M2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42M2 STORE INVALID FOR PREFETCH CURSOR.

### Meaning

STORE is not permissible for buffered cursors (PRAGMA PREFETCH).

### Response

Remove PRAGMA PREFETCH from the cursor declaration.

## SEW42M3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42M3 ILLEGAL UPDATE POSITIONED WITH PREFETCH CURSOR (&00) IN MODULE (&01)

### Meaning

Update operations are not permitted for buffered cursors (PRAGMA
PREFETCH).

### Response

Remove PRAGMA PREFETCH, or update without reference to the relevant
cursor.

## SEW42M4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42M4 ILLEGAL DELETE POSITIONED WITH PREFETCH CURSOR (&00) IN MODULE (&01)

### Meaning

Delete operations are not permitted for buffered cursors (PRAGMA
PREFETCH).

### Response

Remove PRAGMA PREFETCH, or delete without reference to the relevant
cursor.

## SEW42NA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NA ILLEGAL CALL DML DEFAULT VALUE CHARACTER FOR SQL TABLE (&00).(&01).(&02)

### Meaning

Specification of a CALL DML default value character is only required for
the CALL DML interface. This specification is no longer permitted for
tables accessed exclusively by means of SQL statements.

### Response

Either define the table as a CALL DML table or do not specify a CALL DML
default value character.

## SEW42NB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NB NO CALL DML DEFAULT VALUE FOR TABLE (&00).(&01).(&02)

### Meaning

A CALL DML default value character must be defined in CALL DML tables for
columns which are not part of the primary key.

### Response

Specify a CALL DML default value character.

## SEW42NC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NC SYMBOLIC ATTRIBUTE NAME (SAN) FOR TABLE (&00).(&01).(&02) CANNOT BE ACCESSED

### Meaning

The symbolic attribute name (SAN) is already assigned or is specified
several times in the SQL statement.

### Response

Assign a different symbolic attribute name.

## SEW42ND

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42ND CATALOG (&00) CANNOT BE ACCESSED

### Meaning

The SQL statement refers to a catalog that does not exist or which is
marked as locked in the in the SQL database catalog.
If the catalog name cannot be derived from the statement, the statement
is sent to the default catalog; this cannot be accessed.

### Response

Check DBH configuration.

## SEW42NE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NE SCHEMA (&00).(&01) IS NOT EMPTY

### Meaning

The schema cannot be deleted (because of RESTRICT) because it still
contains at least one table or one routine, respectively.

### Response

If necessary, determine the associated tables and routines with the help
of the INFORMATION_SCHEMA views and delete them using DROP TABLE, DROP
VIEW, DROP PROCEDURE, or DROP FUNCTION, respectively.

## SEW42NF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NF ILLEGAL COLUMN REFERENCE (&00) IN GROUP BY CLAUSE

### Meaning

A GROUP BY clause contains a column reference which references a table
specified in the FROM clause of a higher-level query expression.

### Response

Modify GROUP BY clause accordingly.

## SEW42NG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NG ILLEGAL COLUMN REFERENCE (&00) IN SELECT CLAUSE

### Meaning

A column of a table specified in a FROM clause is referenced in a
subordinate SELECT clause not contained in a subordinate subquery.

### Response

Modify the SELECT clause accordingly.

## SEW42NH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NH ILLEGAL SET FUNCTION IN WHERE CLAUSE OR ON CLAUSE

### Meaning

A WHERE clause or the ON clause of a join expression contains a set
function, and
- the WHERE clause or join expression has not been specified in either
a HAVING or SELECT clause, or
- the set function does not contain a column reference, or
- the set function contains a reference to a column which is defined
outside of the underlying query specification or join expression.

### Response

Remove set function or modify column reference.

## SEW42NI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NI TEMPORARY VIEW (&00) IN CATALOG (&01) NOT DEFINED

### Meaning

- The SQL statement references a temporary view which does not exist, or
- the SQL statement contains explicit or implicit references to more than
one catalog.

### Response

Correct view name or create temporary view.

## SEW42NJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NJ COLUMN NAME (&00) CORRESPONDS TO THE COMPOUND KEY NAME OF TABLE (&01). (&02).(&03)

### Meaning

The name of the compound key, i.e. the name of the primary key of a
CALL DML table cannot be the same as one of the column names
in the table.

### Response

Use a different name for the primary key constraint or for the column
name.

## SEW42NK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NK ILLEGAL COLUMN (&00) IN GROUPED TABLE

### Meaning

A column reference has been specified in the select list or HAVING clause
of a grouped query expression. The associated column has not been defined
in the GROUP BY clause of the query expression, and the column reference
does not occur within a set function.

### Response

Modify application program accordingly.

## SEW42NL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NL COLUMN (&00).(&01).(&02).(&03) CANNOT BE UPDATED VIA CURSOR (&04) IN MODULE (&05)

### Meaning

An attempt was made in an UPDATE ... WHERE CURRENT statement to update a
column which was specified neither implicitly nor explicitly in the cursor
as "FOR UPDATE".

### Response

Modify application program accordingly.

## SEW42NM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NM COLUMN (&00).(&01).(&02).(&03) CANNOT BE ACCESSED BY USER (&04)

### Meaning

The SQL statement refers to a column which does not exist or to which
the user with the authorization identifier (&04) has no access. Also
a column cannot be accessed if the column to be created already exists.

### Response

Use the INFORMATION_SCHEMA views to check whether the column already
exists and to check the user privileges with regard to this column.

## SEW42NN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NN USER (&00) DOES NOT HAVE SUFFICIENT PRIVILEGES FOR CATALOG (&01)

### Meaning

Catalog-specific privileges are the special privileges "CREATE USER",
"CREATE SCHEMA", "CREATE STOGROUP" and "UTILITY".

### Response

Use the INFORMATION_SCHEMA views to check the users special privileges
for the catalog.

## SEW42NO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NO COLUMN (&00) NOT INCLUDED IN THE AGGREGATE FUNCTION

### Meaning

The SELECT list of a SELECT expression without a GROUP BY clause contains:
- a set function, and
- outside a set function, a column referring to a column of this query
expression.
Example: SELECT AVG(salary), emp_no FROM employee

### Response

Change the application program.

## SEW42NP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NP COLUMN (&00).(&01).(&02).(&03) TO BE CHANGED OR DELETED REFERENCED BY AN INTEGRITY CONSTRAINT

### Meaning

A column cannot be changed or deleted because it is referenced by an
integrity constraint.

### Response

First delete the corresponding integrity constraint. Then execute the SQL
statement again.

## SEW42NQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NQ COLUMN (&00).(&01).(&02).(&03) TO BE CHANGED OR DELETED USED BY A SECONDARY INDEX

### Meaning

A column cannot be changed or deleted because it is used in a
secondary index.

### Response

First delete the secondary index. Then execute the SQL statement again.

## SEW42NR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NR COLUMN (&00).(&01).(&02).(&03) TO BE CHANGED OR DELETED IS REFERENCED BY A VIEW

### Meaning

A column cannot be changed or deleted if it is referenced by a view.

### Response

First delete the dependent view and then execute the SQL statement again.

## SEW42NS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NS COLUMNS OF INTEGRITY CONSTRAINT (&00).(&01).(&02) ALREADY USED IN UNIQUENESS CONSTRAINT

### Meaning

A uniqueness constraint already exists for these columns.

### Response

Modify application program accordingly.

## SEW42NT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NT ILLEGAL NUMBER OF COLUMNS FOR SECONDARY INDEX (&00) OF CALL DML TABLE (&01).(&02).(&03)

### Meaning

A secondary index for a CALL DML table may only contain one
column.

### Response

Modify application program accordingly.

## SEW42NU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NU ILLEGAL NUMBER OF COLUMNS FOR SECONDARY INDEX (&00) WITH MULTIPLE COLUMN (&01).(&02).(&03).(&04)

### Meaning

A secondary index which comprises several columns cannot include
multiple columns.

### Response

Modify application program accordingly.

## SEW42NV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NV INTEGRITY CONSTRAINT (&00) FOR TABLE (&01).(&02).(&03) NOT ACCESSIBLE TO USER (&04)

### Meaning

The SQL statement references an integrity constraint which does not exist
or which does not exist on the specified table. An integrity constraint
can also not be accessed if the integrity constraint to be created already
exists.

### Response

Check the existence of the integrity constraint with the aid of the
INFORMATION_SCHEMA views.

## SEW42NW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NW INTEGRITY CONSTRAINT (&00) CANNOT BE ACCESSED BY USER (&01)

### Meaning

The SQL statement refers to an integrity constraint which does not exist.
It is also not possible to access an integrity constraint if an attempt
is made to create an integrity constraint which already exists.

### Response

Check the existence of the integrity constraint using the views of the
INFORMATION_SCHEMA.

## SEW42NX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NX MULTIPLE COLUMN (&00) IN INTEGRITY CONSTRAINT (&01) ON TABLE (&02).(&03). (&04) NOT PERMITTED

### Meaning

The list of columns of an integrity constraint includes a multiple
column.

### Response

Modify application program accordingly.

## SEW42NY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NY INTEGRITY CONSTRAINT (&00) ON TABLE (&01).(&02).(&03) IS REFERENCED BY ANOTHER INTEGRITY CONSTRAINT

### Meaning

A uniqueness constraint which is referenced by another integrity
constraint is to be deleted for a table.

### Response

First delete the referencing integrity constraint and then execute the SQL
statement again.

## SEW42NZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42NZ DEFAULT VALUE FOR COLUMN (&00).(&01).(&02).(&03) DOES NOT EXIST

### Meaning

It is not possible to delete a default value because no default value
exists for the specified column.

### Response

Modify application program accordingly.

## SEW42N0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N0 TOO MANY MEDIA RECORDS FOR FILE TYPE (&00)

### Meaning

A media record is to be inserted for a certain file type while processing
the media table with ALTER...ADD.... However, the maximum number of media
records permitted for this file type has already been reached.

### Response

If necessary delete one or more of the existing media records for this
file type.

## SEW42N1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N1 BS2000 FILE NAME FOR CATALOG SPACE IS NOT UNIQUE

### Meaning

The BS2000 file name for the catalog space, which is derived from the
catalog name, already exists with an other BS2000 catalog ID

### Response

Specify another catalog name or define a catid list

## SEW42N2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N2 MULTIPLE EXPRESSION IN SEARCH CONDITION NOT COLUMN REFERENCE FOR INNER TABLE

### Meaning

- A search condition includes a multiple expression which is not a column
reference, or
- a search condition includes a multiple column reference. The associated
column is defined in a table which is specified in the FROM clause of a
higher-level query expression.

### Response

Modify application program accordingly.

## SEW42N3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N3 UNION OPERANDS HAVE DIFFERENT NUMBER OF COLUMNS

### Meaning

The two tables involved in a UNION expression have different numbers of
columns.

### Response

Change the number of columns for at least one of the operands.

## SEW42N4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N4 NOT POSSIBLE TO REVOKE PRIVILEGE (&00) OF USER (&01) IN CATALOG (&02), ELSEWISE ABANDONED OBJECTS WOULD OCCUR

### Meaning

- It is not possible to delete an authorization identifier for a user,
because this user has granted privileges to other users
- It is not possible to revoke a privilege from a user, because this
privilege has been granted to others, or this privilege was essential
for creating views, referental constraints, or routines, that are
still existing.

### Response

First delete the dependent privileges, views, referental constraints, or
routines, respectively. Then repeat the SQL statement.

## SEW42N5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N5 COLUMN NAME (&00) NOT UNIQUE

### Meaning

A column reference
- without a table name can refer to more than one table, or
- can refer to more than one column in the same table.

### Response

Check the column reference or FROM clause in the application program.

## SEW42N6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N6 DEVICE TYPE (&00) FOR STORAGE GROUP (&01).(&02) IS NOT UNIQUE

### Meaning

The specified device type is different to the device type of the other
volumes in the storage group.

### Response

Check the device type of the volumes in the storage group with the help
of the INFORMATION_SCHEMA views. Only define volumes with the same device
type for a storage group.

## SEW42N7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N7 CALL DML ONLY TABLE (&00).(&01).(&02) NOT PERMITTED IN SQL-DML STATEMENT OR CERTAIN OTHER STATEMENTS

### Meaning

An attempt was made in a
- SQL-DML statement or
- CREATE VIEW statement or
- CREATE TEMPORARY VIEW statement or
- UNLOAD ONLINE statement or
- WHERE clause of an EXPORT statement
to access a CALL DML only table.

### Response

Migrate the table.

## SEW42N8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N8 COLUMN TO BE DELETED (&00).(&01).(&02).(&03) IS PART OF THE PRIMARY KEY.

### Meaning

A column cannot be deleted as it is part of the primary key.

### Response

The column can only be removed by deleting (DROP TABLE) and recreating
the table (CREATE TABLE).

## SEW42N9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42N9 SQL STATEMENT ONLY PERMITTED FOR BASE TABLES

### Meaning

The SQL statement is only permitted for base tables. The specified table
is not, however, a base table.

### Response

Modify application program accordingly.

## SEW42OA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OA DEFAULT VALUE NOT PERMITTED IN CALL DML TABLE (&00).(&01).(&02)

### Meaning

Columns for CALL DML tables cannot include default value
definitions.

### Response

Define columns without default values.

## SEW42OB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OB THE NUMBER OF COLUMN NAMES IN TABLE SPECIFICATION (&00) IN THE FROM CLAUSE IS INCORRECT

### Meaning

The number of column names in the list for the table specification in a
FROM clause does not correspond to the number of columns in the table.

### Response

Change the application program.

## SEW42OC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OC INVALID NUMBER OF COLUMNS IN INSERT COLUMN LIST

### Meaning

The number of columns in the query expression of an INSERT statement is
not the same as the number in the explicitly specified column list or as
the number of columns of the table to be extended if the column list is
omitted.

### Response

Modify application program accordingly.

## SEW42OE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OE TOO MANY COLUMNS IN SUBQUERY

### Meaning

A subquery has been specified whose derived table has more than one
column.

### Response

Modify subquery accordingly.

## SEW42OF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OF NUMBER OF COLUMNS IN DEFINITION OF VIEW (&00).(&01).(&02) DOES NOT MATCH QUERY EXPRESSION

### Meaning

The number of columns in the column name list of a view definition
is not the same as the number of columns defined by the specified query
expression.

### Response

Modify the column name list or the query expression.

## SEW42OG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OG INVALID COLUMN NUMBER IN ORDER BY CLAUSE

### Meaning

A column number has been used in an ORDER BY clause which is either equal
to 0 or greater than the number of columns in the cursor to be sorted.

### Response

Modify application program accordingly.

## SEW42OH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OH DROP USER NOT EXECUTED BECAUSE OF DEPENDENT SCHEMA

### Meaning

An authorization identifier for a user cannot be deleted if it is the
owner of a schema.

### Response

First delete the dependent objects and then execute the DROP USER
statement again.

## SEW42OI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OI DROP USER NOT EXECUTED BECAUSE OF DEPENDENT SPACE

### Meaning

An authorization identifier for a user cannot be deleted if it is the
owner of a space.

### Response

First delete the dependent objects and then execute the DROP USER
statement again.

## SEW42OJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OJ DROP USER NOT EXECUTED BECAUSE OF DEPENDENT STORAGE GROUP

### Meaning

An authorization identifier for a user cannot be deleted if it is the
owner of a storage group.

### Response

First delete the dependent objects and then execute the DROP USER
statement again.

## SEW42OL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OL DEVICE TYPE NOT SPECIFIED

### Meaning

The device type must be specified when changing the volume of a storage
group from public to a private volume.

### Response

Specify the device type associated with the volume list.

## SEW42OM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OM WITH CHECK OPTION NOT PERMITTED IN THIS CONTEXT

### Meaning

A view WITH CHECK OPTION must be updatable and must not contain
multiple columns or user defined functions.

### Response

Define the view without WITH CHECK OPTION.

## SEW42OO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OO INVALID COLUMN NAME OR COLUMN REFERENCE (&00)

### Meaning

- A column reference "C" without a table name is not within the scope of
reference of a table which defines a column "C", or
- a column reference "T.C" with a table name is not within the scope of
reference of a table "T" which defines a column "C", or
- in the case of an INSERT or UPDATE statement for a table, a column
has been specified in the list of column names or to the left of the
equal sign in a SET clause which has not been defined for this table.

### Response

Modify application program accordingly.

## SEW42OP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OP TRIM CHARACTER INVALID

### Meaning

The TRIM character is a string with a fixed length greater than 1.

### Response

Correct TRIM character.

## SEW42OS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OS INTEGRITY CONSTRAINT NOT PERMITTED FOR CALL DML TABLE (&00).(&01).(&02)

### Meaning

When defining a CALL DML table only one primary key constraint may
be defined. No integrity constraint can be defined or deleted for a
CALL DML table at a later point in time.

### Response

Modify application program accordingly.

## SEW42OT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OT ILLEGAL DATA TYPE FOR COLUMN (&00) IN CALL DML TABLE (&01).(&02).(&03)

### Meaning

Only certain data types can be used for columns in CALL DML tables.

### Response

Use one of the data types permitted for CALL DML tables.

## SEW42OV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OV SPECIFICATION OF INDEXED LENGTH NOT PERMITTED FOR THE DATA TYPE OF THE COLUMN (&00).(&01).(&02).(&03)

### Meaning

In the specification of an INDEX, a LENGTH ("partial inversion") may only
be specified for columns of data types [NATIONAL] CHARACTER [VARYING],
and of data types already present in SESAM versions < V13.1.

### Response

Change the application program

## SEW42OW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OW ILLEGAL DATA TYPE FOR COLUMN (&00).(&01).(&02).(&03) IN PRIMARY KEY

### Meaning

Only certain data types can be used for primary key columns.

### Response

Use a data type appropriate for primary key columns.

## SEW42OY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42OY ILLEGAL DATA TYPE

### Meaning

In an expression, a data type has been used for which the expression has
not been defined.

### Response

Modify application program accordingly.

## SEW42O1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42O1 CURSOR (&00) IN MODULE (&01) CANNOT BE UPDATED

### Meaning

An attempt was made to use an UPDATE ... WHERE CURRENT or DELETE ... WHERE
CURRENT statement on a cursor which satisfies at least one of the
following conditions:
- the underlying table cannot be updated,
- the cursor is a SCROLL cursor,
- the cursor has been declared as READ ONLY or contains ORDER BY
- the cursor has been declared with FETCH FIRST ROWS,
- in the case of an UPDATE statement, not all the columns have been
defined as updatable.

### Response

Modify application program accordingly.

## SEW42O2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42O2 UNIQUE ASSIGNMENT OF OCCURRENCE OF MULTIPLE COLUMN (&00) NOT POSSIBLE

### Meaning

- The ORDER BY clause of a DECLARE CURSOR statement contains a column
name with the occurrence reference "c(i)", and
- the table to which the ORDER BY clause refers,
has more than one column called "c" whose occurrence range covers "i".

### Response

Change the occurrence reference or column definition of the referenced
table.

## SEW42O3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42O3 SOURCE COLUMN (&00) REFERENCES TARGET TABLE

### Meaning

The VALUES list of the INSERT part of a MERGE statement must not
contain a column of the target table.

### Response

Change the application program.

## SEW42O4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42O4 CURSOR (&00) IN ROUTINE (&01).(&02).(&03) CANNOT BE UPDATED

### Meaning

An attempt was made to use an UPDATE ... WHERE CURRENT or DELETE ... WHERE
CURRENT statement on a cursor which satisfies at least one of the
following conditions:
- the underlying table cannot be updated,
- the cursor is a SCROLL cursor,
- the cursor has been declared as READ ONLY or contains ORDER BY
- the cursor has been declared with FETCH FIRST ROWS,
- in the case of an UPDATE statement, not all the columns have been
defined as updatable.

### Response

Modify routine accordingly.

## SEW42PA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PA ILLEGAL SPACE NAME (&00).(&01) FOR CURRENT AUTHORIZATION IDENTIFIER (&02)

### Meaning

The space name specified in the SQL statement is not permitted for the
current authorization identifier. A space name which starts with "DO"
must be followed by the current authorization identifier (or by the
authorization identifier specified for AUTHORIZATION).

### Response

Modify application program accordingly.

## SEW42PB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PB ILLEGAL FUNCTION REFERENCE IN TEMPORARY VIEW DECLARATION (&00)

### Meaning

The query expression in the declaration of a temporary view may not
reference an user defined function.

### Response

Modify application program accordingly.

## SEW42PC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PC ILLEGAL VIEW REFERENCE IN TEMPORARY VIEW DECLARATION (&00)

### Meaning

The query expression in the declaration of a temporary view may not
reference a view.

### Response

Modify application program accordingly.

## SEW42PD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PD INDEX (&00).(&01).(&02) GENERATED IMPLICITLY

### Meaning

An index is generated implicitly for a UNIQUE constraint if it is not
possible to use an existing index. An implicitly generated index of this
type cannot be deleted explicitly using the DROP INDEX statement. This
can, however, be done using the DROP CONSTRAINT clause of the ALTER TABLE
statement.

### Response

Use the views of the INFORMATION_SCHEMA to determine the relevant UNIQUE
constraint. Where necessary, delete the index implicitly using DROP
CONSTRAINT.

## SEW42PE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PE SECONDARY INDEX (&00).(&01).(&02) DEFECTIVE

### Meaning

The secondary index is defective.
- A defective index cannot be reorganized.
- A defective index may not be deleted if the index is used by a
uniqueness constraint for which no other index can be used.
- A non-defective index may not be deleted if this index is used by a
uniqueness constraint and all other indexes which could be used for
this uniqueness constraint are defective.
- The index for a uniqueness constraint is defective.

### Response

Reconstruct secondary index, e.g. with RECOVER INDEX.

## SEW42PF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PF INVERSION LENGTH FOR COLUMN (&01).(&02).(&03).(&04) IN INDEX (&00) IS 0 OR EXCEEDS COLUMN LENGTH

### Meaning

The maximum length of a column in a secondary index is the length of
the column itself. The length specified in the index definition is 0 or
exceeds the column length.

### Response

Modify index definition accordingly.

## SEW42PG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PG SECONDARY INDEX (&00).(&01).(&02) CANNOT BE ACCESSED BY USER (&03)

### Meaning

The SQL statement references a secondary index which does not exist. A
secondary index can also not be accessed if the secondary index to be
created already exists.

### Response

Use the INFORMATION_SCHEMA views to determine whether the secondary index
already exists.

## SEW42PH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PH ILLEGAL COLUMN NAME (&00) IN FOR UPDATE CLAUSE

### Meaning

A column which has not yet been defined has been used in the FOR UPDATE
clause of a cursor specification.

### Response

Modify application program accordingly.

## SEW42PI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PI MAXIMUM LENGTH OF SECONDARY INDEX (&00).(&01).(&02) EXCEEDED

### Meaning

The total length of secondary index columns is subject to limitations
in SESAM/SQL.

### Response

Shorten the secondary index.

## SEW42PJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PJ ILLEGAL PRIMARY KEY LENGTH IN TABLE (&00).(&01).(&02)

### Meaning

The total length of primary key columns is subject to limitations in
SESAM/SQL.

### Response

Modify SQL statement accordingly.

## SEW42PK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PK MAXIMUM LENGTH OF UNIQUENESS CONSTRAINT (&00) ON TABLE (&01).(&02).(&03) EXCEEDED

### Meaning

The total length of columns in the uniqueness constraint is subject to
limitations in SESAM/SQL.

### Response

Modify application program accordingly.

## SEW42PL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PL TOO MANY SPACE NAMES SPECIFIED FOR CATALOG (&00)

### Meaning

The maximum number of spaces in a catalog is limited in SESAM/SQL.
SQL statements are no longer permitted to contain space names.

### Response

With CREATE SPACE: Define new tables and indexes on existing spaces.
If necessary, restructure the catalog.
With other statements: Remove superfluous space names from the statement
text.

## SEW42PM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PM TOO MANY VOLUMES IN STORAGE GROUP (&00).(&01)

### Meaning

The maximum number of volumes for a storage group is limited in SESAM.

### Response

Restructure the storage group; distribute the volumes over several storage
groups.

## SEW42PP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PP DELETION OF LAST COLUMN (&00) OF TABLE (&01).(&02).(&03) NOT PERMITTED

### Meaning

A table must contain at least one column.

### Response

If necessary, delete the entire table.

## SEW42PQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PQ LAST SYSTEM ENTRY OF UNIVERSAL USER (&00) IN CATALOG (&01) CANNOT BE DELETED

### Meaning

A DROP SYSTEM USER statement refers to the last system entry of the
UNIVERSAL USER.

### Response

Modify application program accordingly.

## SEW42PR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PR DELETION OF LAST VOLUME OF STORAGE GROUP (&00).(&01) NOT PERMITTED

### Meaning

A storage group must contain at least one volume.

### Response

If necessary, delete the entire storage group.

## SEW42PS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PS DELETION OF PRIMARY KEY FOR TABLE (&00).(&01).(&02) NOT PERMITTED

### Meaning

The primary key for a SESAM/SQL table may not be deleted.

### Response

Modify application program accordingly.

## SEW42PT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PT UNIVERSAL USER (&00) OF CATALOG (&01) MAY NOT BE DELETED

### Meaning

A DROP USER statement refers to the UNIVERSAL USER. The UNIVERSAL USER
may not be deleted.

### Response

Modify application program accordingly.

## SEW42PU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PU ONLY ONE SECONDARY INDEX PERMITTED ON COLUMN (&00).(&01).(&02).(&03)

### Meaning

Only one secondary index may be defined for a column in CALL DML tables.

### Response

Use the INFORMATION_SCHEMA views to check which indexes have already been
defined for the table.

## SEW42PV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PV VOLUME NAME (&00) OCCURS MORE THAN ONCE IN VOLUME LIST.

### Meaning

Volume names must be unique in a volume list.

### Response

Correct the volume list.

## SEW42PW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42PW TOO MANY VOLUMES IN A VOLUME LIST.

### Meaning

The maximum number of volumes in a volume list has been exceeded.

### Response

Check the list.

## SEW42P1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42P1 ILLEGAL OUTER COLUMN REFERENCE (&00)

### Meaning

A set function contains a column reference which refers to a table which
has been specified in the FROM clause of a higher-level query expression.
Assume "t" is the table to which the column reference refers.
The set function is
- not included in the SELECT clause of a query expression
- nor is it in a subquery in a HAVING clause "having".
"t" is defined in the FROM clause of the query expression whose HAVING
clause is "having".

### Response

Modify application program accordingly.

## SEW42P3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42P3 QUALIFICATION WITH UNDEFINED TABLE NAME (&00)

### Meaning

- A qualified column specification "T.C" is not within the scope of a
FROM clause or JOIN expression in which the table "T" has been defined,
or
- an ORDER BY clause contains an impermissible, qualified
column specification "T.C", or
- a SELECT clause contains "T.*" and "T" is not defined in the FROM
clause of the SELECT expression which contains this SELECT clause
directly.

### Response

Change the table qualification.

## SEW42QA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QA SPACE (&00).(&01) CANNOT BE ACCESSED BY USER (&02)

### Meaning

The SQL statement refers to a space which does not exist or to which the
user with the authorization identifier (&02) has no access. A space can
also not be accessed if the space to be created already exists or its
short name is the same as that of another space. Or, in the case of
Import or Migrate, the owner of the schema to which the table is to belong
does not actually own the space.

### Response

Use the INFORMATION_SCHEMA views to check whether the space already exists
and to check the privileges of the current authorization identifier.

## SEW42QB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QB SPACE (&00).(&01) IS USED BY AN INDEX

### Meaning

An index is still defined on the space. Only empty spaces, however, may
be deleted.

### Response

Use the INFORMATION_SCHEMA views to determine which indexes are defined
on the space. Delete the dependent objects before you delete the space.

## SEW42QC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QC SPACE (&00).(&01) IS USED BY A TABLE

### Meaning

A table is still defined on the space. Only empty spaces, however, may be
deleted.

### Response

Use the INFORMATION_SCHEMA views to determine which tables are defined on
the space. Delete the dependent objects before you delete the space.

## SEW42QD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QD STORAGE GROUP (&00).(&01) CANNOT BE ACCESSED BY USER (&02)

### Meaning

The SQL statement refers to a storage space which does not exist or to
which the user with the authorization identifier (&02) has no access.
A storage group can also not be accessed if the space to be created
already exists.

### Response

Use the INFORMATION_SCHEMA views to check whether the storage group
already exists and to check the privileges of the current authorization
identifier.

## SEW42QE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QE STORAGE-GROUP (&00).(&01) REFERENCED BY MEDIA TABLE

### Meaning

A storage group cannot be modified or deleted because file types in the
media table reference the storage group.

### Response

Use the INFORMATION_SCHEMA views to determine the file types in the media
table which are dependent on the storage group. You must modify the media
table before you can modify or delete the storage group.

## SEW42QF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QF STORAGE GROUP (&00).(&01) REFERENCED BY SPACE

### Meaning

A storage group cannot be deleted because spaces still reference the
storage group.

### Response

Use the INFORMATION_SCHEMA views to determine the spaces which are
dependent on the storage group. If necessary, modify the space
descriptions with ALTER SPACE or delete the space with DROP SPACE.
In the case of the ALTER SPACE statement, the data is not redefined.
It may therefore be necessary to reorganize the catalog before you delete
the storage group.

## SEW42QG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QG SYSTEM ENTRY NOT ACCESSIBLE TO AUTHORIZATION IDENTIFIER (&00) IN CATALOG (&01)

### Meaning

- The current user ID and/or the current UTM user do not have privileges
for the authorization identifier in the specified catalog or the
authorization identifier does not exist, or
- the system entry specified in a CREATE SYSTEM USER statement already
exists, or the system entry specified in a DROP SYSTEM USER statement
does not exist.

### Response

Check the system entries defined for the catalog and, if necessary,
correct them with the SQL statements CREATE/DROP SYSTEM USER or
CREATE/DROP USER as appropriate.

## SEW42QH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QH COUNT FIELD NOT PRIMARY KEY OR PART OF ONE

### Meaning

In an INSERT statement, the column specified as count field is not a
primary key nor part of one. If the insert refers to a view, the
corresponding column in the underlying base relation is not a primary key
nor part of one.

### Response

Modify SQL statement.

## SEW42QI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QI CURSOR (&00) OF MODULE (&01) NOT BASED ON TABLE (&02).(&03).(&04) IN UPDATE OR DELETE STATEMENT

### Meaning

In a DELETE or UPDATE statement involving a cursor, a table name has been
specified which does not match that of the table upon which the cursor is
based.

### Response

Select a different table name for the UPDATE/DELETE statement or select an
appropriate cursor.

## SEW42QJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QJ TABLE (&00).(&01).(&02) CANNOT BE UPDATED

### Meaning

An INSERT, UPDATE, MERGE or DELETE statement has been specified for a
table which can only be read.

### Response

Modify application program accordingly.

## SEW42QK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QK TABLE (&00).(&01).(&02) CANNOT BE ACCESSED BY USER (&03)

### Meaning

The SQL statement refers to a table which does not exist or to which the
user with the authorization identifier (&03) has no access. A table can
also not be accessed if the table to be created already exists.

### Response

Use the INFORMATION_SCHEMA views to check whether the table already exists
and to check the privileges of the authorization identifier for the table.

## SEW42QL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QL TABLE (&00).(&01).(&02) CANNOT BE DELETED; IT IS REFERENCED BY INTEGRITY CONSTRAINT

### Meaning

A table cannot be deleted if it is referenced by an integrity constraint.

### Response

First delete the dependent integrity constraint and then execute the SQL
statement again.

## SEW42QM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QM TABLE (&00).(&01).(&02) CANNOT BE DELETED; IT IS USED IN A VIEW DEFINITION

### Meaning

A table cannot be deleted if it is used in a view definition.

### Response

First delete the dependent views and then execute the SQL statement again.

## SEW42QN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QN TOO MANY VARCHAR COLUMNS IN TABLE (&00).(&01).(&02)

### Meaning

The maximum number of columns of the type VARCHAR in a table is limited
in SESAM/SQL.

### Response

If necessary, distribute the VARCHAR columns over several tables.

## SEW42QP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QP TOO MANY COLUMNS IN TABLE (&00).(&01).(&02)

### Meaning

The maximum number of columns in a table is limited in SESAM/SQL.

### Response

If necessary, distribute the columns over several tables.

## SEW42QR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QR ROUTINE (&00).(&01).(&02) CANNOT BE ACCESSED BY USER (&03)

### Meaning

The SQL statement refers to a routine which does not exist or to which
the user with the authorization identifier (&03) has no access.
A routine also cannot be accessed if the procedure or function to be
created already exists.

### Response

Use the INFORMATION_SCHEMA views to check whether the routine already
exists and to check the privileges of the authorization identifier for the
routine.

## SEW42QS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QS TABLE (&00).(&01).(&02) CANNOT BE DELETED; IT IS REFERENCED BY A ROUTINE

### Meaning

A table cannot be deleted if it is referenced by a routine.

### Response

First delete the dependent routine and then execute the SQL statement
again.

## SEW42QT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QT INTO CLAUSE WITH INCORRECT NUMBER OF VARIABLES OR PARAMETERS

### Meaning

The number of output parameters in the INTO clause of a FETCH or SELECT
statement must be the same as the number of columns in the corresponding
select list; same requirement for an INTO clause of a FETCH or SELECT
statement within a routine.

### Response

Modify select list or INTO clause.

## SEW42QU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QU AUTHORIZATION KEY (&00) IN CATALOG (&01) CANNOT BE ACCESSED

### Meaning

- The SQL statement references an authorization key which does not exist
or
- an authorization key is to be generated which already exists or whose
short name is the same as another authorization key.
- Name conflict with a user name defined by the standard or with the
corresponding short name

### Response

Check whether the authorization key exists using the views of the
INFORMATION_SCHEMA.

## SEW42QV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QV INDEX COLUMN (&00).(&01).(&02).(&03) NOT IN ADD COLUMN LIST

### Meaning

- In an ALTER TABLE ... ADD COLUMN ... ADD INDEX statement each column
used in ADD INDEX must be defined in ADD COLUMN.
- In an ADD INDEX statement you must not reference a column which is
already existing in the corresponding table.

### Response

Adjust statement.

## SEW42QW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QW WITH HEADER CLAUSE ALLOWED IN CSV FORMAT ONLY

### Meaning

- In an UNLOAD statement a WITH HEADER clause is allowed for CSV format
only.

### Response

Adjust statement.

## SEW42QX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QX COLUMN (&00).(&01).(&02).(&03) TO BE CHANGED OR DELETED IS REFERENCED BY A ROUTINE

### Meaning

A column cannot be changed or deleted if it is referenced by a routine.

### Response

First delete the dependent routine and then execute the SQL statement
again.

## SEW42QY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QY PARAMETER NAME (&00) NOT UNIQUE

### Meaning

The parameter name (&00) occurs more than once in the list of parameter
declarations.

### Response

Modify SQL statement accordingly.

## SEW42QZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42QZ TEMPORARY VIEW (&00) ALREADY DEFINED

### Meaning

An attempt was made to create a temporary view which already exists.

## SEW42Q1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q1 FOR UPDATE CLAUSE NOT PERMITTED FOR QUERY EXPRESSION WHICH CANNOT BE UPDATED

### Meaning

A FOR UPDATE clause was specified in a cursor specification although no
UPDATE or DELETE WHERE CURRENT statement is possible for the underlying
query.

## SEW42Q2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q2 MULTIPLE COLUMN (&00) WITHOUT OCCURRENCE SPECIFICATION

### Meaning

A multiple column has been referenced without specifying an occurrence
range.

### Response

Specify occurrence range.

## SEW42Q3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q3 NO SUITABLE UNIQUENESS CONSTRAINT FOR REFERENTIAL CONSTRAINT (&00) ON TABLE (&01).(&02).(&03)

### Meaning

- The required uniqueness constraint for the referenced column is missing
for a referential constraint, or
- the number of referencing and referenced columns are not the same, or
- the data types of referencing and referenced columns are different.

### Response

Modify application program accordingly.

## SEW42Q4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q4 NON-MULTIPLE COLUMN (&00) WITH OCCURRENCE SPECIFICATION

### Meaning

An occurrence specification was made although an atomic column is being
referenced.

### Response

Omit occurrence specification or modify column name.

## SEW42Q5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q5 OCCURRENCE SPECIFIED FOR MULTIPLE COLUMN (&00) NOT IN PERMITTED RANGE

### Meaning

At least one of the occurrences specified for a multiple column is not
within the permitted occurrence range.

### Response

Modify the occurrence specification accordingly.

## SEW42Q6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q6 SCHEMA (&00).(&01) CANNOT BE ACCESSED BY USER (&02)

### Meaning

The SQL statement references a schema which does not exist or to which
the user with the authorization identifier (&02) has no access. A schema
can also not be accessed if the schema to be created already exists.

### Response

Use the INFORMATION_SCHEMA views to check whether the schema already
exists and to check the privileges of the current authorization
identifier.

## SEW42Q7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q7 INVALID NUMBER OF OCCURRENCES FOR ASSIGNMENT

### Meaning

The target type for the assignment of a multiple value with occurrence
N > 1 is either not multiple or its occurrence is not equal to N.
This could be the case
- if a value is assigned to a column
- if a column value is assigned to a host variable
- in a cursor definition within a routine
- in a cursor definition within a FOR statement
(if the cursor contains output values with multiple value data type).

### Response

Modify the occurrence range of the column or the value.

## SEW42Q8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q8 "?" PLACEHOLDER IN STATIC SQL STATEMENT

### Meaning

A "?" placeholder occurs in a static SQL statement.

### Response

Remove the "?" placeholder.

## SEW42Q9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Q9 ILLEGAL DATA TYPE FOR COUNT FIELD IN INSERT STATEMENT FOR TABLE (&00). (&01).(&02)

### Meaning

A column with a data type other than NUMERIC, DECIMAL, SMALLINT or
INTEGER was specified as the count field in an INSERT statement.

### Response

Modify SQL statement.

## SEW42RA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42RA ROUTINE (&00).(&01).(&02) NOT EXECUTABLE

### Meaning

Routine exists but is not executable (anymore);
this can be the case for example because of schema changes.

### Response

Inform database administrator or owner of the schema containing
the routine.

## SEW42RB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42RB DATA TYPE OF VARIABLE DOES NOT MATCH ITEM TYPE

### Meaning

In a Signal or Resignal statement only values of specific data types
are assignable to items.
In a Get Diagnostics statement items can only be assigned to
variables of specific data types.

### Response

Fix application

## SEW42R1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R1 VALUES CANNOT BE COMPARED

### Meaning

The data types of two operands must be comparable (both numeric,
both character string, both DATE, both TIME, or both TIMESTAMP)
if the two operands are combined in one of the following ways:
- two values are compared in some predicate
- a value is assigned to a column (UPDATE, INSERT)
- a value is assigned to a variable (SELECT INTO, FETCH INTO)
- two values for the same column (UNION, EXCEPT, table constructor)
- two alternative result values in CASE, COALESCE, or NULLIF
- two component values of a multiple value (aggregate)
- values of the same column in the limits of two partitions.

### Response

Check data types and modify application program accordingly.

## SEW42R2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R2 INVALID CATALOG SPECIFIED IN VIEW NAME (&00).(&01).(&02)

### Meaning

The view name is qualified with a catalog name which does not match the
catalog name of the referenced table. A view may only relate to a single
catalog and must be defined in this catalog.

### Response

Qualify table name with correct catalog.

## SEW42R3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R3 COLUMN NAME LIST REQUIRED FOR DEFINITION OF VIEW (&00).(&01).(&02)

### Meaning

In a view definition, the names of the columns cannot be determined
without the list of column names.

### Response

Specify list of column names for the view.

## SEW42R4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R4 SQL STATEMENT ONLY PERMITTED FOR VIEWS

### Meaning

The SQL statement is only permitted for views. The specified table is,
however, a base table.

### Response

Modify application program accordingly.

## SEW42R5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R5 USER (&00) CANNOT ACCESS VOLUME (&01) FOR STORAGE GROUP (&02).(&03)

### Meaning

An attempt was made to add a volume to a storage group which already
belongs to the storage group or to delete a volume which does not belong
to the storage group.

### Response

Use the INFORMATION_SCHEMA views to check whether the volume already
exists for the storage group.

## SEW42R6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R6 ILLEGAL REFERENCE TO COLUMN (&00) IN ORDER BY

### Meaning

A sort key in the ORDER BY clause references a column that
does not belong to the cursor table. This is only allowed for
simple table queries (SELECT without DISTINCT, without GROUP BY,
and without set function).

### Response

Modify the cursor table accordingly.

## SEW42R7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R7 ILLEGAL CALL DML DEFAULT VALUE CHARACTER IN COLUMN (&03) IN TABLE (&00). (&01).(&02)

### Meaning

The CALL DML default value character must observe the syntax rules for
the data type of the column.

### Response

Modify the CALL DML default value character accordingly.

## SEW42R8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R8 ILLEGAL DEFAULT VALUE IN COLUMN (&03) IN TABLE (&00).(&01).(&02)

### Meaning

The default value must match the data type of the column.

### Response

Modify the default value accordingly.

## SEW42R9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42R9 SOURCE TYPE IN CAST NOT CONVERTIBLE TO TARGET TYPE

### Meaning

One of the following conversions was attempted:
- numeric type to time type, or vice-versa
- DATE to TIME, or vice-versa
- national (var)character types to (var)character types or vice-versa
(see manual for a complete list ot legal conversions)

### Response

Modify CAST expression accordingly.

## SEW42SA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SA RECOVER TO ANY TIMESTAMP IS INCOMPATIBLE WITH SCOPE PENDING

### Meaning

In a RECOVER TO ANY TIMESTAMP, SCOPE PENDING must not be specified.

### Response

Drop SCOPE PENDING or else use TO TIMESTAMP.

## SEW42SB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SB INVALID SCHEMA NAME (&00).(&01)

### Meaning

The specified schema name is syntactically incorrect or has an illegal
value.

### Response

Modify application program accordingly.

## SEW42SC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SC SYNTAX ERROR IN LITERAL

### Meaning

The rules governing the syntax of a literal of the appropriate type have
not been observed.

### Response

Modify application program accordingly.

## SEW42SD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SD ILLEGAL LITERAL AS SORT KEY IN ORDER BY CLAUSE.

### Meaning

Only unsigned integers, and no other literals, are permitted as
sort keys in ORDER BY.

### Response

Change the ORDER BY clause.

## SEW42SE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SE EXPRESSION IN SORT KEY OF ORDER BY CLAUSE DOES NOT REFER TO A QUERY SPECIFICATION WITH SELECT.

### Meaning

If an expression (and not just a column name) is specified as a sort key
in ORDER BY, the table to be sorted must be specified as a query
specification (i.e. with SELECT).

### Response

Change the cursor query; insert SELECT * FROM if necessary.

## SEW42SF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SF THE EXPRESSION IN THE SORT KEY OF THE ORDER BY CLAUSE REFERS TO A GROUPED TABLE OR A TABLE WITH DISTINCT.

### Meaning

If an expression (and not just a column name) is specified as the
sort key in ORDER BY, the associated SELECT list must not
contain a DISTINCT nor a set function.

## SEW42SG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SG EXPRESSION IN ORDER BY CLAUSE CONTAINS A SUBQUERY

### Meaning

Expressions in ORDER BY clauses must not contain subqueries.

### Response

If needed, the subquery can be moved into the SELECT list
or into a table of the FROM clause. It can then be referenced
by name in the ORDER BY clause.

## SEW42SH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42SH EXPRESSION IN ORDER BY CLAUSE CONTAINS A SET FUNCTION

### Meaning

Expressions in ORDER BY clauses must not contain set functions.

### Response

remove the set function

## SEW42S0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S0 SUBQUERY IN ALL, SOME OR IN PREDICATE HAS MORE THAN ONE COLUMN

### Meaning

A subquery has been specified in an ALL, SOME or IN predicate which
returns more than one column.

### Response

Modify predicate accordingly.

## SEW42S1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S1 SELF-REFERENCING IN INSERT, UPDATE, MERGE OR DELETE STATEMENT ON TABLE (&00).(&01).(&02)

### Meaning

An INSERT, UPDATE, MERGE or DELETE statement refers to a table which is
also
referenced in the same SQL statement via a subquery. This illegal multiple
reference can also occur indirectly via views or functions.

### Response

Modify SQL statement accordingly.

## SEW42S2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S2 CONCATENATION RESULT TOO LONG

### Meaning

The length of a character string resulting from the concatenation of two
fixed-length character strings exceeds the maximum permitted length for
character strings.

### Response

Modify the SQL statement accordingly.

## SEW42S3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S3 INVALID DATA TYPE FOR UPDATING DESCRIPTION OF COLUMN (&00).(&01).(&02). (&03)

### Meaning

The description of a column can only be updated for certain data types;
in addition, only certain parameters of the data type may be updated.

### Response

Modify application program accordingly.

## SEW42S4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S4 INVALID COMBINATION OF MEDIA PARAMETERS

### Meaning

Certain parameter combinations are not permitted for ALTER MEDIA.

### Response

Modify application program accordingly.

## SEW42S5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S5 SPECIFICATION OF TAPE NOT PERMITTED

### Meaning

Specification of a tape not permitted (even not permitted in
the media description for DA-LOG files anymore).

### Response

Modify application program accordingly.

## SEW42S6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S6 INVALID PARAMETER COMBINATION IN COPY STATEMENT

### Meaning

Certain parameter combinations are not permitted in the COPY statement.

### Response

Modify application program accordingly.

## SEW42S7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S7 INVALID PARAMETER COMBINATION IN RECOVER STATEMENT

### Meaning

Certain parameter combinations are not permitted in the RECOVER
statement.

### Response

Modify application program accordingly.

## SEW42S8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S8 NO RECOVERY TYPE SPECIFICATION

### Meaning

In the RECOVER statement variant used, the restart point (recover
type) must be specified.

### Response

Correct the SQL statement.

## SEW42S9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42S9 ILLEGAL COPY NUMBER SPECIFIED

### Meaning

The copy number in the RECOVER statement must be greater than 0.

### Response

Modify application program accordingly.

## SEW42T1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42T1 LOAD ONLINE IS ISSUED WITH (&00) AS A TAPE FILE.

### Meaning

Neither input file nor error file should be a tape file
when LOAD ONLINE is issued.

### Response

Put input file and error file on disk or
use LOAD OFFLINE.

## SEW42T2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42T2 UNLOAD ONLINE IS ISSUED WITH (&00) AS A TAPE FILE.

### Meaning

Neither output file nor error file should be a tape file
when UNLOAD ONLINE is issued.

### Response

Put output file and error file on disk or
use UNLOAD OFFLINE.

## SEW42T3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42T3 EXPORT WITH WHERE CLAUSE IS ISSUED WITH (&00) AS A TAPE FILE.

### Meaning

Output file must not be a tape file
when EXPORT with WHERE clause is issued.

### Response

Put output file on disk or
use EXPORT without WHERE clause.

## SEW42UA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UA INCOMPLETE DATA TYPE DESCRIPTION FOR COLUMN (&00).(&01).(&02).(&03)

### Meaning

The description of the data type for the input or output file is
incomplete. Specifications cannot be added from the catalog.

### Response

Describe data type in its entirety.

## SEW42UB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UB CONVERSION NOT POSSIBLE FOR COLUMN (&00).(&01).(&02).(&03) DUE TO INCOMPATIBLE DATA TYPES

### Meaning

It was not possible to convert the input format into the format defined
in the catalog, or the format defined in the catalog into the output
format, because the data types are incompatible.

### Response

Modify the format of the input or output file accordingly.

## SEW42UC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UC (&00) IS NOT A DISK DEVICE

### Meaning

The specified device (&00) is not a disk device or the device type (&00)
is unknown.

### Response

Specify a disk device.

## SEW42UD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UD (&00) IS NOT A TAPE DEVICE

### Meaning

The specified device is not a tape device or the device type is unknown.

### Response

Specify a tape device.

## SEW42UE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UE ERROR WHEN PROCESSING MEDIA TABLE FOR FILE TYPE (&00). (CATALOG INVOLVED: (&01))

### Meaning

a) For CREATE MEDIA: Entries already exist for the specified file type.
b) For ALTER MEDIA or DROP MEDIA: No entries exist for the specified file
type.

### Response

a) Use ALTER MEDIA.
b) Use CREATE MEDIA.

## SEW42UF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UF NO PRIMARY KEY COLUMN (&00).(&01).(&02).(&03) FOR LOAD OPERATION

### Meaning

Not all the primary key columns were entered during loading.

### Response

Extend the input file, specify an appropriate count field or define a
default value for this primary key column.

## SEW42UG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UG NO PRIMARY KEY COLUMNS WHEN LOADING TO TABLE (&00).(&01).(&02)

### Meaning

A table with primary keys is to be loaded but none of the primary key
columns are in the column list and no count field has been specified.

### Response

Extend input file or specify count field.
Warning: At least one primary key column must be in the input file
or must be a count field. A primary key column which is not in the
input file and which is not the count field must have a default value.

## SEW42UH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UH INPUT FILE (&00) DOES NOT EXIST OR CANNOT BE ACCESSED.

### Meaning

File does not exist on a local pubset, or is located
under a different user ID and cannot be accessed.

### Response

Specify the correct input file, or render the file accessible.

## SEW42UI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UI NAME OF INPUT FILE (&00) NOT UNIQUE OR CATID NOT IN CATID LIST

### Meaning

The name of the input file is not unique (e.g. the file exists under
various catalog IDs) or the specified catalog ID is not contained in the
catid list.

### Response

Ensure that name is unique by removing or renaming existing file or
by modifying the catid list, for example. Then try again.

## SEW42UJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UJ INPUT FILE (&00) IS EMPTY

### Meaning

An attempt was made to LOAD or IMPORT an empty input file.

### Response

Specify an input file which is not empty.

## SEW42UK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UK MEDIA RECORD DOES NOT EXIST IN CATALOG (&00)

### Meaning

The record to be deleted is not in the media table.

### Response

Specify an existing media record.

## SEW42UL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UL MEDIA RECORD ALREADY EXISTS IN CATALOG (&00)

### Meaning

An identical media record already exists.

### Response

Specify a different media record.

## SEW42UM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UM TAPE AND DISK DEVICES CANNOT BE MIXED. (CATALOG INVOLVED: (&00))

### Meaning

An entry for a tape device is already in the media table. Tape and disk
devices must not be specified in the same media table.

### Response

If necessary, delete the entry for the tape device and then specify the
storage group.

## SEW42UN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UN OCCURRENCE NUMBER FOR COLUMN (&00).(&01).(&02).(&03) TOO LARGE OR TOO SMALL

### Meaning

The maximum occurrence number for this column has been exceeded
or the minimum occurrence number for this column is too small.

### Response

Specify a valid occurrence number.

## SEW42UO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UO CONVERSION OF THE COLUMN (&00).(&01).(&02).(&03) TO AN "OLD ATTRIBUTE FORMAT" IS NOT PERMITTED

### Meaning

Conversion of the column to a data type already supported in SESAM
versions < V13.1 ("old attribute format") is not permitted.

### Response

Pass the input value to conform with the "old attribute format".

## SEW42UP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UP DROP STATEMENT NOT POSSIBLE WITH ALTER MEDIA BECAUSE ONLY ONE RECORD LEFT FOR FILE TYPE (&00) IN CATALOG (&01).

### Meaning

The last, and thus the only media record, for a file type must not be
deleted with ALTER MEDIA.

### Response

Delete record with DROP MEDIA.

## SEW42UQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UQ NULL STRING FOR COLUMN (&00).(&01).(&02).(&03) IN WHEN...THEN NULL OR WHEN NULL THEN CONDITION CANNOT BE CONVERTED TO RE QUIRED FORMAT

### Meaning

The null string cannot be converted into the required format.

### Response

Specify a different null string.

## SEW42UR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UR WHEN NULL THEN OR WHEN...THEN NULL CONDITION WITH POSITION AT COLUMN (&00). (&01).(&02).(&03) NOT POSSIBLE IF MORE THAN ONE OCCURRENCE SPECIFIED

### Meaning

If several occurrences of a multiple column are referenced with a format,
no position may be specified for the WHEN NULL THEN or WHEN...THEN NULL
condition. Otherwise it is impossible to tell which occurrence is NULL.

### Response

Specify WHEN NULL THEN or WHEN...THEN NULL condition without position
specification.

## SEW42US

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42US ILLEGAL NULL STRING LENGTH FOR WHEN NULL THEN CONDITION ON COLUMN (&00). (&01).(&02).(&03)

### Meaning

The length of the null string must not longer than the length of the
column.

### Response

Modify null string accordingly.

## SEW42UT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UT NO SUITABLE ENTRY IN CATALOG TABLES. (CATALOG INVOLVED: (&00))

### Meaning

There is no record to be deleted according the specification in the
statement. If UNRESTRICTED is specified one record allways remaines for
consistency checks. If UNRESTRICTED is not specified the last record of
a SESAM copy and the previous record remain.

## SEW42UU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UU NO SUITABLE ENTRY IN CATALOG TABLE RECOVERY_UNITS FOR SPACE (&00).(&01), OR SPACE DOES NOT EXIST

### Meaning

There is no row which satisfies the condition with the specified timestamp
or age in the RECOVERY_UNITS catalog table for the specified space. The
last record of a SESAM copy and the previous record allways remain.

## SEW42UV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UV RESTART RECORD EXISTS. (CATALOG INVOLVED: (&00))

### Meaning

The RECOVERY_UNITS catalog table contains a restart record which may not
be modified.

### Response

Initiate RECOVER RESTART or RECOVER ADJUST.

## SEW42UW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UW TOO MANY FORMAT DESCRIPTIONS FOR TABLE (&00).(&01).(&02)

### Meaning

The number of format descriptions exceeds the, number of columns in the
table.

### Response

Compare the format descriptions with the table definition and only specify
the formats which are needed.

## SEW42UX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UX TABLE (&00).(&01).(&02) TO BE UNLOADED EMPTY

### Meaning

The table to be unloaded is empty.
Regarding UNLOAD FROM SPACE or UNLOAD FROM COPY_FILE respectively,
possibly only the partition of a partitioned table located on the current
space is empty.

### Response

Specify a table which is not empty.

## SEW42UY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UY ILLEGAL NAME (&00) FOR PK-SIB FILE

### Meaning

The file name does not have the extension ".PK-SIB.nnnn".

### Response

Modify the name accordingly.

## SEW42UZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42UZ INSUFFICIENT NUMBER OF FORMAT DESCRIPTIONS FOR TABLE (&00).(&01).(&02)

### Meaning

The number of format descriptions specified is less, than the number of
columns in the table.

### Response

Compare the format descriptions with the table definition and only
specify the formats which are needed.

## SEW42U0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U0 OVERWRITE SPECIFIED FOR TABLE (&00).(&01).(&02) WHICH HAS NO PRIMARY KEY

### Meaning

The LOAD parameter OVERWRITE was specified for a table without a primary
key.

### Response

Specify LOAD statement without OVERWRITE.

## SEW42U1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U1 CATALOG SPACE (&00) ALREADY EXISTS

### Meaning

The catalog space already exists. It may not be overwritten.

### Response

Specify a different catalog name or delete the existing file.

## SEW42U2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U2 VALUES IN MULTIPLE COLUMN (&00).(&01).(&02).(&03) USED FOR COMPARISON IN WHEN...THEN NULL CONDITION

### Meaning

The compare column in the WHEN...THEN NULL condition is a multiple column.

### Response

Modify WHEN...THEN NULL condition accordingly.

## SEW42U3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U3 COLUMN (&00).(&01).(&02).(&03) NOT MULTIPLE COLUMN

### Meaning

Occurrences have been specified for a column which is not a multiple
column.

### Response

Specify a multiple column or do not specify occurrences for the
specified column.

## SEW42U4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U4 WHEN...THEN NULL CONDITION SPECIFIED FOR NOT NULL COLUMN (&00).(&01).(&02). (&03)

### Meaning

A WHEN...THEN NULL condition was specified for a NOT NULL column during
loading.

### Response

Omit WHEN...THEN NULL condition.

## SEW42U5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U5 VALUES FOR COMPARE COLUMN (&00).(&01).(&02).(&03) IN WHEN...THEN NULL CONDITION ARE NOT IN INPUT FILE

### Meaning

The compare column in the WHEN...THEN NULL condition is not in the input
file.

### Response

Specify a compare column which is in the input file or modify the
WHEN...THEN NULL condition accordingly.

## SEW42U6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U6 COLUMN (&00).(&01).(&02).(&03) SELECTED AS COUNT FIELD, BUT IT HAS AN ILLEGAL DATA TYPE

### Meaning

The data type of the column selected as the count field is not a data type
permitted for count fields.

### Response

Omit the count field or select a different primary key column as the count
field.

## SEW42U7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U7 COLUMN (&00).(&01).(&02).(&03) SELECTED AS COUNT FIELD, BUT ITS VALUES MUST NOT BE IN INPUT FILE

### Meaning

No column list or format list exists and a count field was specified, or
the name of the count field is also in the column list, or there is only
a format list with n elements. Thus the first n columns of the table are
to be loaded. The column associated with the count field is one of these
n columns.

### Response

Omit COUNTING_FIELD or select another primary key column as the count
field.

## SEW42U8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U8 COLUMN (&00).(&01).(&02).(&03) SELECTED AS THE COUNT FIELD BUT DOES NOT BELONG TO PRIMARY KEY

### Meaning

The column selected as the count field does not belong to the primary key.

### Response

Omit count field or select primary key column as count field.

## SEW42U9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42U9 COUNT FIELD SPECIFIED FOR TABLE (&00).(&01).(&02) WITHOUT A PRIMARY KEY

### Response

Omit count field.

## SEW42VA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VA REFRESH REPLICATION FUNCTION IS NOT POSSIBLE ON REPLICATION (&00) BECAUSE LOGGING IS INTERRUPTED ON SPACE (&01).

### Meaning

Replication (&00) cannot be updated since at least one space (&01) of the
replication is not logged.

### Response

Create a new replication or reduce replication by REFRESH REPLICATION
FOR SPACE to the spaces which are in the log.

## SEW42VB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VB INCORRECT SPECIFICATIONS IN LINE (&01) OF HSMS PARAMETER FILE (&00).

### Meaning

The parameter name or value assignment is incorrect.

### Response

Correct the parameter specification.

## SEW42VC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VC REFRESH REPLICATION (&00) IMPOSSIBLE.

### Meaning

Replication contains no valid space.

### Response

Add space to the replication from backup or create a new replication.

## SEW42VD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VD REFRESH REPLICATION IMPOSSIBLE BECAUSE SPACE (&00) IS NO VALID SPACE OF THE REPLICATION.

### Meaning

Space (&00) is an invalid space of the replication.

### Response

Add space to the replication from backup or create a new replication.

## SEW42VE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VE REFRESH REPLICATION IMPOSSIBLE BECAUSE SPACE (&00) IS NO SPACE OF THE REPLICATION.

### Meaning

Space (&00) does not belong to the replication.

### Response

Add space to the replication from backup or create a new replication.

## SEW42VF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VF SESAM BACKUP FILE (&00) DOES NOT BELONG TO CATALOG (&01)

### Meaning

A table should be unloaded from a SESAM backup file,
but the backup file does not belong to the named catalog.

### Response

Specify the catalog which belongs to the backup file.

## SEW42VG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VG INVALID VALUE OF PARAMETER SKIP FIRST RECORDS FOR TRANSFER FILE (&00)

### Meaning

Regarding parameter SKIP FIRST RECORDS the first record to be read was a
description record. If the value of the parameter is greater than zero,
however, using transfer format the first record to be read has to be a
data record.

### Response

Correct value of parameter SKIP FIRST RECORDS.

## SEW42VH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VH VALUE OF PARAMETER SKIP FIRST RECORDS FOR INPUT FILE (&00) TOO GREAT

### Meaning

The value of parameter SKIP FIRST RECORDS is greater than the number of
records in the input file.

### Response

Correct value of parameter SKIP FIRST RECORDS.

## SEW42VI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VI NO SUITABLE RECORD IN CAT-REC FILE (&00)

### Meaning

There is no record to be deleted according to the specification in the
statement.

## SEW42VK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VK TOO MANY SPACES FOR A BACKUP COPY WITH ARCHIVE

### Meaning

At most 500 spaces could be backed up with ARCHIVE.

### Response

Use backup copy on disk or backup copy with HSMS
or use less than 500 spaces.

## SEW42VL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42VL LOAD PARAMETER SKIP FIRST RECORDS CAUSES ALL RECORDS OF INPUT FILE (&00) TO BE SKIPPED

### Meaning

The value of parameter SKIP FIRST RECORDS is identical to the number
of records in the input file. Therefore not a single record was loaded.

### Response

Check whether the intended value was specified for parameter SKIP FIRST
RECORDS.

## SEW42V0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V0 ILLEGAL NAME (&00) FOR DB-SIB FILE

### Meaning

The file name does not have the extension ".DB-SIB.nnnn".

### Response

Modify the name accordingly.

## SEW42V1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V1 THIS VERSION OF THE PK-SIB FILE (&00) CANNOT BE USED FOR MIGRATE

### Meaning

The PK-SIB file (&00) was created with a version of SESAM for which
migration is not supported.

### Response

Migration is supported as of SESAM V14.

## SEW42V2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V2 THIS VERSION OF THE DB-SIB FILE (&00) CANNOT BE USED FOR MIGRATE

### Meaning

The DB-SIB file (&00) was created with a version of SESAM for which
migration is not supported.

### Response

Migration is supported as of SESAM V14.

## SEW42V3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V3 ENTRY FOR CATALOG (&00) ALREADY EXISTS IN SQL DATABASE CATALOG

### Meaning

An entry with this catalog name already exists in the SQL-DATABASE-
CATALOG.

### Response

Modify SQL statement accordingly.

## SEW42V4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V4 LOADING IN DELIMITER FORMAT OR CSV FORMAT IS NOT PERMITTED FOR COLUMN (&00).(&01).(&02).(&03) AS IT HAS AN "OLD ATTRIBUTE FORMAT".

### Meaning

Loading in delimiter format into a column with a data type that was
supported in SESAM versions earlier than V13.1 ("old attribute format")
is not permitted in delimiter format or CSV format.

### Response

Load using a different format.

## SEW42V5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V5 THE ENTRIES IN LINE (&01) OF THE ARCHIVE PARAMETER FILE (&00) ARE ERRORED.

### Meaning

The parameter name or the value assignment is errored.

### Response

Correct the parameter entry.

## SEW42V6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V6 TABLE (&00).(&01).(&02) IS NOT A CALL DML ONLY TABLE

### Meaning

The table specified when migrating the table type is already a
CALL DML/SQL table or an SQL table

## SEW42V7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V7 COLUMN (&00).(&01).(&02).(&03) STILL HAS ATTRIBUTE FORMAT OLDEST

### Meaning

On migration, the table can no longer contain columns with the attribute
format OLDEST

### Response

Change the OLDEST attribute formats with ALTER TABLE ALTER COLUMN

## SEW42V8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V8 SPECIFIED CATALOG (&00) IS NOT A REPLICATION.

### Meaning

The refresh function can only be applied to a replication
catalog.

### Response

Specify the replication catalog.

## SEW42V9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42V9 SPACE (&00).(&01) IS NOT A REPLICATION SPACE

### Meaning

Space (&00).(&01) is not accepted within a replication since internal
replication identifiers are missing.

### Response

1) Install the correct space.
2) Create a new replication.

## SEW42WA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WA MAXIMUM NUMBER OF PARTITIONS FOR TABLE (&00).(&01).(&02) ALREADY EXCEEDED

### Meaning

An additional partition schould be added to the table.
The table has already 16 partitions.

## SEW42WB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WB THE TABLE (&00).(&01).(&02) IS NOT PARTITIONED

### Meaning

A partition limit should be modified or a partition should
be dropped for a non-partitioned table.

## SEW42WC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WC THE PARTITION LIMIT OF THE LAST PARTITION CANNOT BE MODIFIED

### Meaning

The partition limit of the last partition of table
(&00).(&01).(&02) should be modified.

### Response

Modify the limit of another partition.

## SEW42WD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WD DROP UPPER LIMIT OF PRIOR PARTITION MUST NOT BE SPECIFIED IF THE LOWEST PARTITION IS TO BE DROPPED

### Meaning

The lowest partition of table (&00).(&01).(&02) is to be dropped
and DROP UPPER LIMIT OF PRIOR PARTITION is specified.

### Response

Drop another partition or specify DROP UPPER LIMIT OF DROPPED PARTITION

## SEW42WE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WE DROP UPPER LIMIT OF PRIOR PARTITION HAS TO BE SPECIFIED IF THE HIGHEST PARTITION IS TO BE DROPPED

### Meaning

The highest partition of table (&00).(&01).(&02) is to be dropped
and DROP UPPER LIMIT OF DROPPED PARTITION is specified or the
DROP UPPER LIMIT clause is omitted.

### Response

Drop another partition or specify DROP UPPER LIMIT OF PRIOR PARTITION.

## SEW42WF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WF AN EMPTY PARTITION IS DEFINED FOR TABLE (&00).(&01).(&02)

### Meaning

With the ALTER PARTITIONING statement the partitioning is to be modified.
An empty partition is created by the modification.

### Response

Change the statement.

## SEW42WG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WG PARTITION LIMITS OF TABLE (&00).(&01).(&02) ARE NOT STRICTLY INCREASING

### Meaning

The partitioning for a table is modified. The partition limits
must be strictly increasing.

### Response

Change partition limits.

## SEW42WH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WH ALTER PARTITIONING FOR TABLE (&00).(&01).(&02) WITHOUT PRIMARY KEY CONSTRAINT

### Meaning

The partitioning can only be modified for tables with primary key
constraint

## SEW42WI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WI TABLE (&00).(&01).(&02) HAS NO PARTITION ON SPACE (&03)

### Meaning

The partition on space should be modified or dropped.
But the table does not have any partition on this space.

### Response

Choose other partition.

## SEW42WJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WJ TABLE (&00).(&01).(&02) CAN NOT BE PARTITIONED BY ALTER PARTITIONING STATEMENT

### Meaning

The maximum internal row_id of a non-partitioned table
is too large.

### Response

Reorganize the table space with the Reorg Space
statement with parameter NEW ROW_IDS
or use the EXPORT / IMPORT TABLE statement for partitioning

## SEW42WK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WK PARAMETER DELETE ROWS IS NOT POSSIBLE, IF THE TABLE (&00).(&01).(&02) IS REFERENCED BY A REFERENTIAL CONSTRAINT

### Meaning

The rows of the partition to be dropped of table (&00).(&01).(&02)
should also be dropped by ALTER PARTITIONING DROP PARTITION statement.
But the table is referenced by a referential constraint.

### Response

Change parameter DELETE ROWS or drop referential constraint.

## SEW42WL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WL CALL DML TABLE (&00).(&01).(&02) WITH PASSWORD PROTECTION CAN NOT BE PARTITIONED BY ALTER PARTITIONING STATEMENT

### Meaning

A CALL DML table with password protection
can not be partitioned.

### Response

Delete password protection with the program SEPA
and then issue ALTER PARTITIONING statement again.

## SEW42WP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WP COLUMN (&00).(&01).(&02).(&03) IS REFERENCED BY A PRIMARY KEY CONSTRAINT

### Meaning

With ALTER DATA a column must not be referenced by a
primary key constraint

### Response

Issue other column

## SEW42WR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WR THE COLUMN (&00).(&01).(&02).(&03) TOGETHER WITH AT LEAST ANOTHER COLUMN BELONG TO A CHECK CONSTRAINT

### Meaning

With ALTER DATA the column may belong
only as a single column to a check constraint

### Response

Delete the check constraint or issue another column

## SEW42WS

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WS THE COLUMN (&00).(&01).(&02).(&03) TOGETHER WITH AT LEAST ANOTHER COLUMN BELONG TO A UNIQUE CONSTRAINT

### Meaning

With ALTER DATA the column may belong
only as a single column to a unique constraint

### Response

Delete the unique constraint or issue another column

## SEW42WT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WT THE COLUMN (&00).(&01).(&02).(&03) TOGETHER WITH AT LEAST ANOTHER COLUMN BELONG TO A REFERENTIAL CONSTRAINT

### Meaning

With ALTER DATA the column may belong
only as a single column to a referentail constraint

### Response

Delete the referential constraint or issue another column

## SEW42WU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WU TABLE (&00).(&01).(&02) IST A CALL DML ONLY TABLE

### Meaning

ALTER DATA is not possible for CALL DML only tables

## SEW42WV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WV MUTIPLE COLUMN (&00).(&01).(&02).(&03) IST TOO LONG

### Meaning

With ALTER DATA a mutiple column is issued.
All occurrences of this column together are too long for alter data.

### Response

Reduce the number of occurrences or the length of the column

## SEW42WZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42WZ UNSIGNED INTEGER LITERAL OUT OF RANGE

### Meaning

The value of the literal must not exceed the maximal value of INTEGER
(2147483647).

### Response

Change the literal accordingly.

## SEW42W0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W0 SERIAL NUMBER OF PARTITION NOT IN ADMISSIBLE RANGE

### Meaning

The serial number of each partition of a partitioned table
must lie in the range from 1 to 16.

### Response

Change the text of the PARTITION BY clause accordingly.

## SEW42W1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W1 SERIAL NUMBERS OF PARTITIONS NOT STRICTLY INCREASING

### Meaning

The serial numbers of the partitions of a partitioned table
must be strictly increasing.

### Response

Change the text of the PARTITION BY clause accordingly.

## SEW42W2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W2 DEGREE OF PARTITION LIMIT GREATER THAN DEGREE OF PRIMARY KEY

### Meaning

The degree of the upper limit of a partition
must not exceed the number of columns in the PRIMARY KEY.

### Response

Change the limit of the partition.

## SEW42W3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W3 USING PARTITION IS SPECIFIED WITHOUT PRIMARY KEY CONSTRAINT

### Meaning

USING PARTITION may only be specified for tables with a PRIMARY KEY.

### Response

Add a PRIMARY KEY or leave out the USING PARTITION clause.

## SEW42W4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W4 DUPLICATE SPACE NAME (&00) IN PARTITIONS

### Meaning

The space names of two partitions of a table must never reference the same
space.

### Response

Use other space names.

## SEW42W5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W5 PARTITION LIMITS NOT STRICTLY INCREASING FOR PARTITION (&00)

### Meaning

Partition limits must be strictly increasing.

### Response

Change partition limits.

## SEW42W6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W6 PARTITION (&00) IS EMPTY

### Meaning

Partition is always empty because of the specified partition limits.

### Response

Change partition limits.

## SEW42W7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W7 ILLEGAL VALUE IN PARTITION LIMIT FOR PARTITION (&00)

### Meaning

Values in partition limits must match the data type of the
corresponding primary key columns.

### Response

Change values in partition limits.

## SEW42W8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W8 OLD ROW_IDS ILLEGAL WITH PARTITION

### Meaning

Clause OLD ROW_IDS must not be specified together with PARTITION.

### Response

Change one of the clauses.

## SEW42W9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42W9 ILLEGAL UPDATE OF PARTITIONING KEY

### Meaning

The value of a primary key column of a partitioned table must not be set
in an UPDATE statement because the primary key is the partitioning key
which determines the table space used for storing the row.

### Response

Omit such assignments from the SET clause,
or replace UPDATE by a combination of DELETE and INSERT.

## SEW42XA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42XA ILLEGAL VALUE FOR PARTITION LIMIT

### Meaning

Values in partition limits must match the data type of the
corresponding primary key columns.

### Response

Change values in partition limits.

## SEW42XO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42XO INVALID REFERENCE TO MULTIPLE COLUMN IN VIEW DEFINITION WITH CHECK OPTION CLAUSE

### Meaning

The following applies to a CREATE VIEW statement CV:
- CV contains a WITH CHECK OPTION clause.
- CV1..CVn are the CREATE VIEW statements of the views referenced directly
or indirectly (via other views) in the query expression in CV.
- CV or at least one of the CVi contains a column reference which refers
to a multiple column, and this column reference is located outside of a
select list.

### Response

Remove WITH CHECK OPTION clause or reference to multiple column.

## SEW42X0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X0 NUMBER OF DAYS SPECIFIED WITH AGE IS TOO BIG

### Meaning

AGE has an invalid value, i.e. if AGE days are subtracted from the
current date, the resulting date is smaller than the minimum timestamp.

### Response

Select a smaller AGE.

## SEW42X1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X1 CHECK OR REFERENTIAL CONSTRAINT, OR SEARCH CONDITION OF A WITH_CHECK OPTION FOR VIEW CONTAINS COUNT FIELD

### Meaning

In an INSERT statement or in a LOAD ONLINE statement, the column specified
as count field is a referencing column in a referential constraint, or in
the search condition of a check constraint, or in the search condition of
a WITH_CHECK option for a view.

### Response

Remove the integrity constraint, or do not use this column as count field.
Statement LOAD ONLINE is executable using NO CONSTRAINT CHECK.

## SEW42X2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X2 TABLE (&00).(&01).(&02) IS NOT EMPTY

### Meaning

ADD COLUMN with DEFAULT clause is only permitted for an empty table.

### Response

If necessary, empty the table beforehand.

## SEW42X3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X3 THE STATE OF THE REPLICATION (&00) IN THE SQL DATABASE CATALOG PREVENTS THE RECOVERY

### Meaning

If COPY is specified the state has to be *FREE. If RENAME is specified
the replication should be removed from the SQL database catalog

### Response

Alter status of the replication to FREE or remove the replication from the
SQL database catalog respectively and repeat the statement.

## SEW42X4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X4 INVALID USER ID IN FILE NAME (&00).

### Meaning

The user ID is not permitted in the file name since the user ID is a
parameter of the interface.

### Response

Correct the statement and re-enter it.

## SEW42X5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X5 USER_ID MUST NOT BE SPECIFIED TOGETHER WITH RENAME.

### Meaning

No USER_ID clauses are permitted in a CREATE REPLICATION
statement with RENAME.

### Response

Correct the statement.

## SEW42X6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X6 USING MEDIA MUST NOT BE SPECIFIED TOGETHER WITH RENAME.

### Meaning

No USING MEDIA clause is permitted in a CREATE REPLICATION
statement with RENAME.

### Response

Correct the statement.

## SEW42X7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X7 RENAME MUST NOT BE SPECIFIED WITHOUT FOREIGN.

### Meaning

A CREATE REPLICATION statement with RENAME is
permissible only in conjunction with FROM FOREIGN.

### Response

Correct the statement.

## SEW42X8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X8 CAT-REC FILE NAME MUST END WITH '.CAT-REC'

### Meaning

The Cat-Rec file name must end with '.CAT-REC' in the
CREATE REPLICATION statement with the option FOREIGN.

### Response

Correct the statement.

## SEW42X9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42X9 USER_IDS OF REPLICATION AND CAT-REC FILE ARE DIFFERENT WITH RENAME AND FOREIGN CATREC CLAUSES.

### Meaning

USER_IDs of replication and CAT-REC file must be equal
in the CREATE REPLICATION statement with
RENAME and FOREIGN CATREC clauses.

### Response

Correct the statement.

## SEW42Y0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y0 ILLEGAL CHARACTER IN NATIONAL LITERAL

### Meaning

The characters in a national literal or a Unicode literal must all
belong to the invariant part of the EBCDIC repertoire.

### Response

Use the hexadecimal notation of the Unciode code point
for other characters. This works in national binary string
literals and in Unicode literals.

## SEW42Y1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y1 ILLEGAL UESCAPE CHARACTER

### Meaning

The string following UESCAPE must comprise a single character,
and it must not be a hexadecimal digit, a plus sign, an apostrophe,
a double quote, nor a space.

### Response

Use some other character.

## SEW42Y2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y2 ILLEGAL UNICODE ESCAPE VALUE

### Meaning

The string following a UESCAPE character in a Unicode string must
either be the UESCAPE character itself, or else it must have one of the
hexadecimal forms QRST or +UVWXYZ, where UVWXYZ is less than 110000.

### Response

Correct the string after the UESCAPE character.

## SEW42Y3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y3 UPDATE POSITIONED NOT ALLOWED IN AUTONOMOUS TRANSACTION

### Meaning

An update positioned statement cannot be executed
as an autonomous transaction.

### Response

Fix application.

## SEW42Y4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y4 DELETE POSITIONED NOT ALLOWED IN AUTONOMOUS TRANSACTION

### Meaning

A delete positioned statement cannot be executed
as an autonomous transaction.

### Response

Fix application.

## SEW42Y5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y5 INSERT WITH RETURN INTO NOT ALLOWED IN AUTONOMOUS TRANSACTION

### Meaning

An insert statement with a return into clause cannot
be executed as an autonomous transaction.

### Response

Fix application.

## SEW42Y6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y6 STATEMENT NOT ALLOWED IN AUTONOMOUS TRANSACTION

### Meaning

Only specific statements can be executed as an autonomous
transaction (INSERT, UPDATE WHERE, DELETE WHERE, MERGE, CALL).

### Response

Fix application.

## SEW42Y7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Y7 NO ROUTINE STATEMENT ALLOWED AS AUTONOMOUS TRANSACTION

### Meaning

Within a routine (procedure or function) no statement can
be executed as an autonomous transaction.

### Response

Fix application.

## SEW42Z1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z1 SYNTAX ERROR IN REFERENCED VIEW (&00).(&01).(&02) THAT WAS CREATED WITH A DIFFERENT VERSION OF SESAM

### Meaning

The SQL statement refers to a view that has been created with a different
version of SESAM and that is syntactically incorrect with the current
version of SESAM.

### Response

Either switch to an appropriate version of SESAM or else use the current
version of SESAM to drop the view and redefine it with correct syntax.

## SEW42Z2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z2 STATEMENT NOT PERMITTED FOR CURSOR WITH HOLD.

### Meaning

The SQL statements STORE and RESTORE are not permitted for
cursors declared with WITH HOLD.

### Response

To preserve the cursor position when transactions have ended, either use
cursor WITH HOLD or use cursor without HOLD with STORE and
RESTORE.

## SEW42Z3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z3 THE STATEMENT IS REJECTED; REPLICATION (&00) IS A BACKUP INVENTORY.

### Meaning

The statement is not permissible for a backup inventory.

## SEW42Z4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z4 SYNTAX ERROR IN CHECK CONSTRAINT (&00).(&01).(&02) THAT WAS CREATED WITH A DIFFERENT VERSION OF SESAM

### Meaning

The SQL statement refers to a CHECK CONSTRAINT that has been created with
a different version of SESAM and that is syntactically incorrect with the
current version of SESAM.

### Response

Either switch to an appropriate version of SESAM or else use the current
version of SESAM to drop the CONSTRAINT and redefine it with correct
syntax.

## SEW42Z5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z5 SQL STATEMENT ONLY PERMITTED FOR PROCEDURES

### Meaning

The SQL statement is only permitted for procedures. The specified routine
(&00).(&01).(&02) is not, however, a Stored Procedure.

### Response

Modify application program accordingly.

## SEW42Z6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z6 SQL STATEMENT ONLY PERMITTED FOR FUNCTIONS

### Meaning

The SQL statement is only permitted for Functions. The specified routine
(&00).(&01).(&02) is not, however, a User Defined Function.

### Response

Modify application program accordingly.

## SEW42Z7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z7 FUNCTION (&00).(&01).(&02) CANNOT BE DELETED; IT IS REFERENCED BY A VIEW

### Meaning

A function cannot be deleted if it is referenced by a view.

### Response

First delete the dependent view and then execute the SQL statement
again.

## SEW42Z8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW42Z8 ROUTINE (&00).(&01).(&02) CANNOT BE DELETED; IT IS REFERENCED BY ANOTHER ROUTINE

### Meaning

A routine cannot be deleted if it is referenced by another routine.

### Response

First delete the dependent routine and then execute the SQL statement
again.

## SEW420A

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW420A DEFAULT ATTRIBUTE VALUES IN BLOB TABLE TOO LONG.

### Meaning

The total length of the default values for attributes (such as MIME and
USAGE) is too high in the definition of a BLOB table.

### Response

Shorten the default values in the CREATE TABLE OF BLOB statement.

## SEW420B

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW420B TOO MANY SPECIAL CHARACTERS IN THE NAME OF A BLOB TABLE.

### Meaning

The name of a BLOB table, or its schema name, contains so many special
characters that the REF values for BLOB objects of this table would have
to have more than 237 characters.

### Response

Remove the special characters in the table name or schema name, or replace
them with digits and letters without diacritics.

## SEW420C

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW420C ILLEGAL CATALOG NAME IN REF FUCTION.

### Meaning

In the REF function, the name of the referenced BLOB table must
not explicitly contain a catalog name.

### Response

Remove the catalog name.

## SEW420D

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW420D ILLEGAL DEFAULT CLAUSE IN THE DEFINITION OF A COLUMN FOR REF VALUES.

### Meaning

If a column is defined with FOR REF, a DEFAULT clause must not be
specified because the definition already implies a DEFAULT value with
FOR REF.

### Response

Remove the DEFAULT clause.

## SEW420E

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW420E DEFAULT VALUE REF ONLY PERMITTED FOR COLUMNS FOR REF VALUES.

### Meaning

If the DEFAULT value of a column is defined with REF, the
column must have the data type CHAR(237).

### Response

Define another DEFAULT value or change the data type of the column
to CHAR(237).

## SEW4400

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW4400 VIOLATION OF CHECK OPTION FOR VIEW (&00).(&01).(&02)

### Meaning

The CHECK option was violated during execution of an UPDATE, INSERT or
MERGE statement on a view, i.e. the modified or inserted row cannot be
selected via the view.

### Response

Modify application program or view accordingly.

## SEW4500

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW4500 UNHANDLED USER DEFINED EXCEPTION (&00). (&01)

### Meaning

The mentioned condition without a referenced SQLSTATE was signalled
and there was no corresponding exception handler.

### Response

Modify application program accordingly.

## SEW51UA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51UA SPACES CANNOT BE RECOVERED BECAUSE CATALOG BACKUP NOT AVAILABLE.

### Meaning

Recovery is attempted with a backup in which only the catalog space
was backed up. Since no space is included in the log, the spaces
cannot be updated to the status of the catalog space backup.

### Response

Repair the spaces individually.

## SEW51UB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51UB LOG FILE (&01) DOES NOT CORRESPOND TO METADATA OF CAT-REC FILE OR CATALOG TABLE DA_LOGS. (RRA FOR DIAGNOSIS: (&00))

### Meaning

The current interval on the provided log file does not correspond to
the description in the metadata. Related timestamps do not match.
Either the provided log file is not correct or the catalog was backed up
before and the CAT-REC file used does not correspond to the current
state of the catalog.

### Response

Check the files involved. Provide correct log file or CAT-REC file.

## SEW51UC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51UC THE FIRST DA_LOGS ENTRY REQUIRED TO RECOVER SPACE (&00).(&01) COULD NOT BE FOUND

### Meaning

The first entry required for recovery could not be found.
It may have been deleted by MODIFY UNRESTRICTED.

### Response

Repair the space with RECOVER TO or by using a foreign copy,
if available.

## SEW51UD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51UD THE SPACE (&00) IS NO VALID PART OF THE REPLICATION

### Meaning

The replication is created without the space or the space has been deleted
from the replication.

### Response

The space can be added by REFRESH SPACE

## SEW51UE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51UE THE BACKUP FILE (&00) AND THE SPACE HAVE DIFFERENT SPACE IDS

### Meaning

The space cannot be recovered because the space IDs do not match

## SEW51U0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U0 RECOVER IMPOSSIBLE OR UNNECESSARY BECAUSE NO DA-LOG ENTRIES EXIST

### Meaning

The DA_LOGS catalog table does not contain any entries whose information
would be updated to the backup status. The space either has the current
contents already, or the DA_LOGS entries have been deleted.

### Response

The space can be recovered with RECOVER TO.

## SEW51U1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U1 RECOVER NOT POSSIBLE: NO RECOVERY UNITS AVAILABLE

### Meaning

RECOVER is not possible, since there are no recovery units available.

### Response

Check available recovery units.

## SEW51U2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U2 RECOVERY INFORMATION FOR SPACE SET INCONSISTENT

### Meaning

The DA LOG recovery was interrupted for at least one space in the space
set.

### Response

Update spaces individually.

## SEW51U3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U3 RECOVERY TO SPECIFIED STATUS NOT POSSIBLE; DA-LOG INTERRUPTED FOR SPACE (&00).(&01)

### Meaning

The DA-LOG backup has been interrupted, e.g. by LOAD OFFLINE,
RECOVER INDEX, ALTER SPACE.

### Response

You can use RECOVER TO to restore the status that applied when the
DA-LOG backup was interrupted. The statement must contain the
timestamp of the mark in the RECOVERY_UNITS which was inserted
when the DA-LOG backup was interrupted.

## SEW51U4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U4 LOG FILE (&01) DOES NOT MATCH THE SESAM/SQL VERSION USED OR HAS INVALID STRUCTURE (RRA FOR DIAGNOSIS: (&00))

### Meaning

Logging file either
a) has been created using a different SESAM/SQL version or
b) or has the wrong structure

### Response

a) Use the correct log file.
b) Check whether this is the original log file. If so, submit log file
to diagnostics staff.

## SEW51U5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U5 INCONSISTENCY IN THE LOGGING FILE SEQUENCE (RRA FOR DIAGNOSIS: (&00), FILE NAME: (&01))

### Meaning

File (&01) is not a logging file or the logging file sequence is
incorrect.

### Response

a) Provide the correct logging file
b) Check whether the logging file is an original logging file. If it is:
Submit the logging file and a dump from the service task for diagnosis

## SEW51U6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U6 A SPACE (&00).(&01) WHICH IS NOT CONTAINED IN THE SPACES TABLE WAS DETECTED IN THE RECOVERY UNITS FOR THE SPACE SET

### Meaning

A space which is not contained in the spaces table was detected in the
recovery units for the space set.

### Response

Process the spaces of the space set separately or use RECOVER CATALOG.

## SEW51U7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U7 BACKUP COPY OF SPACE (&00).(&01) AND RECOVERY UNITS DO NOT MATCH

### Meaning

An invalid backup copy was acquired for space (&00).(&01). The checking
information in the acquired backup copy does not match the recovery units
entry in the catalog.

### Response

Check file.

## SEW51U8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U8 BACKUP FILE (&00) DOES NOT MATCH CATALOG

### Meaning

The backups previously generated have become invalid due to copying and
renaming of the catalog.

### Response

Secure the catalog after copying and renaming using COPY CATALOG.

## SEW51U9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW51U9 SPACE (&00) IS NOT A REPLICATION SPACE

### Meaning

A space that does not have an internal replication identification was
found during repair using a replication.

### Response

The repair must be carried out without replication
using a normal backup.

## SEW52AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AB HSMS JOB CONCERNING ARCHIVE (&00) TERMINATED WITH ERROR.

### Meaning

An asynchronous HSMS job is terminated with error.

### Response

See the HSMS log for more information on the error.
Repeat the COPY statement after eliminating the cause of error.

## SEW52AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AC HSMS JOB CONCERNING ARCHIVE (&00) TERMINATED WITH WARNING.

### Meaning

An asynchronous HSMS job is terminated with warning.

### Response

See the HSMS log for more information on the error.
Repeat the COPY statement after eliminating the cause of error.

## SEW52AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AD HSMS JOB CONCERNING ARCHIVE (&00) TERMINATED INCOMPLETELY.

### Meaning

HSMS job is not terminated completely.

### Response

See the HSMS log for more information on the error.
Repeat the COPY statement after eliminating the cause of error.

## SEW52AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AE PRODUCT JOBVARIABLE IS NOT AVAILABLE.

### Meaning

Product Jobvariable is needed to create a
backup copy of the database.

### Response

Install product Jobvariable and repeat
the COPY statement.

## SEW52AF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AF HSMS JOB CONCERNING ARCHIVE (&00) COULD NOT BE STARTED.

### Meaning

An asynchronous HSMS job is aborted during
initialisation.

### Response

See the HSMS log for more information on the error.
Repeat the COPY statement after eliminating the cause of error.

## SEW52AG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AG FILES TO BE SAVED ARE NOT SET ON A BUSINESS CONTINUANCE VOLUME (BCV) OR THE USERID WHERE THE DBH RUNS DOES NOT HAVE A PRIVILEGE TO WORK WITH BCV.

### Meaning

The COPY statement is specified with option BY_ADD_MIRROR_UNIT
or BY_SRDF_TARGET,
but the files to be saved are not set on
a Business Continuance Volume (BCV).
Or the userid where the database handler runs does not have
a privilege to work with BCV.

### Response

Repeat the COPY statement without option BY_ADD_MIRROR_UNIT
or BY_SRDF_TARGET.
Or grant the privilege to work with BCV to the userid
and repeat the statement.

## SEW52AH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AH THE OPTION CHECK FORMAL TOGETHER WITH ONLINE AND BY_ADD_MIRROR_UNIT OR BY_SRDF_TARGET IS SUPPORTED FROM BS2000 VERSION V6.0.

### Meaning

The COPY statement is specified with options
CHECK FORMAL, ONLINE and BY_ADD_MIRROR_UNIT or BY_SRDF_TARGET.
But the data base handler is running on a
maschine with an BS2000 version lower than V6.0.

### Response

Repeat the COPY statement without option CHECK FORMAL.

## SEW52AI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52AI JOB VARIABLE (&00) NEEDED FOR SYNCHRONIZATION WITH HSMS COULD NOT BE DELETED. PLEASE, DELETE JOB VARIABLE WITH BS2000 COMMAND DELETE-JV JV-NAME=(&00)

### Meaning

The job variable is used for synchronization
with HSMS.
The disks of the multi mirror pair are not reconstructed
as long as the job variable exists.

### Response

Delete job variable
with BS2000 command DELETE-JV JV-NAME=(&00)

## SEW52A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A0 ARCHIVE RUN TERMINATED WITH A WARNING.

### Meaning

The backup version is not entered in the catalog and therefore does not
exist logically.

### Response

Determine the cause of the warning from the ARCHIVE log. Repeat backup
if necessary.

## SEW52A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A1 ARCHIVE RUN TERMINATED WITH ERRORS.

### Meaning

The backup version is not entered in the catalog and therefore does not
exist logically.

### Response

Refer to the ARCHIVE log for more information on the error. Repeat backup
if necessary.

## SEW52A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A2 ARCHIVE NOT LOADED

### Meaning

The statement cannot be executed.

### Response

Load ARCHIVE.

## SEW52A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A3 INTERVAL BETWEEN 2 ARCHIVE BACKUPS TOO SMALL.

### Meaning

Under certain circumstances, ARCHIVE changes the timestamp (see ARCHIVE
manual). This can lead to uniqueness conflicts during a SESAM recovery.

### Response

Start the backup again.

## SEW52A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A4 HSMS STATEMENT CONCERNING ARCHIVE (&00) TERMINATED WITH WARNING OR ERROR (&01).

### Meaning

The request passed to HSMS by SESAM terminated with HSMS return code
(&01).
SESAM requires, however, a completely executed HSMS statement.

### Response

See the HSMS log for more information on the error.
Repeat the COPY or RECOVER or CREATE REPLICATION after
eliminating the cause of the error.

## SEW52A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A5 HSMS IS NOT LOADED.

### Meaning

The statement cannot be executed.

### Response

Load HSMS.

## SEW52A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A6 HSMS PARAMETER FILE (&00) DOES NOT EXIST OR CANNOT BE ACCESSED.

### Meaning

The statement cannot be executed.

### Response

Supply the HSMS parameter file.

## SEW52A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A7 HSMS STATEMENT CONCERNING ARCHIVE (&00) REJECTED WITH ERROR (&01).

### Meaning

The HSMS statement generated by SESAM was rejected with return code (&01),
caused by an internal error of HSMS or SESAM.

### Response

Save service task dump and protocol and submit it to diagnostics staff.

## SEW52A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A8 FILE (&00) CAN NOT BE RESTORED BY HSMS BECAUSE OF MISSING COOWNERSHIP.

### Meaning

If a file is restored in an userid, which is not equal to
the userid where the DBH runs, it is necessary to define
the DBH userid as coowner for the file to be restored
and all auxiliary files.

### Response

Define coownership and repeat RECOVER or CREATE REPLICATION.

## SEW52A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW52A9 HSMS STATEMENT CONCERNING ARCHIVE (&00) ABORTED BECAUSE OF TIMEOUT.

### Meaning

The maximum wait time for the acceptance or the termination of an HSMS
request elapsed. If the request was already accepted but not yet
terminated, then HSMS statement processing was continued asynchronously.
SESAM requires, however, a synchronous termination of the request.

### Response

Possibly the maximum wait time (REQUEST-WAIT-LIMITS) is to be modified
by the HSMS administrator.
Repeat the COPY or RECOVER or CREATE REPLICATION after eliminating
the cause of the error; if necessary wait for the termination of
the previous asynchronously continued HSMS request.

## SEW55AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AA DMS-ERROR (&00) OCCURRED IN SERVICE TASK WHEN PROCESSING FILE (&01)

### Meaning

An IO routine returned a DMS error. Depending on the type of error, the
service task may also have been terminated. A dump was taken if the error
code was unexpected.

### Response

Analyze the DMS error and take appropriate action.

## SEW55AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AB DMS ERROR (&00) OPENING DCN LOG FILE (SESDLG)

### Meaning

A DMS error occurred when DBCON opened the DCN log file (SESDLG).

### Response

Analyze the DMS error and take appropriate measures.

## SEW55AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AC FILE NAME OF DCN LOG FILE (SESDLG) NOT UNIQUE.

### Meaning

SESAM/SQL wants to open the DCN log file (SESDLG), but this file exists
under various catids.

### Response

Ensure that the DCN log file exists under only one catid

## SEW55AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AD FILE (&00) ALREADY EXISTS

### Meaning

The file already exists and is not compatible with the current DDL/SSL
transaction.

### Response

Delete the file and try again.

## SEW55AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AE CMD ERROR HAS OCCURRED WHEN PROCESSING THE SECURE-RESOURCE-ALLOCATION COMMAND FROM THE ARCHIVE PARAMETER FILE (&00).

### Meaning

BS2000 reports an error when executing the SECURE-RESOURCE-ALLOCATION
command.

### Response

Analyze the CMD error in the ARCHIVE-Directory-Name.SYSLST file and
take appropriate action.

## SEW55AF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AF DMS ERROR (&00) ON OPENING EXCEPTION FILE (&01).

### Meaning

A DMS error was reported when the exception file was opened.

### Response

Analyze the DMS error and take appropriate measures.

## SEW55AG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AG AT LEAST ONE FILE (&00) OF CATALOG (&01) IS NOT SET ON A PUBLIC VOLUME.

### Meaning

At least one file (&00) of catalog (&01)
is not set on a public volume during an online
backup copy with HSMS (concurrent copy).

### Response

For an online backup copy with HSMS all files must be set
on public volume.
Or use offline backup copy with HSMS.

## SEW55AH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AH IT IS NOT POSSIBLE TO CREATE FILE (&00) WITH (&01) PAM PAGES.

### Meaning

A file should be created with a calculated size.
The available public disk space is not sufficient.

### Response

Provide more public disk space.

## SEW55AI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55AI FOR OUTPUT FILE (&00) NO CCSN CAN BE DECLARED

### Meaning

The CCS name of the output file has to match the code table
of the current catalog. However, since the output file is
allocated on private volume, no CCS name can be declared
for it.

### Response

Erase output file and reallocate it on public volume or
leave the allocation to SESAM/SQL, respectively.

## SEW55A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A1 DMS ERROR (&00) OCCURRED WHEN PROCESSING FILE (&01)

### Meaning

An I/O routine reported a DMS error.

### Response

Analyze DMS error and take appropriate action.

## SEW55A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A2 FILE (&00) IS EMPTY

### Response

Prepare a file which is not empty and repeat SQL statement.

## SEW55A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A3 FILE NAME (&00) NOT UNIQUE OR CATID NOT IN CATID LIST

### Meaning

- SESAM/SQL wants to create a file which already exists under a different
BS2000 catalog ID.
- SESAM/SQL wants to open a file which, however, exists under various
BS2000 catalog IDs.
- SESAM/SQL wants to create or open a file. The specified BS2000 catalog
ID, however, is not contained in the catid list.

### Response

Ensure that name is unique by removing or renaming existing file or
by modifying the catid list, for example. Then try again.

## SEW55A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A4 FILE (&00) CANNOT BE ACCESSED

### Meaning

The file does not exist or privileges are missing.

### Response

Ensure that missing privileges are granted or make file available.

## SEW55A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A5 FILE (&00) IS NOT EMPTY

### Meaning

An attempt was made to create a file, but the file already exists or is
not empty.

### Response

Delete file or ensure that the BS2000 file name is unique by specifying
a different file name.

## SEW55A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A6 FILE ATTRIBUTES OF FILE (&00) CANNOT BE USED FOR SESAM/SQL

### Meaning

- The file attributes of a file created by the user are not those required
for this file by SESAM/SQL (e.g. RECFORM, RECSIZE).
- The secondary allocation of a space may not be 0.

### Response

- Remove or rename existing file.
- Correct the secondary allocation if necessary.
Then try again.

## SEW55A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A7 CONSISTENCY CHECK OCCURRED IN SERVICE TASK

### Response

Analyze dump.

## SEW55A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A8 ERROR OCCURRED WHEN LOADING CATALOG MODULE (RETURN CODE OF BIND: (&00))

### Meaning

The binder reported an error when loading catalog module from SESAM
module library. Possible reason: not enough space available.

### Response

Analyze the return code and deal with the cause of the error or submit
the protocol of the service task to diagnostics staff.

## SEW55A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55A9 FILE (&00) ALREADY EXISTS

### Meaning

File is not empty or file is a tapefile

## SEW55B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B0 FILE (&00) IS NOT CREATED UNDER THE REQUESTED BS2000 USERID OR DBH USERID IS NOT DEFINED AS COOWNER FOR THIS FILE.

### Meaning

The file should be located under an userid other than the DBH userid.
The DBH cannot, however, create the file there.

### Response

Create the file under the requested userid or allow coownership to the
DBH userid and repeat the statement.

## SEW55B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B1 DMS ERROR (&00) ON OPENING LOG FILE (&01)

### Meaning

An I/O routine returned a DMS error.
The error occurs if the log file is open in a different
active catalog, for example.

### Response

Analyze the DMS error and take appropriate measures.

## SEW55B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B2 RENAME CANNOT BE PERFORMED; FILE (&00) ALREADY EXISTS

### Meaning

A replication space is to be renamed to file (&00) with RECOVER, or a
backup file is to be renamed to file (&00) with CREATE REPLICATION; to
perform this action, the specified file may not exist.

### Response

Check whether the correct catalog or replication name is specified.
Delete files whose names match the renamed file. Repeat the statement.

## SEW55B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B3 FILE (&00) ALREADY OPEN

### Meaning

File (&00) has already been opened in the same DBH.

### Response

Retry command later.

## SEW55B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B4 CONFIGURATION FILE FOR (&00) COULD NOT BE OPENED

### Meaning

Since a configuration exists for a space or replication space, a
configuration file must also be defined for the corresponding space
or replication space, or for the specified working file in the case
of REORG.

### Response

Define configuration file

## SEW55B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B5 COULD NOT CREATE CONFIGURATION FILE FOR (&00).

### Meaning

Since a configuration exists for a space, a configuration file is to
be created for the copy. The file could not be created. The DMS error
was logged to SYSLST.

### Response

Determine the cause of the DMS error and repeat the statement.

## SEW55B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B6 NO FILE IS ASSIGNED TO LINK NAME SESAMCID.

### Meaning

No file is assigned to the link name SESAMCID in the DBH start procedure,
or the assigned file does not exist.

### Response

Specify the name of the file explicitly in the statement with catids.

## SEW55B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B7 AN ERROR OCCURRED WHEN WRITING THE PBI FILE. COPY ABORTED.

### Meaning

The service task routine was notified that an error occurred when
writing the PBI file. Copying of spaces was thus aborted.

### Response

Analyze the data on the cause of the error in the DBH log.

## SEW55B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B8 FILE (&00) CANNOT BE RENAMED

### Meaning

The file cannot be renamed because the DBH userid is not coowner of the
file in the DB userid

## SEW55B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW55B9 WORKING FILE (&00) NOT COMPATIBLE WITH SPACE

### Meaning

The working file is not compatible with the space to be reorganized;
probably it was modified by a concurrent statement.

### Response

Do not use the same working file for concurrent statements.

## SEW56A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW56A1 OUTPUT RECORD TOO LONG FOR SAM FILE

### Meaning

The output record is longer than the maximum permitted record length for
SAM files.

### Response

Specify fewer columns or execute UNLOAD several times.

## SEW57AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57AA REORG ONLINE REJECTED BECAUSE ANOTHER REORG ONLINE IS ALREADY ACTIVE ON THIS TABLE

### Meaning

On the same table or partition, respectively, another REORG ONLINE is
already running.

## SEW57AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57AB TABLE (&00).(&01).(&02) IS IN "CHECK PENDING" STATE AND DATA ARE TO BE UNLOADED INTO TRANSFER FORMAT OR STANDARD FORMAT

### Meaning

UNLOAD is not possible in transfer format or standard format
for a table in "check pending" state.

### Response

Apply UNLOAD in delimiter format, CSV format or load format.

## SEW57AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57AC SPACE (&00).(&01) IN "REORG PENDING" STATE

### Meaning

The maximum space size is reached.

### Response

Initiate REORG SPACE so that the space becomes processible.

## SEW57A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A0 CAT-REC FILE (&00) CANNOT BE ACCESSED

### Meaning

The CAT-REC file has been flagged as defective.

### Response

Inform your database administrator.

## SEW57A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A1 INDEX (&00).(&01).(&02) CANNOT BE CREATED.

### Meaning

CREATE INDEX cannot be applied because the table space is not
contained in the space set. This exception is used for internal
communication purposes only.

### Response

Create the index when adjusting the data, or convert the exception.

## SEW57A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A2 SPACE (&00).(&01) IN "COPY PENDING" STATE

### Response

Create backup using COPY SPACE. If a catalog space is
involved, produce a backup of the catalog space using
COPY CATALOG_SPACE ... OFFLINE.

## SEW57A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A3 AT LEAST ONE INDEX ON SPACE (&00).(&01) IS INVALID

### Response

Initiate RECOVER INDEX.

## SEW57A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A4 AT LEAST ONE INDEX INVALID AND AT LEAST ONE TABLE IN "CHECK PENDING" STATE ON SPACE (&00).(&01)

### Response

Initiate RECOVER INDEX ON SPACE and CHECK CONSTRAINTS ON SPACE.

## SEW57A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A5 AT LEAST ONE TABLE ON SPACE (&00).(&01) IN "CHECK PENDING" STATE

### Meaning

The statement is not allowed for spaces in "check pending" state.

### Response

Initiate CHECK CONSTRAINTS ON SPACE.

## SEW57A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A6 SPACE (&00).(&01) IN "RECOVER PENDING" STATE

### Meaning

A previous recovery is not yet terminated

### Response

Initiate RECOVER SPACE with RESTART or ADJUST.

## SEW57A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A7 TABLE (&00).(&01).(&02) IN "CHECK PENDING" STATE

### Response

Initiate CHECK CONSTRAINTS ON TABLE.

## SEW57A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A8 ONLINE COPY REJECTED BECAUSE OTHER ONLINE COPY ACTIVE

### Response

Repeat after execution of the other online copy statement.

## SEW57A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57A9 SPACE (&00).(&01) IS CORRUPT

### Meaning

Space (&00).(&01) is flagged as corrupt. This message is also given if
an attempt is made to recover with a corrupt space of a foreign copy or
a replication.

### Response

Repair the space with RECOVER using a correct copy.

## SEW57BA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BA SPECIFIED CAT-REC FILE (&00) DOES NOT MATCH REPLICATION.

### Meaning

The specified CAT-REC file represents an older state than the replication,
possibly entries are deleted to reset the original catalog, or the CAT-REC
file belongs to another catalog.

### Response

Repeat the statement with the correct CAT-REC file.

## SEW57BB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BB SPECIFIED CAT-REC FILE (&00) CANNOT BE EVALUATED FOR REFRESH REPLICATION FUNCTION.

### Meaning

The CAT-REC file (&00) does not contain any new information for updating
the replication. The replication is up to date.

### Response

Repeat the statement with an up-to-date CAT-REC file

## SEW57BC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BC CATALOG (&00) CANNOT BE REPAIRED WITH REPLICATION (&01).

### Meaning

The last refresh replication operation was not fully completed on the
replication (&01). Therefore this replication cannot be used to repair
catalog (&00).

### Response

- Repeat recovery with backup data.
- Fully update the replication and repeat the statement.

## SEW57BD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BD CAT-REC FILE (&00) UNSUITABLE FOR CATALOG (&01).

### Meaning

CAT-REC file (&00) and the CAT-REC file of catalog (&01) do not come from
the same catalog.

### Response

Repeat the statement with the correct CAT-REC files.

## SEW57BE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BE CAT-REC FILE (&00) RESET.

### Meaning

The CAT-REC file (&00) was modified and the last CAT-LOG records
deleted. CAT-REC file and Catalog-Space are not mutually consistent.

### Response

Repeat the statement with the CAT-REC file of a consistent database.

## SEW57BF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BF THE STATEMENT IS REJECTED. SPACE (&00).(&01) BELONGS TO A REPLICATION.

### Meaning

The space of a replication cannot be used as a foreign copy. Only
the copy of an original space can be used as a foreign copy.

## SEW57BG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57BG START POINT FOR RECOVER OR REFRESH IS NOT DEFINED IN THE FILE FOR SPACE (&00).(&01).

### Meaning

The start point for the recovery or refresh is not defined in the file.
The file is not created after prepare foreign copy or refresh in the
current SESAM version.

### Response

Repeat the statement with a correct backup file. RECOVER TO FOREIGN
COPY may be possible.

## SEW57B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B0 PRAGMA CHECK MISSING OR INVALID

### Meaning

(1) A table with the state "check pending" was read-accessed in an SQL
statement without PRAGMA CHECK OFF being specified in the SQL
statement.
(2) PRAGMA CHECK OFF was specified in an SQL statement to try to update
a table that does not have the state "check pending"

### Response

Update/add PRAGMA CHECK in/to the SQL statement, or start CHECK
CONSTRAINTS ON TABLE.

## SEW57B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B1 NO BACKUP POSSIBLE WHEN CHANGING FROM DAYLIGHT SAVING TIME TO STANDARD TIME

### Meaning

Because of the risk of ambiguity when specifying the save time it is not
possible to perform save runs when changing from daylight saving time to
standard time.

### Response

Perform the backup after the change has been completed.

## SEW57B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B2 COPY ADMINISTRATION BLOCK MISSING, REPLICATION (&00) NOT CREATED.

### Meaning

The backup was created with an older SESAM/SQL version and therefore
does not contain the copy administration block.

### Response

Delete the replication from the DBC.
If no backup exists:
- Create a backup with COPY CATALOG.
- Create a replication with the CAT-REC file created during backup.
Or create a replication with a suitable backup.

## SEW57B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B3 COPY ADMINISTRATION BLOCK IS EMPTY, REPLICATION (&00) NOT CREATED.

### Meaning

The backup was created with an older SESAM/SQL version.
The copy administration block in the catalog space is available but empty.

### Response

Delete the replication from the DBC.
If no backup exists:
- Create a backup with COPY CATALOG.
- Create a replication with the CAT-REC file created during backup.
Or create a replication with a suitable backup.

## SEW57B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B4 COPY ADMINISTRATION BLOCK NOT SUITABLE, REPLICATION (&00) NOT CREATED.

### Meaning

The backup was created with an older SESAM/SQL version.
The copy administration block cannot be processed.

### Response

Delete replication from DBC.
If no backup exists:
- Create a backup with COPY CATALOG.
- Create a replication with the CAT-REC file created during backup.
Or create a replication with a suitable backup.

## SEW57B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B5 CAT-REC FILE (&00) UNSUITABLE FOR CREATING REPLICATION

### Meaning

The specified CAT-REC file is unsuitable for creating a replication for
one of the following reasons:
- the CAT-REC file is empty,
- the CAT-REC file contains a replication information block,
- the CAT-REC file contains no record relating to a backup,
- the backup was not created using COPY CATALOG,
- the backup was not created with the appropriate version of COPY CATALOG.

### Response

If no backup exists:
- Create a backup with COPY CATALOG (using appropriate version).
- Create a replication with the CAT-REC file created during backup.
Or create a replication with a suitable backup.

## SEW57B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B6 SPACE (&00) IS NOT CONTAINED IN THE BACKUP; PARTIAL REPLICATION NOT CREATED.

### Meaning

The space is not contained in the backup because the backup was
created with EXCEPT NO LOG INDEX SPACE.

### Response

Do not specify the space for the partial replication.

## SEW57B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B7 THE LOGGING IS INTERRUPTED ON SPACE (&00).(&01)

### Meaning

The replication or the original together with the replication cannot be
updated because changes have been made to the space in the original, e.g.
LOAD OFFLINE, which interrupt logical logging.

### Response

The replication can be reduced by REFRESH FOR SPACE to the spaces which
are in the log. The original can be repaired first repairing the
catalog space and then the spaces which are in the log.

## SEW57B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B8 FOR SPACE (&00).(&01) THE START POINT WITH TIMESTAMP (&02) DOES NOT EXIST IN THE DA_LOGS TABLE OF THE CATALOG

### Meaning

- A replication cannot be updated,
- an original cannot be recovered using a replication,
- a space cannot be recovered using a foreign copy,
because the start point for the recovery of a space in the replication
or in the foreign copy has been deleted or modified in the metadata
of the catalog or is not yet entered in the metadata by refresh.

### Response

For REFRESH SPACE the replication possibly may be updated by REFRESH to
insert the DA_LOGS entry. If the entry is deleted in the original
catalog, the replication must be recreated. A recovery can be attempted
with a different backup, or recover to the status of the replication or
foreign copy can be executed.

## SEW57B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57B9 REPLICATION (&00) DEFECTIVE.

### Meaning

The last refresh procedure was abnormally terminated.
Refresh replication function cannot be repeated.

### Response

Create a new replication.

## SEW57CA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57CA THE CAT-REC FILE OF THE CATALOG (&00) IS NOT ACCESSABLE.

### Meaning

The CAT-REC file does not exist or an error occurred when accessing it.

## SEW57CB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57CB THE SPACE (&00).(&01) WAS RESET TO A STATE OLDER THAN REPRESENTED BY DA-LOG WITH TIMESTAMP (&02).

### Meaning

The DA-LOG represents the state already contained in the copy or
replication. The space was reset to an earlier state. Therefore recover
or refresh cannot be executed.

### Response

Recovery can be done with RECOVER TO. A replication can be be updated
by REFRESH SPACE.

## SEW57CC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57CC THE SPACE (&00).(&01) WAS RESET TO A STATE OLDER THAN REPRESENTED BY RECOVERY UNIT WITH TIMESTAMP (&02).

### Meaning

The recovery unit was deleted in the original by recover to an earlier
state than already contained in the copy or replication or was deleted
by modify.

## SEW57CD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57CD FOR THE CATALOG SPACE (&00).(&01) THE START POINT WITH TIMESTAMP (&02) DOES NOT EXIST IN THE CAT-LOG RECORDS

### Meaning

- A replication cannot be updated,
- an original cannot be recovered using a replication,
- a space cannot be recovered using a foreign copy,
because the start point for the recovery of the catalog space in the
replication or in the foreign copy has been deleted or modified in the
CAT-REC file or is not yet entered in the CAT-REC file by refresh.

### Response

The replication must be recreated.
You can attempt the recovery with a different backup, or recover
to the status of the replication or foreign copy.

## SEW57CE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57CE THE CAT-REC FILE (&00) IS OLDER THAN THE REPLICATION.

### Meaning

Recover catalog to replication was performed. In the current statement
a CAT-REC file is specified created before the recover.

## SEW57C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C1 THE STATEMENT IS REJECTED. SPACE (&00).(&01) BELONGS TO A BACKUP.

### Meaning

The statement is not permissible in conjunction with a backup.

## SEW57C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C2 CATALOG (&00) IS NOT IN THE STATE ACTIVE.

### Meaning

The catalog must be in the ACTIVE state in order to execute the
statement.

### Response

The administrator can handle the status using SET-SQL-DB-CATALOG-STATUS
command.

## SEW57C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C3 THE STATEMENT IS REJECTED; CATALOG (&00) IS A REPLICATION.

### Meaning

The statement is not permissible for a replication.

## SEW57C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C4 THE STATEMENT IS REJECTED; CATALOG (&00) IS A BACKUP INVENTORY.

### Meaning

The statement is not permissible for a backup inventory.

## SEW57C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C5 THE STATEMENT IS REJECTED. CATALOG (&00) IS NOT AN ORIGINAL.

### Meaning

The statement is permissible only for an original, not for
a backup copy or replication.

## SEW57C6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C6 THE SPACE (&00).(&01) IST NOT A REPLICATION SPACE

### Meaning

The space is not marked as a replication space

## SEW57C7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C7 THE WORKFILE HAS NOT THE BS2000 USERID (&00) OF THE SPACE

### Meaning

When RENAME is specified the workfile should have the same userid
as the space

## SEW57C8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C8 RENAME IS NOT POSSIBLE BECAUSE THE WORKFILE (&00) IS ON TAPE

## SEW57C9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW57C9 AT LEAST ONE REFERENCED OR REFERENCING TABLE IS IN "CHECK PENDING" STATE

### Meaning

At least one table in "check pending" state is referenced by the current
table or references the current table in a referential constraint.

### Response

Initiate CHECK CONSTRAINTS ON TABLE for the referenced table or
referencing table respectively and try again, or execute LOAD ONLINE
using parameter NO CONSTRAINT CHECK.

## SEW58UA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UA CAT-REC FILE (&00) IS INCONSISTENT

### Meaning

Possible reasons:
- Incorrect format of identification block of CAT-REC file.
- Mismatch between CAT-REC file and catalog space.

### Response

Supply a consistent CAT-REC file and repeat the statement.

## SEW58UB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UB EXCLUSIVE ACCESS TO CAT-REC FILE (&00) NOT POSSIBLE.

### Meaning

The CAT-REC file cannot be opened exclusively.

### Response

Set up the CAT-REC file for exclusive access and repeat the statement.

## SEW58UC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UC TOO FEW DESCRIPTION RECORDS IN TRANSFER FILE (&00)

### Meaning

A data record was read instead of the expected description record.

### Response

Recreate the transfer file and try again.

## SEW58UD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UD COLUMN NAME (&00) FROM DB SIB FILE (&01) VIOLATES RULES FOR COLUMN NAME OF TABLE.

### Meaning

A V1 database contains a column name that cannot be accepted as the
column name of a V2 table. It is not a syntactically correct name for a
column in a V2 table.

### Response

Rename the affected column with SESASB and then migrate.

## SEW58UE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UE CAT-REC FILE (&00) OF REPLICATION HAS NO REPLICATION INFORMATION.

### Meaning

The CAT-REC file has been read and found to contain no replication
information. It is not a CAT-REC file of a replication.

### Response

Repeat the statement with the correct CAT-REC file of the replication.

## SEW58UF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UF INCONSISTENCY IN THE REPLICATION FOR SPACE (&00).(&01)

### Meaning

On reading the CAT-REC file, it was found that the space information
in the replication is inconsistent. The replication cannot be used
for recovery.

### Response

The replication must be recreated

## SEW58UG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UG LOGGING IN REPLICATION IS NOT (NO LONGER) ACTIVE FOR SPACE (&00).(&01)

### Meaning

On reading the CAT-REC file, it was found that the space is not
in the log.

### Response

The original can be repaired first repairing the
catalog space and then the spaces which are in the log.

## SEW58UH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UH CONCURRENT REFRESH REPLICATION IS ACTIVE FOR REPLICATION (&00).

### Meaning

On reading the CAT-REC file, it was found that a REFRESH REPLICATION
is running concurrently or has not been terminated.

### Response

Terminate REFRESH REPLICATION and repeat the statement.

## SEW58UI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UI PK-SIB FILE (&00) IS DEFECTIVE. INTERNAL ERROR CODE: (&01)

### Meaning

The PK-SIB file is defective. The error type is output as an internal
error code for diagnostic purposes.

### Response

Recreate PK-SIB file and try again.

## SEW58UJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UJ CAT-REC FILE (&00) HAS SAME NAME AS CAT-REC FILE OF REPLICATION.

### Meaning

The CAT-REC file of the replication was specified for
RECOVER CATALOG ... USING REPLICATION.

### Response

The CAT-REC file of the original must be specified. It describes the
status of the original, which is to be reached by the recovery.

## SEW58UK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UK ENTRIES HAVE BEEN DELETED FROM THE CAT-REC FILE (&00). RECOVER CATALOG REQUIRED.

### Meaning

Entries have been deleted at the end of the CAT-REC file. This
is used reset a backup and must be completed by RECOVER CATALOG.
The catalog is locked for update.

### Response

If the DBH continues to run, set the catalog access rights to
CAT-ADMINISTRATION = Yes and execute the statement RECOVER CATALOG.
If the DBH has terminated, start the DBH with the option
LOG-FILE-OPEN = *ON-SPACE-UPDATE and execute the statement RECOVER
CATALOG. If a DBH restart has terminated, delete or rename the
catalog file, ignore the request for the catalog when the DBH starts
up and execute the statement RECOVER CATALOG.

## SEW58UL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UL META RECORD WITH WRONG LENGTH IN TRANSFER FILE (&00)

### Meaning

The transfer file is corrupt. The header record or a description
record has a wrong length.

### Response

Recreate the transfer file and try again.

## SEW58UM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UM RECOVER IMPOSSIBLE WITH SPECIFIED REPLICATION (&00).

### Meaning

Replication contains no valid space.

## SEW58UN

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UN INPUT ROW INCONSISTENT WITH NO OVERWRITE OPTION FOR LOAD OPERATION

### Meaning

NO OVERWRITE has been specified. The table already contains a row with
the same primary key value as the row to be loaded, and a value already
exists in the corresponding column of the existing row for at least one
value of the row to be loaded.

### Response

Modify input file accordingly or permit overwriting.

## SEW58UO

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UO INPUT FILE FOR LOAD OFFLINE HAS NOT BEEN SORTED ALTHOUGH SORTED WAS SPECIFIED

### Response

Sort the input file or load without specifying the SORTED parameter.

## SEW58UP

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UP THE FILENAME IN THE V1 LOG FILE IS DIFFERENT TO THE CURRENT FILENAME (&00), OR THE FILE TYPE IS NOT THE TYPE REQUIRED.

### Meaning

a) The name of the V1 database and the creation number of the log file
are contained in the ID block of the DB-SIB or PK-SIB file. This file
does not have standard name <V1-DB-name>.DB-SIB.<number> or
<V1-DB-name>.PK-SIB.<number>.
b) The file type is not the type that was requested in the statement
(PK-SIB or DB-SIB).

### Response

Give the file a standard name or specify a file of the correct type
(PK-SIB or DB-SIB).

## SEW58UQ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UQ DB-SIB FILE (&00) IS DEFECTIVE. INTERNAL ERROR CODE: (&01)

### Meaning

The DB-SIB file is defective. The error type is output as an internal
error code for diagnostic purposes.

### Response

Recreate DB-SIB file and try again.

## SEW58UR

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UR PARTIALLY RECOVERED SPACE (&00).(&01) NOT IN "RECOVER PENDING" STATE

### Response

Specify a space which meets the requirements for UNLOAD for recovery
purposes.

## SEW58US

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58US COPY FILE (&00) DEFECTIVE OR LOCKED

### Response

Specify a file which is in "ok" state.

## SEW58UT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UT FILE (&00) INCOMPLETE

### Meaning

EOF reported when reading a block.

### Response

Unload data from suitable backup file.

## SEW58UU

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UU NO COLUMNS DEFINED FOR TABLE (&00).(&01).(&02)

### Response

Correct table name.

## SEW58UV

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UV METAINFORMATION IN FILE (&00) INCOMPLETE

### Meaning

Block with continuation record missing; file is defective or is not a
backup file.

### Response

Unload data from suitable backup file.

## SEW58UW

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UW FILE (&00) HAS BLOCK WITH INVALID LENGTH

### Response

Unload data from suitable backup file.

## SEW58UX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UX FILE (&00) CONTAINS INCOMPLETE RECORD

### Meaning

Continuation record is missing.

### Response

Unload data from suitable backup file.

## SEW58UY

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UY FILE (&00) HAS INVALID CONTINUATION RECORDS

### Meaning

Error in record number in continuation record.

### Response

Unload data from suitable backup file.

## SEW58UZ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58UZ INVALID METADATA IN FILE (&00)

### Meaning

The file not a SESAM Space or the file contains no metadata, because it
is a catalog of an older SESAM version or the file is defective.

### Response

Unload data from suitable backup file.

## SEW58U0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U0 RECORD IN INPUT FILE (&00) TOO SHORT

### Meaning

The length of the SAM record is shorter than the length made necessary
by the position and length of the columns.

### Response

Specify record correctly and then incorporate it in the table.

## SEW58U1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U1 DATA TYPE FROM TRANSFER FILE (&00) IS ILLEGAL FOR COLUMN (&01).(&02).(&03). (&04).

### Meaning

The transfer file can only contain data types which can be processed
by SESAM/SQL

### Response

Create a new transfer file.

## SEW58U2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U2 DESCRIPTION RECORD FOR TRANSFER FILE (&00) DOES NOT HAVE THE RECORD ID "DE"

### Response

Recreate the transfer file and try again.

## SEW58U3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U3 HEADER RECORD OF TRANSFER FILE (&00) DOES NOT HAVE THE RECORD ID "HD".

### Response

Recreate the transfer file and try again.

## SEW58U4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U4 VERSION OF TRANSFER FILE (&00) CANNOT BE PROCESSED

### Response

Create transfer file with new version and try again.

## SEW58U5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U5 LENGTH AND DATA TYPE FOR COLUMN (&00).(&01).(&02).(&03) IN TRANSFER FILE (&04) DO NOT MATCH

### Response

Recreate transfer file and try again.

## SEW58U6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U6 FILE (&00) DOES NOT HAVE RECFORM=V

### Response

Create input file with RECFORM=V.

## SEW58U7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U7 RECSIZE OF FILE (&00) TOO SMALL

### Response

Specify input file with correct RECSIZE.

## SEW58U8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U8 TRANSFER FILE (&00) TOO SHORT

### Meaning

The end of the file was reached before all the description records had
been read.

### Response

Recreate the transfer file and try again.

## SEW58U9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58U9 NO RECORDS IN TRANSFER FILE (&00)

### Response

Recreate transfer file and try again.

## SEW58V0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V0 RECORDS CONTAINING META-INFORMATION IN THE FILE (&00) HAVE THE WRONG STRUCTURE

### Meaning

Record structure error: NOT NULL attribute missing or incorrect attribute
sequence.

### Response

Create the backup file again. If the error occurs again, send the backup
file for system diagnosis.

## SEW58V1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V1 META-INFORMATION TABLE FOR THE FILE (&00) IS CORRUPT.

### Response

Create the backup file again. If the error occurs again,
send the backup file for system diagnosis.

## SEW58V2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V2 INPUT FILE CONTAINS SEVERAL RECORDS WITH SAME PRIMARY KEY

### Response

Modify the input file accordingly.

## SEW58V3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V3 IN A RECORD OF THE INPUT FILE, THE PRIMARY KEY VALUE OR THE VALUE FOR A COLUMN BELONGING TO THE COMPOUND PRIMARY KEY IS NULL.

### Response

Correct the input file.

## SEW58V4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V4 THE RECORD OF THE INPUT FILE (&00) CONTAINS TOO FEW DELIMITERS

### Meaning

There are n columns to be input, but the record contains less than
n-1 delimiters. If this column is NULL, it has to be marked by an
other delimiter.

### Response

Correct the record and then enter it in the table.

## SEW58V5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V5 SPACE (&00).(&01) DOES NOT MATCH REPLICATION.

### Meaning

Internal consistency tests show that space (&00).(&01) does not match
the replication.

### Response

- Set up the correct space.
- Create a new replication.

## SEW58V6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V6 NO RECORDS OF THE INPUT FILE COULD BE LOADED IN TABLE (&00).(&01).(&02).

### Meaning

The input file specified for LOAD does not contain any correct records.
It was thus not possible to load any records.

### Response

Check the input file.

## SEW58V7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V7 CAT-REC FILE (&00) CONTAINS WRONG REPLICATION INFORMATION.

### Meaning

The replication information contains a wrong number of spaces or
forward chaining is invalid.

### Response

Set up the CAT-REC file with replication information and repeat
the statement.

## SEW58V8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW58V8 RECOVER CATALOG_SPACE IMPOSSIBLE WITH SPECIFIED REPLICATION (&00).

### Meaning

Replication contains no valid catalog space.

## SEW59AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59AA PRIMARY KEY VALUE BELOW LOWER LIMIT OF PARTITION

### Meaning

In a partitioned table the primary key value of a record is below
the lower limit of the current partition.

### Response

Recover space with RECOVER TO.

## SEW59AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59AB PRIMARY KEY VALUE ABOVE UPPER LIMIT OF PARTITION

### Meaning

In a partitioned table the primary key value of a record is above
the upper limit of the current partition.

### Response

Recover space with RECOVER TO.

## SEW59A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A0 BAN NOT IN ASCENDING ORDER

### Meaning

Space (&00).(&01) is defective because the BANs are not sorted in
ascending order.

### Response

Recover space with RECOVER.

## SEW59A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A1 INVALID BLOCK IDENTIFIER. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A2 ILLEGAL BLOCK LENGTH. (SPACE INVOLVED: (&00).(&01))

### Meaning

The block length is shorter than the block header or longer than the
maximum block length.

### Response

Recover space with RECOVER.

## SEW59A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A3 BLOCK EMPTY

### Meaning

The block length is the same as the length of the block header.
(Space involved: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A4 INVALID RECORD NUMBER. (SPACE INVOLVED: (&00).(&01))

### Meaning

Record number is zero.

### Response

Recover space with RECOVER.

## SEW59A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A5 INVALID RECORD LENGTH. (SPACE INVOLVED: (&00).(&01))

### Meaning

The record length is shorter than or equal to the length of the record
header. The record length is not equal to the sum of the lengths of the
partial records.

### Response

Recover space with RECOVER.

## SEW59A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A6 RECORD LONGER THAN PHYSICAL END-OF-BLOCK. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) The offset of record to beginning of record plus record length is
greater than the physical block length.
b) For records with a fixed length:
The sum of the record lengths calculated from the number of records
plus the length of the block header exceeds the physical block length.
c) For records with a fixed length:
The number of records is greater than the maximum number of records
possible for a block.

### Response

Recover space with RECOVER.

## SEW59A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A7 ILLEGAL RECORD SEQUENCE. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) A continuation record is located in the middle of the block.
b) The indicator for a continuation record has not been set in the
continuation record.
b) The indicator for a continuation record has been set for a record
which is not a continuation record.

### Response

Recover space with RECOVER.

## SEW59A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A8 NO PRIMARY KEY FOR ROW BELONGING TO TABLE WITH PRIMARY KEY. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59A9 PRIMARY KEYS NOT IN ASCENDING ORDER. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B0 FOR VARCHAR VALUE WITH ZDLV BLOCKS: ACCORDING TO ZD RECORD, TOTAL LENGTH OF VARCHAR VALUE DOES NOT MATCH THE SUM OF THE INDIVIDUAL LENGTHS OF THE PARTIAL VALUES STORED IN THE ZDLV BLOCKS. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B1 LENGTH OF ENTRY IN PARTIAL VARCHAR RECORD DOES NOT MATCH VARCHAR LENGTH. (SPACE INVOLVED: (&00).(&01))

### Meaning

The total length of the entry made for a VARCHAR value for which no ZDLV
block was used (<253 bytes) does not match the length of the VARCHAR value

### Response

Recover space with RECOVER.

## SEW59B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B2 NO COLUMN WITH THIS BAN IN TABLE. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B3 VALUE ENTERED IN COLUMN EXCEEDS PERMITTED LENGTH FOR THIS COLUMN. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B4 MAXIMUM NUMBER OF OCCURRENCES EXCEEDED. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B5 MAXIMUM BAN IN RECORD DOES NOT MATCH SPECIFICATION IN RECORD HEADER. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B6 SUM OF RECORD LENGTHS DOES NOT MATCH BLOCK LENGTH. (SPACE INVOLVED: (&00). (&01))

### Response

Recover space with RECOVER.

## SEW59B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B7 NO ZDLV BLOCK MAY EXIST FOR THIS VALUE. (SPACE INVOLVED: (&00).(&01))

### Meaning

The partial record for a VARCHAR value contains an indicator indicating
that ZDLV blocks exist, but the value is not long enough for a ZDLV block
to be created.

### Response

Recover space with RECOVER.

## SEW59B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B8 BLOCK LENGTH OF ZDLV BLOCK DOES NOT MATCH SPECIFICATION IN ZD RECORD. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59B9 INVALID ZDLV BLOCK SEQUENCE. (SPACE INVOLVED: (&00).(&01))

### Meaning

Chaining of the ZDLV blocks does not match the sequence of the ZDLV block
numbers in the ZD record.

### Response

Recover space with RECOVER.

## SEW59C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C1 INVALID FORWARD CHAINING. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C2 NUMBER OF RECORDS ACCORDING TO INTERNAL DATA STRUCTURE NOT COMPATIBLE WITH ACTUAL NUMBER OF RECORDS (AFFECTED SPACE: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C3 RECORD MARKED AS DUPLICATE ACCORDING TO INTERNAL INDICATOR (SPACE CONCERNED (&00).(&01))

### Response

Recover space using RECOVER.

## SEW59C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C4 ERROR IN BLOCK HEADER. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) Forward chaining is block number 0.
b) If the table ID is relevant: table ID is invalid.
c) Block length is either shorter than the length of the block header
or longer than the logical block length.
d) According to the block header, the block number is not the same
as the real block number (i.e. the block number to be read).
e) Block identifier is not the expected identifier.

### Response

Recover space with RECOVER.

## SEW59C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C5 INVALID REFERENCE TO BLOCK NUMBER. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) A block entry includes a reference to block number 0.
b) The block number in the entry in the PSI0 block is not the same as
the block number in the corresponding ZD block.
c) According to the PSI(i+1) block, the block number is not the same as
the block number of the PSI(i) block.
d) The block number of next entry in the PST(i+1) block does not match
the corresponding chaining of the PSI(i) blocks.
e) The block number is not within the valid range of values (# < 1 OR
# > max. value from FTAB). Applies to the block number of the successor
block in the block or of a ZDLV block from a VARCHAR column.

### Response

Recover space with RECOVER.

## SEW59C6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C6 CHAINING INVALID ACCORDING TO INDEX BLOCK. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) Forward chaining in the PSI(i) block is the end-of-chain but there
are still entries in the PSI(i+1) block.
b) Forward chaining in the PST0 block is the end-of-chain but there
are still records in the ZDR block.
c) There are more entries in the PSI0 block but no corresponding ZD
records.
d) Forward chaining in the PST0 block is not the end-of-chain but there
are no records in the ZDR block.

### Response

Recover space with RECOVER.

## SEW59C7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C7 PRIMARY KEY OF A RECORD MISSING IN INTERNAL DATA STRUCTURE (AFFECTED SPACE: (&00).(&01))

### Meaning

The PSI anchor block is empty, but there is at least one ZD block with
a record that has a primary key.

### Response

Recover space with RECOVER.

## SEW59C8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C8 INTERNAL TABLE INCONSISTENT WITH PRIMARY KEY (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59C9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59C9 PRIMARY KEY FOR INDEX INCONSISTENT. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) The primary key in the ZD block does not match the primary key in the
PSI0 block.
b) The primary key in the PSI(i) block does not match the primary key in
the PSI(i+1) block.

### Response

Recover space with RECOVER.

## SEW59DA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59DA COLUMN VALUE DOES NOT MATCH SYSTEM RECORD. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59DB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59DB INVALID RECORD FLAG FOR INDEX. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59DC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59DC INDEX NOT UNIQUE. (SPACE INVOLVED: (&00).(&01))

### Meaning

Several record numbers exist for a UNIQUE index.

### Response

Recover space with RECOVER.

## SEW59DD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59DD INVALID SYSTEM RECORD. (SPACE INVOLVED: (&00).(&01))

### Meaning

System record does not consist of X'FF'.

### Response

Recover space with RECOVER.

## SEW59DE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59DE INDEX RECORD OR INDEX REMAINDER RECORD HAS ODD RECORD LENGTH. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59DF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59DF INDEX OF RECORD NUMBERS IS NOT IN ASCENDING ORDER (SPACE INVOLVED: (&00). (&01))

### Response

Recover space with RECOVER.

## SEW59D0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D0 INVALID PRIMARY KEY LENGTH FOR INDEX (SPACE INVOLVED: (&00).(&01))

### Meaning

The length of the primary key value in the PSI(i) block does not
correspond to the length in the entry in the PSI(i+1) block or the ZD
block.

### Response

Recover space with RECOVER.

## SEW59D1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D1 INFORMATION ON PRIMARY KEY IN INTERNAL TABLE INCONSISTENT (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59D2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D2 INFORMATION ON TABLE IN INTERNAL TABLE INCONSISTENT (SPACE INVOLVED: (&00). (&01))

### Response

Recover space with RECOVER.

## SEW59D3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D3 INFORMATION ON ROW NUMBERS AND BLOCKS INCONSISTENT (SPACE INVOLVED: (&00). (&01))

### Response

Recover space with RECOVER.

## SEW59D4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D4 THERE IS INTERNAL INFORMATION ON A RECORD THAT DOES NOT EXIST IN THE ZD BLOCK (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59D5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D5 RECORD WITH INVALID RECORD NUMBER. (SPACE INVOLVED: (&00).(&01))

### Meaning

a) The record number is 0.
b) The record number is greater than the highest record number for this
table.

### Response

Recover space with RECOVER.

## SEW59D6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D6 INTERNAL INFORMATION ON INDEX INCONSISTENT (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59D7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D7 NO ENTRY FOR INDEX BLOCK. (SPACE INVOLVED: (&00).(&01))

### Meaning

Index block does not contain any entries although an SI length has been
entered in the block header of the index block.

### Response

Recover space with RECOVER.

## SEW59D8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D8 RECORD NUMBERS IN INDEX NOT IN ASCENDING ORDER. (SPACE INVOLVED: (&00). (&01))

### Response

Recover space with RECOVER.

## SEW59D9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59D9 COLUMN VALUES IN INDEX NOT IN ASCENDING ORDER. (SPACE INVOLVED: (&00). (&01))

### Response

Recover space with RECOVER.

## SEW59E1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59E1 NUMBER OF RECORDS IS GREATER THAN THE MAXIMUM RECORD NUMBER. (SPACE INVOLVED: (&00).(&01))

### Meaning

The number of records of a table is greater than the maximum
record number.

### Response

Recover space with RECOVER.

## SEW59E2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59E2 A RECORD NUMBER EXISTS MORE THAN ONCE. (SPACE INVOLVED: (&00).(&01))

### Meaning

The same record number exists in several records of a table
or the same record number exists more than once as a free record number.

### Response

Recover space with RECOVER.

## SEW59E3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59E3 MAXIMUM RECORD NUMBER OF A PARTITION IS NOT IN THE VALID RANGE OF RECORD NUMBERS. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59E4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59E4 VERWEIS AUF INDEXWERT DER NIEDRIGEREN SIS STUFE IST FALSCH. POINTER TO INDEX VALUE IN LOWER SIS LEVEL IS WRONG. (SPACE INVOLVED: (&00).(&01))

### Response

Recover space with RECOVER.

## SEW59FA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59FA ERROR IN INDEX OF BLOCK NUMBERS.

### Meaning

CHECK FORMAL found at least one error in a table of the space. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59FB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59FB NUMBER OF FREE BLOCKS IS WRONG.

### Meaning

CHECK FORMAL found at least one error in a table of the space. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F0 THE SPACE (&00).(&01) IS DEFECTIVE.

### Meaning

CHECK FORMAL found at least one error in a table of the space. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F1 THE INDEX (&00).(&01).(&02) IS DEFECTIVE.

### Meaning

CHECK FORMAL found at least one error. The error information is registered
in the exception file. The index further will be ignored in the
processing.

### Response

Perform a RECOVER INDEX statement

## SEW59F2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F2 WRONG TABLE ID FOUND IN A BLOCK HEADER OF SPACE (&00).(&01)

### Meaning

This is an information in the exception file created by CHECK FORMAL

### Response

Recovery is necessary

## SEW59F3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F3 THERE ARE DEFECTIVE INDEXES ON THE SPACE (&00).(&01)

### Meaning

CHECK FORMAL found errors. The error information is registered
in the exception file. In some cases a service task dump was taken.
The indexes further will be ignored in the processing.

### Response

Perform a RECOVER INDEX statement

## SEW59F4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F4 THE TABLE (&00).(&01).(&02) IS DEFECTIVE.

### Meaning

CHECK FORMAL found at least one error in the table. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F5 ERROR IN ENTRY OF BLOCK NUMBERS.

### Meaning

CHECK FORMAL found at least one error in the table. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F6 ERROR IN AN ENTRY OF BLOCK NUMBERS.

### Meaning

CHECK FORMAL found at least one error in the table. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F7 BLOCK NUMBER OCCURS TWICE.

### Meaning

CHECK FORMAL found at least one error in the table. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F8 BLOCK LENGTH IS WRONG.

### Meaning

CHECK FORMAL found at least one error in the table. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW59F9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW59F9 BLOCK NUMBER NOT IN ADMISSIBLE RANGE.

### Meaning

CHECK FORMAL found at least one error in the table. The error
information is registered in the exception file. In some cases a service
task dump was taken. The space no more can be processed if NO ACTION was
not specified.

### Response

Perform a RECOVER SPACE statement

## SEW81AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AA SQL STATEMENT NOT PERMITTED IN THE FIRST PART OF THE SIGN-ON CONVERSATION WITH UTMVG=NO.

### Meaning

An SQL statement was issued in the first part of a sign-on conversation.
The start parameter "UTMVG=YES" was not specified in the UTM application.
SESAM/SQL only supports calls from the first part of the sign-on
conversation in conjunction with the start parameter "UTMVG=YES".

### Response

Set the start parameter UTMVG=YES or modify the UTM application.

## SEW81AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AB OPERATING SYSTEM COMPONENT FOR INTERTASK COMMUNICATION NOT GENERATED. SESAM/SQL NOT EXECUTABLE

### Response

Restart BS2000 with appropriate generation.

## SEW81AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AC SPACE (&00).(&01) CANNOT BE PROCESSED DUE TO INCORRECT SESAM VERSION

### Meaning

The version number in the space control block does not correspond to
the version of the SESAM DBH or is unknown in this SESAM version.

### Response

Check the space version and version of the SESAM DBH.

## SEW81AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AD UNABLE TO PERFORM MIGRATION OF SPACE (&00).(&01) TO CURRENT SESAM/SQL VERSION

### Meaning

Possible causes:
- Catalog is not entered in SQL database catalog with access right
CAT-ADMINISTRATION=*YES.
- The current space state does not permit migration.
- The space is a replication.

### Response

- Set access rights of the catalog in the SQL database catalog to
CAT-ADMINISTRATION=*YES.
- Check the status of the space. Close space properly in previous version.
- Recreate a replication in current version.

## SEW81AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AE DUE TO AN INCOMPLETE UTILITY STATEMENT FOR A TABLE OF SPACE (&00).(&01), NO CHANGES CAN BE MADE TO THE SPACE AND THE TABLE CANNOT BE READ.

### Meaning

A base table is being accessed while a utility statement
(LOAD OFFLINE, IMPORT TABLE, ALTER PARTITIONING or ALTER DATA)
is running for this table or a utility statement is aborted.

### Response

Wait until the utility statement has been finished.
If the utility statement has been aborted,
RECOVER is needed on the space.

## SEW81AF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AF CATALOG (&00) IS IN STATE "COPY PENDING" FOLLOWING MIGRATION TO CURRENT SESAM/SQL VERSION

### Meaning

A space in a catalog cannot be accessed because the catalog is
in the state "copy pending" after migration.
You must use COPY CATALOG ... OFFLINE for first access to the catalog
in the current version.

### Response

Use COPY CATALOG ... OFFLINE to produce a backup copy of the entire
catalog.

## SEW81AG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AG AT LEAST ONE TABLE ON SPACE (&00).(&01) DEFECTIVE; STATEMENT REJECTED

### Meaning

The statement can only be executed if not a single table on the space is
defective.

### Response

Initiate recovery of space.

## SEW81AH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AH TOO MANY SPACES IN CATALOG (&00).(&01)

### Meaning

The catalog contains at least one user space with a space ID greater
than 200. It cannot be processed in SESAM/SQL V3.2.

### Response

Drop spaces with IDs greater than 200 before migrating from
SESAM/SQL V4.0.

## SEW81AI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AI NO PARTITION OF TABLE (&00).(&01).(&02) AVAILABLE

### Meaning

When accessing a partitioned table, no partition could be opened
successfully.

### Response

Ask the administrator whether a RECOVER is necessary.

## SEW81AJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AJ PARTITION OF TABLE (&00).(&01).(&02) NOT AVAILABLE

### Meaning

The statement cannot be executed as a partition of the table involved
cannot be accessed.

### Response

Ask the administrator whether a RECOVER is necessary.

## SEW81AK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AK PARTITION ON SPACE (&00) NOT AVAILABLE

### Meaning

The statement cannot be executed completely as on a space a partition of
the table involved cannot be accessed.

### Response

Ask the administrator whether a RECOVER is necessary.

## SEW81AL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AL CATALOG (&00) PHYSICALLY CLOSED BY ADMINISTRATION CALL

### Meaning

The statement cannot be executed since the catalog was physically
closed by the administration call PREPARE-FOREIGN-COPY.

### Response

Ask the administrator to reopen the catalog physically using
the administration call END-FOREIGN-COPY, or to set the status
of the catalog to FREE using SET-SQL-DB-CATALOG-STATUS.

## SEW81AT

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81AT AUTONOMOUS TRANSACTION FAILED (REASON: (&00)).

### Meaning

The autonomous transaction was reset because of
the specified error.

### Response

Depending on the specified error change the application
or repeat the statement.

## SEW81A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A0 SPACE (&00).(&01) IS INCONSISTENT OR DOES NOT MATCH THE CATALOG

### Meaning

Possible causes:
- The time of last update stored in the space does not match
the specifications in the catalog.
- The update timestamp in the catalog does not match the CAT-REC file.
- The space is an inconsistent copy that has not been produced by SESAM.

### Response

Ask the administrator whether a RECOVER is necessary for the space.

## SEW81A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A1 LAST TRANSACTION IN CURRENT SQL SESSION STILL IN (INTERNAL) "PREPARED TO COMMIT" STATE

### Meaning

The last transaction in the current SQL session is still in the (internal)
"PREPARED TO COMMIT" state. The current SQL statement cannot be processed
until this transaction has been terminated.

### Response

Ensure that synchronization with a (remote) DCN is performed or terminate
or roll back transaction with an administration call.

## SEW81A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A2 SQL STATEMENT ABORTED BECAUSE OF 'CANCEL' ADMINISTRATION CALL OR 'ABORT-EXECUTION' OPTION

### Meaning

The SQL statement was aborted because of a CANCEL, INTR call or
ABORT-EXECUTION.

### Response

Repeat the SQL statement or contact the administrator.

## SEW81A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A3 SQL STATEMENT ABORTED BECAUSE OF SORT ERROR

### Response

Save service task dump and submit it to diagnostics staff.

## SEW81A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A4 SQL STATEMENT ABORTED BECAUSE OF ERROR WHEN OPENING SPACE (&00).(&01)

### Meaning

One of the following error situations arose when the space was opened:
- File does not exist on a local pubset
- DMS error occurred when opening the file
- File cataloged under more than one BS2000 catalog ID
- Space defective

### Response

Ask administrator whether RECOVER on space is necessary.

## SEW81A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A5 SQL STATEMENT ABORTED DUE TO CONFLICT WITH A CALL DML OPEN

### Meaning

No (table) access is possible because of an existing CALL DML open.

### Response

Repeat SQL statement later.

## SEW81A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A6 SPACE (&00).(&01) TEMPORARILY LOCKED BY ADMINISTRATION CALL

### Response

Repeat SQL statement after consulting with administrator.

## SEW81A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A7 SPACE (&00).(&01) CANNOT BE PROCESSED BECAUSE OF AN ERROR IN SPACE CONTROL BLOCK.

### Meaning

Possible causes:
- The space control block of the space being accessed is errored.
- The space control block does not correspond to the specified
catalog type. A catalog created with CREATE REPLICATION or
COPY CATALOG has been added to the SQL-DATABASE-CATALOG
without defining this catalog as replication or copy.

### Response

- Initiate recovery of space.
- Check the DBH option ADD-SQL-DATABASE-CATALOG.
Add replication or backup catalog with correct options.

## SEW81A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A8 TABLE ON SPACE (&00).(&01) DEFECTIVE; ACCESS NOT POSSIBLE

### Response

Initiate recovery of space.

## SEW81A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81A9 SPACE (&00).(&01) INCONSISTENT BECAUSE OF MISSING TA RESTART

### Meaning

Space was not closed properly in the previous DBH session, possibly
since a recover statement terminated abnormally.

### Response

Perform TA restart or initiate recovery of space.
If RECOVER CATALOG TO ANY TIMESTAMP terminated abnormally, RECOVER
has to be repeated with identical or older timestamp.
For replications create a new replication.

## SEW81BA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BA UPDATE NOT POSSIBLE WITH BACKUP OR REPLICATION (&00)

### Meaning

The statement is not permissible for a backup or replication.

## SEW81BB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BB UNABLE TO START THE LINKED-IN DBH DUE TO AN ERROR DURING INITIALIZATION OF THE DBH SESSION

### Meaning

Initialization of the DBH session aborted on account of an error.

### Response

Save the error documentation (dump and runtime log) and submit to service
department.

## SEW81BC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BC UTILITY STATEMENT ABORTED DUE TO COMPETING STATEMENT

### Meaning

The utility statement has become stuck with another utility,
DDL, administration statement or PTC transaction and was
therefore aborted.

### Response

Restart the statement and check other active users with
administration if necessary.

## SEW81BD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BD UTILITY STATEMENT ABORTED DUE TO AN INTERNAL SYSTEM ERROR

### Meaning

An internal system occurred during processing of the utility
statement, e.g. Consistency Check. Processing was therefore
aborted.

### Response

Restart the statement and submit the dump to the diagnosis
department as appropriate.

## SEW81BE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BE DATA FOR BACKUP COPY OF SPACE (&00).(&01) ARE INCONSISTENT

### Meaning

Possible causes:
- The space is not accepted within a backup copy
because internal copy displays are missing in the
Space-Control-Block.
- The space was provided as the original space but is marked
internally as a backup copy.
- The space is not contained in the backup because the backup was
created with EXCEPT NO LOG INDEX SPACE.
- A RECOVER statement terminated abnormally.

### Response

- Check the file and provide the correct space.
- Ask the administrator whether a RECOVER is necessary for the
space or the catalog.
- If the cause was the abortion of RECOVER CATALOG TO ANY TIMESTAMP,
RECOVER has to be repeated with identical or older timestamp.

## SEW81BF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BF SPACE (&00).(&01) IS IN THE STATE "REFRESH RUNNING"

### Meaning

The space cannot be accessed because a parallel
REFRESH REPLICATION is still active for this space or the last
refresh procedure was abnormally terminated.

### Response

Complete REFRESH REPLICATION. Then reattempt access.
If the last refresh procedure was abnormally terminated,
create a new replication.

## SEW81BG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81BG RECORD NOT ACCESSIBLE BECAUSE OF CONCURRENT STATEMENT

### Meaning

Record locked by a concurrent statement. Waiting not allowed
because of consistency level 1 (set by SET statement or by
Pragma)

## SEW81B0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B0 THE METADATA OF CATALOG (&00) CANNOT BE UPDATED AT PRESENT

### Meaning

A DDL/SSL/utility statement causes changes to be made to the catalog.
At present no changes are permitted.

### Response

Notify the administrator so that either "ADMIN-ACCESS" is permitted
again or space is made available for updating the CAT-LOG file.

## SEW81B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B1 UPDATE OF USER DATA IN CATALOG (&00) CURRENTLY NOT POSSIBLE

### Response

Inform the administrator so that either "WRITE-ACCESS" is again permitted
or space for continuing the DA LOG file is made available.

## SEW81B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B2 SPACE (&00).(&01) CURRENTLY LOCKED DUE TO DDL OR UTILITY STATEMENT, OR STATEMENT SEQUENCE

### Meaning

Another user has started a DDL statement accessing this space although the
transaction has not been terminated, or another user has started a utility
accessing this space although
a) the utility is still executing
b) the space has been locked by the utility.
As long as the space is locked, it can only be processed exclusively by
the user. Another user cannot start processing the space until it has
reached the ok state, or until the other user becomes the owner of the
lock.

### Response

Determine the locking user with the USER,SPACE administration command.
a) The system user is still known to the DBH, and is still active or
active again: Repeat the SQL statement later.
b) The user is not known to the DBH or no longer active:
Enter a utility to obtain an exclusive lock for the space. Depending
on the status of the space, repeat the SQL statement, or process the
space with the appropriate utility.

## SEW81B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B3 SWITCHING BETWEEN CALL DML AND SQL STATEMENTS OR VICE VERSA IS NOT PERMITTED WITHIN A TRANSACTION

### Response

Modify application program accordingly.

## SEW81B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B4 LINKED-IN DBH CANNOT BE STARTED BECAUSE OF ERROR IN CONFIGURATION FILE.

### Response

Check the configuration file and modify accordingly.

## SEW81B5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B5 DBH OR DCN NOT LOADED

### Meaning

The referenced DBH or the DCN via which the DBH is accessed is not loaded.

### Response

Start DBH or DCN.

## SEW81B6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B6 INVALID COMBINATION OF ASYNCHRONOUS CALL DML AND SQL STATEMENTS

### Meaning

An SQL statement was issued although the response to a CALL DML statement
initiated with SESPUT has not yet been fetched with SESGET(W).

### Response

Modify application program accordingly.

## SEW81B7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B7 INVALID COMBINATION OF ADMINISTRATION STATEMENTS (CALL DML) AND SQL STATEMENTS

### Meaning

An SQL statement was issued although a CALL DML administrator open is
still in effect.

### Response

Modify application program accordingly.

## SEW81B8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B8 SQL STATEMENT NOT PERMITTED OUTSIDE OF UTM TRANSACTION

### Meaning

An SQL statement has been issued outside of a UTM transaction in a UTM
application (e.g. conversation exit).

### Response

Modify application program accordingly.

## SEW81B9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81B9 CONVERSATION STACKING NOT PERMITTED

### Meaning

The UTM application uses conversation stacking although 'UTMVG=YES' was
not specified in the start parameters.

### Response

Modify the start parameters or the UTM application.

## SEW81CA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CA SQL DATABASE CATALOG CANNOT CURRENTLY BE ACCESSED

### Meaning

The SQL database catalog is currently being accessed and therefore cannot
be updated.

### Response

If necessary, repeat SQL statement.

## SEW81CB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CB SESDLG NOT FOUND

### Meaning

The SESDLG file was deleted.

### Response

Check SESDCN and start application program again.

## SEW81CC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CC DBH DOES NOT SUPPORT ICSQL VERSION OF APPLICATION PROGRAM

### Meaning

The DBH does not support the ICSQL version of the application program.

### Response

Check versions of the SESAM libraries used in the application program and
in the DBH. Terminate application program or DBH and start again using
appropriate SESAM library.

## SEW81CD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CD NOT POSSIBLE TO REORGANIZE SPACE (&00).(&01) WITH NEW ROW_IDS PARAMETER BECAUSE A REPLICATION IS INVOLVED.

### Meaning

It is only possible to reorganize a space of a replication using the
OLD ROW_IDS parameter.

### Response

Correct the statement.

## SEW81CE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CE THE REQUESTED FUNCTION IS NOT SUPPORTED IN THE CURRENT HARDWARE ENVIRONMENT.

### Meaning

The release unit SYSLNK.SES-SQL-LK.xxx is not available for this
hardware.

### Response

Link the application with the connection module SESMOD instead
of SESLINK.

## SEW81CF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CF REPLICATION SPACE (&00).(&01) IS INCONSISTENT OR DOES NOT MATCH THE CATALOG

### Meaning

Possible causes:
The time of the last refresh stored in the space does not match
the specifications in the replication-info-block of the replication
CAT-REC file.

### Response

Create a new replication or update it with REFRESH SPACE

## SEW81CG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CG DBCON CANNOT BE INITIALIZED BECAUSE THE VIRTUAL HOST IS NOT ACTIVE.

### Meaning

The DCAM application (&00) is assigned to a virtual host in the
file $TSOS.SYSDAT.BCAM.APPLICATIONS. The virtual host is not active.

### Response

Check why the virtual host is not active and activate it. Start
task again or start task on the machine where the virtual host
is active.

## SEW81CH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81CH ERROR WHEN ACCESSING REPLICATION CAT-REC FILE OF REPLICATION CATALOG (&00).

### Meaning

The replication CAT-REC file could not be accessed because of a dms error.

### Response

Check the replication

## SEW81C0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C0 ERROR WHEN ACCESSING CONFIGURATION FILE OF APPLICATION PROGRAM

### Meaning

The allocated configuration file could not be accessed. An invalid
allocation may have been specified.

### Response

Modify the configuration file allocation.

## SEW81C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C1 SYNTAX ERROR IN CONFIGURATION FILE OF APPLICATION PROGRAM

### Meaning

The configuration file allocated to the application program contains
syntax errors.

### Response

Modify the configuration file accordingly.

## SEW81C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C2 ASYNCHRONOUS SESAM/SQL CALL FROM STXIT OR CONTINGENCY

### Meaning

An SQL statement was issued although processing of the last statement has
not yet been completed. Thus the call is issued from a STXIT or
contingency.

## SEW81C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C3 ERROR ON DYNAMIC RELOADING OF SYSTEM COMPONENTS

### Meaning

Subcomponents could not be loaded from the SESAM/SQL
module library.

### Response

Check the completeness of the SESAM/SQL module library, or correct
the assignment of the SESAM/SQL library, or increase the upper limit
for virtual memory in the join file if components could not be loaded
due to a lack of memory space.

## SEW81C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C4 ERROR DURING DYNAMIC LOADING OF SYSTEM COMPONENTS

### Meaning

Subcomponents of DBCON could not be loaded from the SESAM/SQL module
library.

### Response

Check that the SESAM/SQL module library is complete. Increase the upper
limit for virtual memory in the join file if the components could not be
dynamically loaded because of a lack of memory.

## SEW81C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C5 CALL AFTER SYSTEM ERROR

### Meaning

An SQL statement was issued after a system error or other error occurred.
This error means that it is not possible to continue working with
SESAM/SQL in this task.

### Response

Evaluate the original error situation. To continue work with SESAM/SQL,
terminate and restart the application program.

## SEW81C6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C6 DBH DOES NOT SUPPORT SQL STATEMENTS.

### Meaning

The DBH was loaded without the option SQL.

### Response

Start the DBH with the option SQL.

## SEW81C7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C7 NO NEW USERS PERMITTED

### Meaning

At the moment, no new users can execute database calls because of
administrator intervention.

### Response

Wait until the administrator again permits new users, and then repeat the
SQL statement.

## SEW81C8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C8 ILLEGAL COMBINATION OF CALL DML AND SQL STATEMENTS

### Meaning

An SQL statement was issued, even though CALL DML statements have already
been issued in this linked-in task.

### Response

Change the application program.

## SEW81C9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81C9 EXCLUSIVE UPDATE RESTRICTION FOR EXTERNAL LOGICAL FILE

### Meaning

The SQL statement was not executed because of an exclusive external
update restriction.

### Response

If necessary, repeat SQL statement.

## SEW81DA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81DA THE USED SESAM MODULE LIBRARY DOES NOT SUPPORT THIS HARDWARE.

### Meaning

The release item SYSLNK.SESAM-SQL.xxx does not support SX hardware.

### Response

Assign SESAM module library SPULNK.SESAM-SQL.xxx with linkname
SESAMOML and start the program again.

## SEW81DB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81DB NAME OF SPECIFIED CAT-REC FILE (&00) TOO LONG.

### Meaning

Name of specified CAT-REC file incorrect.

### Response

Repeat the statement and specify the correct CAT-REC file.

## SEW81D0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D0 USE OF TIAM AND UTM INTERFACE IN ONE TASK

### Meaning

In a UTM application, an SQL statement was issued via the TIAM interface
although the UTM interface for SESAM/SQL was generated in this UTM
application.

### Response

Link the UTM application again. The TIAM connection module SESMOD must not
be linked to the UTM application.

## SEW81D1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D1 MODULE NAME (&00) USED FOR TWO SQL MODULES IN APPLICATION

### Meaning

The SQL modules in an application must have different names.

### Response

Repeat the precompilation of the application programs in this application
using different names for the SQL modules.

## SEW81D2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D2 UTILITY STATEMENT ABORTED AS A RESULT OF CONCURRENT UTILITY STATEMENT, DDL OR CONSISTENCY CHECK PROCESSING

### Meaning

The utility statement was aborted as a result of concurrent utility
statement, ddl or consistency check processing.

### Response

Repeat the SQL statement if necessary or consult the administrator.

## SEW81D3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D3 CATALOG (&00) NOT LOCATED IN THE DBH USER ID AND COPY WITH ARCHIVE AS SUBROUTINE SHOULD BE EXECUTED.

### Meaning

COPY with ARCHIVE as subroutine is only possible if
the catalog is located in the same BS2000 user ID as the DBH runs.

### Response

Put the catalog in the BS2000 user ID of the DBH or
start the DBH in the BS2000 user ID where the catalog is located.

## SEW81D4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D4 FILE (&00) ALREADY OPEN.

### Meaning

A file cannot be opened because it is already processed by another user.

### Response

Try to close the open file and to open it again later.

## SEW81D5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D5 DDL TRANSACTION MAY ONLY BE PARTIALLY COMPLETED DUE TO DBH FAILURE UPON COMMIT WORK

### Meaning

The failure of the DBH may be due to one of the following two conditions:
- the DDL transaction has been completely rolled back, or
- the updates have been completely committed to the catalog, but the
associated BS2000 file commands have only been partially executed.

### Response

Check the entries in the SPACES relation of the INFORMATION_SCHEMA in the
catalog.

## SEW81D6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D6 FILE (&00) HAS ALREADY BEEN OPENED BY ANOTHER DBH.

### Meaning

A database file (e.g. catalog space, CAT-REC file) cannot be
opened because it is already being used by another DBH.

## SEW81D7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D7 FILE (&00) IS NOT CLOSED BUT ITS CATID IS TO BE REMOVED.

### Meaning

The catid of file (&00) is no longer contained in the new catid file,
but the file is still open in the DBH.

### Response

Before a catid can be removed from the list, all files with this catid
must be closed.

## SEW81D8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D8 THE REPLICATION (&00) HAS AN OTHER BS2000 USERID AS THE CATALOG

### Meaning

When RENAME is specified, the replication should have the same userid as
the catalog

### Response

Use COPY when the userids are different.

## SEW81D9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81D9 THE SPECIFIED CAT-REC FILE (&00) CANNOT BE PROCESSED DUE TO INCORRECT SESAM VERSION.

### Meaning

The version number in the replication-info-block of the replication
CAT-REC file does not correspond to the the version of the SESAM DBH.

### Response

Check CAT-REC file version and version of the SESAM DBH.

## SEW81P0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81P0 VERSIONS OF APPLICATION PROGRAM AND SQL OBJECT MODULE (&00) ARE DIFFERENT

### Meaning

During SQL precompilation, an SQL object module is created and a source
program from which a compiler generates other object modules. During
execution of SQL statements, the system checks whether these object
modules are linked to the SQL object module from the same SQL precompiler
run; they can only be executed together with this SQL object module.

### Response

Link in the correct SQL object module. If necessary, precompile the
application programs again and recompile all generated source programs;
link the resulting object modules.

## SEW81P1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81P1 SQL OBJECT MODULES USED BY APPLICATION PROGRAM NOT COMPATIBLE WITH SQL RTS

### Meaning

During SQL precompilation, a SQL object module is created in which the
SQL statements are stored in an internal code. When these statements were
executed, the system discovered that the version of the internal coding
cannot be processed by the SQL RTS used.

### Response

- Use a compatible version of the SQL RTS, or
- create the SQL object modules again with the SQL RTS used.

## SEW81P2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81P2 CONVERSATION ROLLED BACK BECAUSE THE SQL SESSION IS NO LONGER RECOGNIZED

### Meaning

The SQL session is no longer known to the DBH, either because the
permitted inactivity time has been exceeded or because the connection
has been lost temporarily or because of an administration operation.

### Response

Restore the cursor positions as required.

## SEW81P3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81P3 SQL STATEMENT REJECTED BECAUSE OF INTR HOLD

### Meaning

The SQL statement could not be executed because of an INTR HOLD.

### Response

Repeat the SQL statement.

## SEW81S0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S0 SERVICE TASK TSN (&00) TERMINATED ABNORMALLY

### Meaning

The service task with the TSN (&00) was terminated abnormally because it
was canceled, or the CPU time was exceeded, or a consistency check
occurred. Also refer to the SYSLST and SYSOUT files of the service task.

### Response

If the service task was terminated with dump, submit the dump to SESAM
diagnostics. Otherwise, repeat the SQL statement.

## SEW81S1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S1 ERROR OCCURRED WHEN DYNAMICALLY LOADING MODULE (&00) IN SERVICE TASK TSN (&01)

### Meaning

A link error occurred when dynamically loading module (&00) in the service
task with the TSN (&01).

### Response

Check if the module has been entered in the SESAM module library and enter
it if necessary.

## SEW81S2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S2 FORMAT OF MODULE SESFS32 INVALID

### Meaning

The module SESFS32 used for the modification of the collating sequence
(NEWCOL) does not have the required format.

### Response

Correct the source of SESFS32, translate the module and enter it in the
SESAM module library. Then repeat the SQL statement.

## SEW81S3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S3 INTERNAL SORTING ERROR IN SERVICE TASK TSN (&00)

### Meaning

An internal error occurred during a sort operation in the service task
with the TSN (&00). Also refer to the SYSLST and SYSOUT files of the
service task.

### Response

If the error cannot be remedied, submit dump to diagnostics.

## SEW81S4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S4 DMS ERROR (&00) OCCURRED WHEN PROCESSING FILE (&01) IN SERVICE TASK TSN (&02)

### Meaning

The DMS error (&00) occurred during a sort operation in the service task
with the TSN (&02) while processing the file (&01).

### Response

Correct the DMS error and repeat the SQL statement.

## SEW81S5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S5 BS2000 SORTING IN SERVICE TASK (&00) ABORTED WITH MESSAGE SRT(&01)

### Meaning

A sort operation with the BS2000 sort in the service task (&00) was
aborted with the message SRT(&01). Also refer to the SYSLST and SYSOUT
files of the service task. A possible reason is that there is not
sufficient space for creating a SORT work file under this user ID.

### Response

Analyze cause using the SYSLST and SYSOUT files and the SORT manual.
Remove cause and repeat SQL statement.

## SEW81S6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW81S6 SECONDARY INDEX DEFECTIVE

### Response

Use RECOVER INDEX to restore secondary index.

## SEW91AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AA MAXIMUM NUMBER OF CURSORS EXCEEDED

### Meaning

a) If the DBH is running with the option CURSORS = 0, no SQL cursors
may be used.
b) If the DBH is running with the option CURSORS > 0, the database
system is temporarily overloaded, i.e. the maximum number of cursors
permitted has already been reached. No other cursors can be opened.

### Response

a) If the DBH is running with the option CURSORS = 0, modify the DBH
option CURSORS
b) If the DBH is running with the option CURSORS > 0, try again later.
If this message is issued again, inform your database administrator.
Check the DBH options. If necessary, modify the DBH option CURSORS.

## SEW91AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AB MAXIMUM NUMBER OF PARALLEL SQL SESSIONS EXCEEDED

### Meaning

The DBH option USERS is too small. The SQL statement was rejected.

### Response

Increase the USERS option for the next DBH cold start or using
RELOAD-DBH-SESSION.

## SEW91AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AC DBH OPTION USERS IS TOO SMALL BECAUSE THERE IS NO SYNCHRONIZATION WITH A UTM APPLICATION

### Meaning

ITAB bottleneck. ITABs are blocked because UTM is waiting to provide
information.

### Response

Perform a warm start for the UTM applications.

## SEW91AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AD MAXIMUM NUMBER OF TEMPORARY FILES EXCEEDED

### Meaning

Intermediate results must be transferred to temporary files for internal
processing. The DBH is temporarily overloaded since the number of
temporary files required exceeds internal system limits.

### Response

Increase the DBH option CURSOR-BUFFER so that fewer temporary files are
created.

## SEW91AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AE TRANSFER- OR WORK-CONTAINER TOO SMALL

### Response

Check the DBH option TRANSFER- rsp. WORK-CONTAINER or reduce
the number of referenced columns.

## SEW91AF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AF DBH OPTION SUBORDERS TOO SMALL

### Meaning

Possible causes:
- SUBORDERS option selection too small
- temporary work file (link name SESWORK1) could not be extended because
of disk space bottleneck
- no dynamic extension up to SOBORDERS, MAXIMUM possible because of main
memory bottleneck

### Response

- increase the DBH option SUBORDERS when a cold start is performed
for the DBH or by means of an administration call.
- eliminate disk space bottleneck
- check join entry of user ID for maximum user address space

## SEW91AG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AG TEMPORARY DBH OVERLOAD WHEN ACCESSING PLAN

### Meaning

The plan for an SQL statement is being accessed by concurrent accesses
which block each other. Possible cause is the accessing of a plan for a
DML statement by concurrent SQL DML users and simultaneous catalog
updates by DDL/SSL/utilities or consistency checks.
Moreover, the plan buffer may be too small.

### Response

Repeat the SQL statement later.
Check the DBH option PLANS and, if necessary, increase it.

## SEW91AH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AH INTERNAL REPRESENTATION OF VIEW OR CHECK CONSTRAINT CANNOT BE ENTERED IN CATALOG

### Meaning

The internal representation generated for a view or a check constraint
is longer than the maximum permitted length of a column and cannot,
therefore, be entered in the catalog.

### Response

Simplify the view definition or the check constraint. Take into account
that views included in other views are expanded.

## SEW91AI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AI TOO MANY ELEMENTS IN INTERNAL DESCRIPTOR AREA

### Meaning

Due to too many:
- columns in the SELECT clause of the query expression in a DECLARE
CURSOR or CREATE VIEW statement, or
- "?" placeholders in a preparable SQL statement,
the internal descriptor area is not big enough to accept all the
descriptions of host variables or columns.

### Response

Reduce the number of columns or "?" placeholders in the SQL statement.

## SEW91AJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AJ NO FREE ENTRY IN SQL DATABASE CATALOG

### Meaning

An entry is required in the SQL database catalog for CREATE CATALOG.
However, there is no free entry in the SQL database catalog.

### Response

- Delete an existing entry with INTR DEL (disconnect catalog), or
- terminate the DBH and increase the DBH option for the total number
of entries in the SQL database catalog.

## SEW91AK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AK INTERNAL MEMORY AREA FOR HOST VARIABLE VALUES IS TOO SMALL ((&00))

### Meaning

The internal memory area for output host variables is too small to accept
all the output values. All the output values prior to the one with the
number &00 will fit in the memory area.

### Response

Reduce the number of host variables in the SQL statement or change their
types, so that the values require less space.

## SEW91AL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AL MEMORY BOTTLENECK IN THE DBH ON CONNECTION TO THE UTM APPLICATION

### Meaning

The SQL statement cannot be processed because a memory bottleneck occurred
in the DBH when initializing the connection to the UTM application
(application user pool).

### Response

Repeat the SQL statement after restarting the DBH with a larger user
address space.

## SEW91AM

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AM DBH OPTION SPACES EXHAUSTED

### Response

Increase the DBH option SPACES when cold-starting the DBH or using
RECONFIGURE-DBH-SESSION.

## SEW91AX

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91AX SUBSYSTEM XHCS NOT AVAILABLE

### Response

Install or start XHCS

## SEW91A0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A0 RESOURCE BOTTLENECK; SQL STATEMENT REJECTED BY SERVICE TASK CONTROL

### Response

Try again. If this happens again, inform your database administrator.

## SEW91A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A1 MESSAGE BUFFER TOO SMALL

### Meaning

The message buffer for communication between the application program
and the DBH is too small to store the DBH's responses. The size of the
message buffer is fixed in a TIAM application, but can be set in a UTM
application with the SESAM/SQL start parameter DBSESPUF.

### Response

Simplify the SQL statement and reduce the number of input and output
variables, or in the case of a UTM application, increase the value
specified for the SESAM/SQL start parameter DBSESPUF.

## SEW91A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A2 USER ADDRESS SPACE TOO SMALL

### Meaning

The database system is temporarily overloaded. SESAM/SQL requires
additional virtual address space for processing the SQL statement, which,
however, is not available.

### Response

If this message is issued again, inform your database administrator.
Determine whether only certain applications or SQL statements are
involved, or if the database system is overloaded. Check the DBH options.
If necessary, program the application differently, modify the DBH options
or increase the virtual address space for the DBH.

## SEW91A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A3 INSUFFICIENT MEMORY FOR DESCRIPTOR AREA

### Meaning

For ALLOCATE DESCRIPTOR, the amount of free memory is not sufficient to
create a descriptor area of the required size.

### Response

Reduce the number of descriptor areas allocated simultaneously or decrease
the size of the descriptor areas to be allocated by specifying a smaller
value for WITH MAX. In UTM applications, increasing the size of the UTM
transaction memory area increases the memory for descriptor
areas. At the moment, dynamically translated SQL statements with
a large number of input and output parameters compete with descriptor
areas for memory. Part of this memory can be released by preparing SQL
statements without input and output parameters.

## SEW91A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A4 STORAGE MANAGEMENT CANNOT MAKE AVAILABLE ENOUGH SPACE IN MEMORY POOL

### Meaning

The memory pool is to small.

### Response

Try again in the case of a temporary bottleneck, notify database
administrator in the case of frequent occurrences, or LOAD/UNLOAD fewer
columns in the case of LOAD/UNLOAD.

## SEW91A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A5 DESCRIPTOR AREA IS TOO SMALL

### Meaning

For SET DESCRIPTOR or INTO SQL DESCRIPTOR, the memory available for the
descriptor area is not big enough to store all the values. The descriptor
area has undefined values.

### Response

Increase memory for the descriptor area by specifying a larger value for
WITH MAX during allocation.

## SEW91A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A6 SQL STATEMENT IS TOO BIG FOR PLAN GENERATION

### Meaning

The SQL statement cannot be compiled because the resources required
exceed internal system limits.

### Response

Try again as the bottleneck may only be temporary. Otherwise, simplify
the SQL statement or divide it into several statements.

## SEW91A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A7 SQL STATEMENT REQUIRES TOO MUCH MAIN MEMORY FOR EXECUTION

### Meaning

It was determined during compilation of the SQL statement, that the amount
of main memory required to execute the SQL statement exceeds internal
system limits.

### Response

Modify the SQL statement in such a way that it contains fewer expressions,
especially expressions containing columns of the data type VARCHAR(n),
where n signifies a long length.

## SEW91A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A8 PLAN BUFFER TOO SMALL

### Meaning

The database system is temporarily overloaded. The plan generated for an
SQL statement requires more space than is currently available in the plan
buffer.

### Response

If this message is issued again, inform your database administrator.
Determine whether only certain applications or SQL statements are
involved, or if the database system is overloaded. Check the DBH option
PLANS and, if necessary, increase it.

## SEW91A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91A9 SQL STATEMENT TOO BIG FOR EXECUTION

### Meaning

The SQL statement cannot be executed because the resources required
exceed internal system limits.

### Response

Simplify the SQL statement or divide it into several statements.

## SEW91B1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91B1 SQL STATEMENT EXCEEDS SIZE LIMIT OF DBH OPTION COLUMNS

### Meaning

The work container created internally for an SQL statement requires more
memory than is defined by the DBH option COLUMNS.

### Response

Increase the value of the DBH option COLUMNS.

## SEW91B2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91B2 TOO MANY LITERALS/VARIABLES IN SQL STATEMENT OR NESTING DEPTH OF SEARCH CONDITION TOO BIG

### Meaning

The SQL statement contains too many literals/variables, or the nesting
depth of the search condition is too big.

### Response

Simplify the SQL statement or divide it into several statements.

## SEW91B3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91B3 THE STATEMENT AFFECTS TOO MANY INDEXES OR AN UPDATE/INSERT/MERGE/LOAD ONLINE STATEMENT REFERS TO TOO MANY CLAUSES.

### Meaning

The internal statement format generated for an SQL statement requires more
memory than permitted by the DBH option COLUMNS.

### Response

Either increase the DBH option COLUMNS or use DROP INDEX to reduce the
number of indexes on the table or simplify the UPDATE/INSERT/MERGE/LOAD
ONLINE statement.

## SEW91B4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91B4 UPDATE/INSERT/MERGE/LOAD ONLINE STATEMENT REFERS TO TOO MANY COLUMNS

### Meaning

The inquiry buffer of an update statement is larger than the maximum
permitted size.

### Response

Reduce the number of columns addressed in the statement.

## SEW91CA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CA MAXIMUM NUMBER OF DBHS PER TRANSACTION EXCEEDED

### Meaning

The SQL statement cannot be processed because no further DBHs can be
accessed in this transaction.

### Response

Modify application program accordingly.

## SEW91CB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CB MEMORY BOTTLENECK DURING INITIALIZATION

### Meaning

The SQL statement cannot be processed because a memory bottleneck
occurred during initialization. It is not possible to continue working.

### Response

Terminate the application and deal with the cause of the memory bottleneck
(e.g. upper limit for virtual memory in join file is too small).

## SEW91CC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CC MEMORY BOTTLENECK DURING MESSAGE TRANSFER

### Meaning

The SQL statement cannot currently be processed because a memory
bottleneck occurred during message transfer.

### Response

Repeat SQL statement.

## SEW91CD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CD NOT ENOUGH MEMORY IN DBH TO ACCEPT SQL STATEMENT

### Meaning

The SQL statement cannot be processed because a memory bottleneck
occurred in the DBH when the SQL statement was received.

### Response

Repeat SQL statement.

## SEW91CE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CE MEMORY BOTTLENECK IN THE DBH ON CONNECTION TO THE DCN POOL

### Meaning

The SQL statement cannot be processed because a memory bottleneck
occurred in the DBH when connecting to the DCN pool.

### Response

Repeat the SQL statement.

## SEW91CF

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CF NUMBER OF SELECTED ROWS TO BE SORTED EXCEEDS LIMIT SPECIFIED FOR DBH OPTION INTERNAL-SORT-LIMIT

### Meaning

Result sets which exceed the specified number of rows cannot be sorted
because the sorting operation would exhaust resources. In some cases,
internal intermediate results of an SQL statement are being sorted
without an explicit ORDER BY having been specified.

### Response

Reduce the result set by specifying a more restrictive selection or
increase the DBH option INTERNAL-SORT-LIMIT.

## SEW91CG

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CG LENGTH OF SORT RECORD EXCEEDS BLOCK BOUNDARY

### Meaning

The total length of the sort columns exceeds the block size of the
CURSOR-BUFFER, thus making a sort operation impossible.
Note that a sort operation may be sometimes needed for internal purposes
(e.g. join operation).

### Response

Reduce the number of sort columns, or increase the block size of the
CURSOR-BUFFER (parameter FRAME-SIZE within DBH option CURSOR-BUFFER).

## SEW91CH

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CH RESOURCE BOTTLENECK FOR PRIMARY KEY VALUE AREAS

## SEW91CI

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CI MESSAGE BUFFER TOO SMALL

### Meaning

The message buffer is too small for the SQL statement.
- Operating mode TIAM (connection module SESMOD):
The message buffer has a fixed length of 64 KB.
- Operating mode UTM (connection module SESUTMC):
The default value for the size of the message buffer is 4 KB.
The length of the message buffer can be specified explicitly in
the configuration file of the UTM application (parameter PUF).
This configuration file must be assigned to the link name SESCONF
at the start of the UTM application
(see basic SESAM/SQL manual, "Database Operation").

### Response

- Operating mode TIAM (connection module SESMOD):
Simplify the SQL statement.
- Operating mode UTM (connection module SESUTMC):
Increase the value of the PUF parameter in the configuration file
of the UTM application (recommended value: 64000).
If a maximum value is already entered for the PUF parameter,
simplify the SQL statement.

## SEW91CJ

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CJ TOO MANY TIAM TASKS WITH PREFETCH FOR INITIALIZATION.

### Meaning

The SQL statement cannot be processed, because the maximum number of
1000 TIAM tasks with prefetch has been reached. Processing cannot be
continued.

### Response

Terminate the application and do not start it again until fewer than
1000 TIAM tasks with prefetch are active.

## SEW91CK

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CK TOO MANY UTM TASKS WITH PREFETCH FOR INITIALIZATION.

### Meaning

The SQL statement cannot be processed, because the maximum number of
100 UTM tasks with prefetch has been reached. Processing cannot be
continued.

### Response

Terminate the application and do not start it again until fewer than
100 TIAM tasks with prefetch are active.

## SEW91CL

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91CL SPECIFIED ISOLATION LEVEL HIGHER THAN PERMITTED IN DBH OPTION MAX-ISOLATION-LEVEL.

### Meaning

The SQL statement cannot be processed since the isolation level in the
DBH option MAX-ISOLATION-LEVEL has been restricted to REPEATABLE-READ.

### Response

Change the DBH option or work in the application with a lower isolation
level.

## SEW91C0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C0 MAXIMUM SIZE OF INTERNAL WORK BUFFER REACHED

### Response

Reduce the number of columns referenced in the SQL statement.

## SEW91C1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C1 SQL STATEMENT REFERENCES TOO MANY COLUMNS

### Meaning

The number of columns referenced in the SQL statement is greater than the
maximum number defined for the DBH option COLUMNS.

### Response

Reduce the number of columns referenced in the SQL statement or increase
the DBH option COLUMNS.

## SEW91C2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C2 MAXIMUM SIZE OF THE INTERNAL VALUE BUFFER HAS BEEN REACHED

### Meaning

The SQL statement contains too many constants or variables for comparison

### Response

Simplify the SQL statement or reduce the number of constants and variables
by reducing the predicates

## SEW91C3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C3 NO INTERNAL SUBORDER NUMBER FREE

### Meaning

The transaction or SQL statement references too many scans or subqueries.

### Response

If necessary, reduce the number of scans or subqueries referenced in the
transaction.

## SEW91C4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C4 SIZE OF TEMPORARY FILE REQUIRED EXCEEDS SYSTEM LIMITS

### Meaning

A temporary file with more than 65535 blocks is required to process the
SQL statement.

### Response

If necessary, modify the search condition in order to limit the result
set for intermediate results.

## SEW91C5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C5 MEMORY BOTTLENECK IN MEMORY POOL FOR APPLICATION USERS OR IN DCN MEMORY POOL

### Meaning

The SQL statement cannot currently be processed because there is not
enough free memory in the memory pool.

### Response

Repeat the SQL statement. If this occurs frequently, terminate the
configuration and restart it with a larger memory pool.
Increase the value of the TOTAL-USERS parameter in the configuration file
e.g. increase the value of parameter USERS within the SET-DCN-OPTIONS
statement.

## SEW91C6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C6 MEMORY BOTTLENECK IN REMOTE DCN

### Meaning

The remote DCN cannot transfer the SQL statement to the DBH because there
is not enough free memory in the remote DCN pool. The maximum number of
remote users for DCN has been exceeded.

### Response

Reduce the number of remote users or divide the remote configuration into
two suitable smaller configurations.

## SEW91C7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C7 MAXIMUM NUMBER OF DBHS PER DCN EXCEEDED

### Meaning

The SQL statement cannot be processed because no further DBHs can be
accessed in the referenced configuration.

### Response

Divide the referenced configuration into two smaller configurations.

## SEW91C8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91C8 MAXIMUM NUMBER OF LOCAL DBHS WHICH CAN BE ADDRESSED FROM ONE TASK HAS BEEN EXCEEDED

### Meaning

The SQL statement cannot be processed because no further local DBHs can
be addressed from the task.

### Response

Change the application program or distribute the catalogs over fewer DBHs.

## SEW91R0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91R0 SQL RTS MEMORY AREA EXCEEDED

### Meaning

The SQL RTS cannot store any further conversation-specific, transaction-
specific or SQL statement-specific data.

### Response

In the UTM environment, it may be possible to increase the size of
conversation- or transaction-specific memory during UTM generation.
If this is not possible, you should reduce the number of open cursors,
prepared SQL statements or descriptor areas, the amount of transaction-
specific data or the complexity of the last SQL statement.

## SEW91R1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91R1 CONVERSATION-SPECIFIC MEMORY EXCEEDED

### Meaning

The SQL RTS cannot store any additional conversation-specific data.

### Response

In the UTM environment, it may be possible to increase the size of
conversation-specific memory during UTM generation. If this is not
possible, you should reduce the number of open cursors, prepared SQL
statements or descriptor areas.

## SEW91R2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91R2 TRANSACTION-SPECIFIC MEMORY EXCEEDED

### Meaning

The SQL RTS cannot store any additional transaction-specific data.

### Response

In the UTM environment, it may be possible to increase the size of
transaction-specific memory during UTM generation. If this is not
possible, you should reduce the number of open cursors.

## SEW91R3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91R3 MAIN MEMORY FOR SQL-RTS EXCEEDED

### Meaning

SQL-RTS cannot store any more statement- or application-specific data.

### Response

- Reduce the complexity of the SQL statement (length of the statement
text, number of host variables);
- reduce the number of temporary views or dynamic cursors;
- split the SQL module.

## SEW91SA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91SA TEMPORARY BOTTLENECK OF SERVICE TASKS

### Meaning

The statement cannot be executed because
there are not enough service tasks available.

### Response

If possible increase DBH option SERVICE-TASKS MAXIMUM
or issue the statement later.

## SEW91S0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S0 DDL STATEMENT CANNOT BE EXECUTED

### Meaning

The specified DDL statement cannot be executed under a linked-in DBH
as it runs without a service task of its own.

### Response

Set the maximum number of service tasks to 1 in the DBH load options
and start the DBH again.

## SEW91S1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S1 RECOVER STATEMENT CANNOT BE EXECUTED

### Meaning

The specified RECOVER statement cannot be executed under a linked-in DBH
as it runs without a service task of its own.

### Response

Set the maximum number of service tasks to 1 in the DBH load options and
start the DBH again.

## SEW91S2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S2 TEMPORARY RESOURCE BOTTLENECK IN JOB TABLES

### Meaning

The service job cannot be accepted because all the internal job tables
(JOBTAB) are occupied.

### Response

Repeat job or increase USERS in the DBH load option in the next session.

## SEW91S3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S3 NO SERVICE TASK STARTED

### Meaning

Despite several attempts, no service task could be started which was able
to accept the job. Also refer to messages SES8015, SES8025 and SES8026.

### Response

Change job class in the DBH load options.

## SEW91S4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S4 RECOVER ABORTED IN SERVICE TASK NUMBER (&00). WA-LOG (&01) RECATALOGED FOR DIAGNOSIS.

### Meaning

A RECOVER in service task number (&00) was aborted after several internal
restart attempts failed. WA-LOG (&01), which is still active, was
re-cataloged to (&01) with suffix "date"."time".

### Response

Check the SYSOUT and SYSLST files of the service task if there were any
problems when starting the DBH. If the cause of the abort cannot be
remedied, submit WA-LOG, dump and log of the service task to the systems
diagnostics. If the cause of the abort can be remedied, remove WA-LOG and
start RECOVER again. If the WA-LOG could not be not re-cataloged,
a diagnostic dump was generated in the DBH task or a message output.
Recatalog WA-LOG manually because it might inhibit future RECOVER
operations.

## SEW91S5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S5 MEMORY SHORTAGE OCCURRED WHEN INTIALIZING SERVICE TASK TSN (&00)

### Meaning

An error occurred during initialization of the service task with the TSN
(&00) because not enough virtual address space was available. Also refer
to the SYSLST and SYSOUT files of the service task.

### Response

Increase virtual address space.

## SEW91S6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S6 MEMORY SHORTAGE OCCURRED WHEN SORTING IN SERVICE TASK TSN (&00)

### Meaning

An error occurred during sorting in the service task with the TSN (&00)
because not enough virtual address space was available. Also refer to the
SYSLST and SYSOUT files of the service task.

### Response

Increase virtual address space.

## SEW91S7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S7 TEMPORARY RESOURCE BOTTLENECK IN THE MEMORY POOL

### Meaning

The service job cannot be accepted because no memory is available in the
memory pool.

### Response

Repeat the job.

## SEW91S8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S8 REFRESH OPERATION INTERRUPTED IN SERVICE TASK WITH TSN (&00). TA-LOG (&01) RE-CATALOGED FOR DIAGNOSIS PURPOSES WITH SUFFIX 'DATE.TIME'.

### Meaning

REFRESH aborted after several unsuccessful internal restarts in the
service task with TSN (&00). The TA-LOG which is still active with the
name (&01) has been re-cataloged with the suffix 'date.time'.

### Response

Look through the SYSOUT and SYSLST files of the service task to see
whether there were problems in the service task when starting the DBH.
If the cause of the REFRESH crash cannot be remedied, send the TA-LOG,
dump and logs of the service task to system diagnostics staff.

## SEW91S9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91S9 REFRESH/RECOVER OPERATION NOT EXECUTED. ERROR DURING ERASING (&00).

### Meaning

After modifying the RECOVER-Options by administration TA-LOG and WA-LOG
files will be erased at the execution of a Recover/Refresh-Operation,
if they are generated before the ADM-Command. This can't be done.
An occurred DMS code is issued in a further message.

### Response

Delete old TA-LOG and WA-LOG files relating to RECOVER/REFRESH.
The issued filename contains the current identification number of the
service task.

## SEW91UA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91UA NESTING LEVEL FOR PROCEDURES AND FUNCTIONS TOO BIG

### Meaning

The maximum nesting level of procedures and functions
is exceeded.

### Response

Reduce nesting in procedure or function.

## SEW91U0

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U0 CAT-REC FILE FOR CATALOG (&00) WAS NOT CREATED BECAUSE OF MEMORY PROBLEMS

### Meaning

During the processing of a CREATE CATALOG statement, the catalog recovery
file could not be created because of memory problems.

### Response

a) Delete catalog space, free memory, repeat CREATE CATALOG statement
b) Delete catalog space and repeat the CREATE CATALOG statement with the
NO LOG option.

## SEW91U1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U1 NO FREE RECORD NUMBER

### Response

Reorganize the space.

## SEW91U2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U2 NESTING DEPTH OF ARITHMETIC EXPRESSION IS TOO BIG.

### Response

Modify application program accordingly.

## SEW91U3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U3 NO FURTHER ENTRY IN SQL DATABASE CATALOG POSSIBLE

### Meaning

The SQL database catalog is full (cf. DBH option SQL-DATABASE-CATALOG).

### Response

If necessary, increase the DBH option SQL-DATABASE-CATALOG.

## SEW91U4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U4 UNLOAD STATEMENT REFERS TO TOO MANY COLUMNS

### Meaning

The number or total length of referred to columns exceeds the internal
limit

### Response

Reduce the number of columns referred to in the UNLOAD statement

## SEW91U5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U5 RESOURCE BOTTLENECK, NO FREE SCANS AVAILABLE.

### Meaning

The internal resource scan is needed to list the logging files to be
updated. There is no free scan.

### Response

Repeat the statement; if necessary, restrict parallel transaction or
SQL statement.

## SEW91U6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U6 COMPILED REGEX PATTERN TOO LONG

### Meaning

While compiling the pattern of a LIKE REGEX predicate, too
much space is required.

### Response

Simplify pattern.

## SEW91U7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U7 TOO MANY CYCLES IN A LOOP STATEMENT (LOOP, WHILE, REPEAT, FOR)

### Meaning

The number of cycles within a loop statement (LOOP, WHILE,
REPEAT, FOR) is limited.

### Response

Fix routine.

## SEW91U8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U8 MAXIMUM LABEL NESTING EXCEEDED

### Meaning

The maximum label nesting in a routine is limited.

### Response

Fix routine.

## SEW91U9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW91U9 NESTING LEVEL OF FOR STATEMENTS TOO BIG

### Meaning

The maximum nesting level of FOR statements is exceeded.

### Response

Reduce nesting of FOR statements in routine.

## SEW95A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW95A1 OPEN TRANSACTION IN CATALOG (&01) FOR AUTHORIZATION IDENTIFIER (&00)

### Meaning

An attempt was made to delete an authorization identifier or system entry
which is being used by the current user or a different user in an open
transaction.

### Response

First terminate the open transaction for the authorization identifier or
system entry. Then execute the SQL statement again.

## SEW98AA

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98AA INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98AB

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98AB INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98AC

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98AC INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98AD

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98AD INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98AE

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98AE INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A1

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A1 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A2

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A2 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A3

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A3 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A4

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A4 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A5

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A5 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A6

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A6 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A7

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A7 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A8

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A8 INTERNAL MESSAGE: PROCESSING ABORTED

## SEW98A9

Destination: USER-TASK, CONSOLE Routing code: U Weight: 70

Warranty : NO

SEW98A9 INTERNAL MESSAGE: PROCESSING ABORTED

©2020 Fujitsu Technology Solutions GmbH | BS2000 OSD/BC System Messages