Error Numbers

Top  Previous  Next

 

QM error numbers are defined in the ERR.H record of the SYSCOM file and listed below. For error conditions that are from library functions used by QM rather than from QM itself there may also be a further error code displayed or available via the OS.ERROR() function. These are not under control of QM and a description can usually be found on the internet.

 

1

ER$ARGS

Command arguments invalid or incomplete

2

ER$NCOMO

Como file not active

3

ER$ICOMP

I-type compilation error

4

ER$ACC.EXISTS

Account name already in register

5

ER$NO.DIR

Directory not found

6

ER$NOT.CREATED

Unable to create directory

7

ER$STOPPED

Processing terminated by user in response to a "continue" prompt

8

ER$INVA.PATH

Invalid pathname

9

ER$NOT.CAT

Item not in catalogue

10

ER$PROCESS

Unable to start new process

11

ER$USER.EXISTS

User name already in register

12

ER$UNSUPPORTED

This operation is not supported on this platform

13

ER$TERMINFO

No terminfo definition for this function

14

ER$NO.ACC

Account name not in register

15

ER$TERMINATED

Query command terminated by user

16

ER$NO.LIST

No select list when one is required

1000

ER$PARAMS

Invalid parameters

1001

ER$MEM

Cannot allocate memory

1002

ER$LENGTH

Invalid length

1003

ER$BAD.NAME

Bad name

1004

ER$NOT.FOUND

Item not found

1005

ER$IN.USE

Item is in use

1006

ER$BAD.KEY

Bad action key

1007

ER$PRT.UNIT

Bad print unit

1008

ER$FAILED

Action failed

1009

ER$MODE

Bad mode setting

1010

ER$TXN

Operation not allowed in a transaction

1011

ER$TIMEOUT

Timeout

1012

ER$LIMIT

User limit reached

1013

ER$EXPIRED

Package licence has expired

1014

ER$NO.CONFIG

Cannot find configuration file

1015

ER$RDONLY.VAR

Variable is read-only

1016

ER$NOT.PHANTOM

Not a phantom process

1017

ER$CONNECTED

Device already connected

1018

ER$INVA.ITYPE

Invalid I-type

1019

ER$RANGE

Value is out of range

1020

ER$BARRED

Action is barred

1021

ER$CONSOLE

Only valid in a Windows QMConsole session

1022

ER$SUSPENDED

QM is suspended

1023

ER$PARSE.ERROR

Parsing error in JPARSE()

1024

ER$BUILD.ERROR

Data build error in JBUILD()

1025

ER$COMP.ERROR

Compilation error

2000

ER$INVA.OBJ

Invalid object code

2001

ER$CFNF

Catalogued function not found

2100

ER$TI.NAME

Invalid terminal type name

2101

ER$TI.NOENT

No terminfo entry for given name

2102

ER$TI.MAGIC

Terminfo magic number check failed

2103

ER$TI.INVHDR

Invalid terminfo header data

2104

ER$TI.STRSZ

Invalid terminfo string length

2105

ER$TI.STRMEM

Error allocating terminfo string memory

2106

ER$TI.NAMEMEM

Error allocating terminfo name memory

2107

ER$TI.BOOLMEM

Error allocating terminfo Boolean memory

2108

ER$TI.BOOLRD

Error reading terminfo Booleans

2109

ER$TI.NUMMEM

Error allocating terminfo numbers memory

2110

ER$TI.NUMRD

Error reading terminfo numbers

2111

ER$TI.STROMEM

Error allocating terminfo string offsets memory

2112

ER$TI.STRORD

Error reading terminfo string offsets

2113

ER$TI.STRTBL

Error reading terminfo string table

2114

ER$TI.NAMERD

Error reading terminal type name

3000

ER$IID

Illegal record id

3001

ER$SFNF

Subfile not found

3002

ER$NAM

Bad file name

3003

ER$FNF

File not found

3004

ER$NDIR

Not a directory file

3005

ER$NDYN

Not a dynamic file

3006

ER$RNF

Record not found

3007

ER$NVR

No VOC record

3008

ER$NPN

No pathname in VOC record

3009

ER$VNF

VOC file record not F type

3010

ER$IOE

I/O error

3011

ER$LCK

Lock is held by another process

3012

ER$NLK

Lock is not held by this process

3013

ER$NSEQ

Not a sequential file

3014

ER$NEOF

Not at end of file

3015

ER$SQRD

Sequential file record read before creation

3016

ER$SQNC

Sequential record not created due to error

3017

ER$SQEX

Sequential record already exists (CREATE)

3018

ER$RDONLY

Update to read only file

3019

ER$AKNF

AK index not found

3020

ER$INVAPATH

Invalid pathname

3021

ER$EXCLUSIVE

Cannot gain exclusive access to file

3022

ER$TRIGGER

Trigger function error

3023

ER$NOLOCK

Attempt to write/delete record with no lock

3024

ER$REMOTE

Open of remote file not allowed. See NETFILES configuration parameter.

3025

ER$NOTNOW

Action cannot be performed now

3026

ER$PORT

File is a port

3027

ER$NPORT

File is not a port

3028

ER$SQSEEK

Seek to invalid offset in sequential file

3029

ER$SQREL

Invalid SEEK relto in sequential file

3030

ER$EOF

End of file

3031

ER$CNF

Multifile component not found

3032

ER$MFC

Multifile reference with no component name

3033

ER$PNF

Port not found

3034

ER$BAD.DICT

Bad dictionary entry

3035

ER$PERM

Permissions error

3036

ER$SEEK.ERROR

Seek error

3037

ER$WRITE.ERROR

Write error

3038

ER$VFS.NAME

Bad class name in VFS entry

3039

ER$VFS.CLASS

VFS class routine not found

3040

ER$VFS.NGLBL

VFS class routine is not globally catalogued

3041

ER$ENCRYPTED

Access denied to encrypted file

3042

ER$NOT.A.FILE

Pathname or variable is not a file

3043

ER$COMMIT.FAIL

Transaction commit failed

3044

ER$ROLLBACK

Transaction rolled back

3045

ER$SIZE

File or record is too large for this operation

3046

ER$FILETYPE

Invalid file type for this operation

3047

ER$PART

Invalid part number

3048

ER$AK.ERR

Execution error in AK expression

3049

ER$DNF

Device not found

3050

ER$IDX.VERIFY

Index verification error

3051

ER$QPTR.PATH

Q-pointer with account name barred

3052

ER$ACC.BARRED

Access to this account is barred

3053

ER$TRG.NOCAT

Trigger function not catalogued

3054

ER$ECS

File requires ECS

3055

ER$ECS.MAP

ECS map not available

3056

ER$ECS.DATA

Data requires ECS

3057

ER$NOT.ECS

QMNet server not ECS

3058

ER$VFS.NO.OPEN

No V$OPEN function in VFS handler

3059

ER$TEMP.FILE

Cannot open temporary file

3060

ER$MAXRLOCK

MAXRLOCK record lock limit reached

3061

ER$LOCKFULL

Lock table is full

3062

ER$CONSTRAINTS

Data integrity constraints validation error

3063

ER$NHASHED

Not a hashed file

4000

ER$SRVRMEM

Insufficient memory for packet buffer

4001

ER$CONTEXT

Context error

4002

ER$FILE.BAR

QMClient file access is disabled

4003

ER$EXEC.BAR

QMClient command execution is disabled

4004

ER$SUBR.BAR

QMClient subroutine restrictions active

4200

ER$FUNCNAME

Function name not recognised

4204

ER$VFS.KEY

Unrecognised VFS key

4205

ER$VFS.PIPE

Failed to create VFS pipe

4206

ER$VFS.CHILD

Failed to start VFS child

4207

ER$VFS.CONNECT

Failed to connect to VFS child

5000

ER$NO.DLL

DLL not found

5001

ER$NO.API

API not found

5002

ER$NO.TEMP

Cannot open temporary file

5003

ER$UID.NAME

Cannot convert user name to UID

5004

ER$GID.NAME

Cannot convert group name to GID

6031

ER$NO.EXIST

Item does not exist

6032

ER$EXISTS

Item already exists

6033

ER$NO.SPACE

No space for entry

6034

ER$INVALID

Validation error

7000

ER$NETWORK

Networked file not allowed for this operation

7001

ER$SERVER

Unknown server name

7002

ER$WSA.ERR

Failed to start Window socket library

7003

ER$HOSTNAME

Invalid host name

7004

ER$NOSOCKET

Cannot open socket

7005

ER$CONNECT

Cannot connect socket

7006

ER$RECV.ERR

Error receiving socket data

7007

ER$RESOLVE

Cannot resolve server name

7008

ER$LOGIN

Login rejected

7009

ER$XREMOTE

Remote server disallowed access

7010

ER$ACCOUNT

Cannot connect to account

7011

ER$HOST.TABLE

Host table is full

7012

ER$BIND

Error binding socket

7013

ER$SKT.CLOSED

Socket has been closed

7014

ER$PROTOCOL

Unrecognised protocol

7015

ER$SKT.TYPE

Unrecognised socket type

7016

ER$NET.READ

QMClient data read error

7017

ER$NET.WRITE

QMClient data write error

7100

ER$RPL.PROT

Replication protocol error

7101

ER$SEND.ERR

Error sending socket data

8001

DHE$FILE.NOT.OPEN

DH.FILE pointer is NULL

8002

DHE$NOT.A.FILE

DH.FILE does not point to a file descriptor

8003

DHE$ID.LEN.ERR

Invalid record id length

8004

DHE$SEEK.ERROR

Error seeking in DH file

8005

DHE$READ.ERROR

Error reading DH file

8006

DHE$WRITE.ERROR

Error writing DH file

8007

DHE$NAME.TOO.LONG

File name is too long

8008

DHE$SIZE

File exceeds maximum allowable size

8009

DHE$STAT.ERR

Error from stat()

8100

DHE$OPEN.NO.MEMORY

No memory for DH.FILE structure

8101

DHE$FILE.NOT.FOUND

Cannot open primary subfile

8102

DHE$OPEN1.ERR

Cannot open overflow subfile

8103

DHE$PSFH.FAULT

Primary subfile header format error

8104

DHE$OSFH.FAULT

Overflow subfile header format error

8105

DHE$NO.BUFFERS

Unable to allocate file buffers

8106

DHE$INVA.FILE.NAME

Invalid file name

8107

DHE$TOO.MANY.FILES

The limit on the number of open files has been reached. See the NUMFILES configuration parameter.

8108

DHE$NO.MEM

No memory to allocate group buffer

8109

DHE$AK.NOT.FOUND

Cannot open AK subfile

8110

DHE$AK.HDR.READ.ERROR

Error reading AK header

8111

DHE$AK.HDR.FAULT

AK subfile header format error

8112

DHE$AK.ITYPE.ERROR

Format error in AK I-type code

8113

DHE$AK.NODE.ERROR

Unrecognised node type

8114

DHE$NO.SUCH.AK

Reference to non-existent AK

8115

DHE$AK.DELETE.ERROR

Error deleting AK subfile

8116

DHE$EXCLUSIVE

File is open for exclusive access

8117

DHE$TRUSTED

Requires trusted program to open

8118

DHE$VERSION

Incompatible file version

8119

DHE$ID.LEN

File may contain id longer than MAXIDLEN

8120

DHE$AK.CROSS.CHECK

Relocated index pathname cross-check failure

8121

DHE$HASH.TYPE

Unsupported hash type

8122

DHE$AK.PERM

Permissions error on AK subfile

8123

DHE$MAX.OPENS

File open maximum number of times in one process

8201

DHE$ILLEGAL.GROUP.SIZE

Group size out of range

8202

DHE$ILLEGAL.MIN.MODULUS

Minimum modulus < 1

8203

DHE$ILLEGAL.BIG.REC.SIZE

Big record size invalid

8204

DHE$ILLEGAL.MERGE.LOAD

Merge load invalid

8205

DHE$ILLEGAL.SPLIT.LOAD

Split load invalid

8206

DHE$FILE.EXISTS

File exists on create

8207

DHE$CREATE.DIR.ERR

Cannot create directory

8208

DHE$CREATE0.ERR

Cannot create primary subfile

8209

DHE$CREATE1.ERR

Cannot create overflow subfile

8210

DHE$PSFH.WRITE.ERROR

Failure writing primary subfile header

8211

DHE$INIT.DATA.ERROR

Failure initialising data bucket

8212

DHE$ILLEGAL.HASH

Invalid hashing algorithm

8213

DHE$OSFH.WRITE.ERROR

Failure writing overflow subfile header

8301

DHE$RECORD.NOT.FOUND

Record not in file

8302

DHE$BIG.CHAIN.END

Found end of big record chain early

8303

DHE$NOT.BIG.REC

Big record pointer does not point to big record block

8401

DHE$NO.SELECT

No select is active

8402

DHE$OPEN2.ERR

Cannot open select list

8403

DHE$GSL.WRITE.ERR

Error from write()

8404

DHE$GSL.TRUNCATE.ERR

Error from chsize()

8501

DHE$AK.NAME.LEN

Index name too long

8502

DHE$AK.EXISTS

AK already exists

8503

DHE$AK.TOO.MANY

Too many AKs to create a new one

8504

DHE$AK.CREATE.ERR

Unable to create AK subfile

8505

DHE$AK.HDR.WRITE.ERROR

Error writing AK subfile header

8506

DHE$AK.WRITE.ERROR

Error writing AK node

8601

DHE$PSF.CHSIZE.ERR

Error compacting primary subfile

8701

DHE$ALL.LOCKED

All buffers are locked

8702

DHE$SPLIT.HASH.ERROR

Record does not hash to either group in split

8703

DHE$WRONG.BIG.REC

Big record chain error

8704

DHE$FREE.COUNT.ZERO

Overflow free count zero

8705

DHE$FDS.OPEN.ERR

Cannot reopen subfile

8706

DHE$POINTER.ERROR

Internal file pointer fault

8707

DHE$NO.INDICES

File has no AKs

8708

DHE$RECLEN.ERROR

Invalid record length

8900

DHE$ECB.TYPE

ECB has incorrect type

8901

DHE$VAULT.CLOSED

Key vault not open

9000

DHE$RPL.LIMIT

Too many replication targets

9001

DHE$RPL.MKDIR

Error creating replication buffer area

9002

DHE$RCB.TYPE

RCB type error