BASIC Errors

Following is a list of BASIC errors. Note that:

   The system displays the description for untrapped errors by loading it from the SYS:ERRMSG.xxx file where xxx is the LANGUAGE extension defined in the corresponding LDF file—e.g. USA, SPA, POR, ITA, CDN, FRE.

  Programs can retrieve the description for an error number using the function ERRMSG(x) or ERRMSG.SBR.

 

Number

Description

 

Number

Description

001

Operator interrupt

 

071

Undefined dynstruct member

002

System error

 

072

Undefined dynamic function

003

Out of memory

 

100

Error during error trapping

004

Out of data

 

102

(DISAM) EBADARG illegal argument

005

NEXT without FOR

 

103

(DISAM) EBADKEY illegal key desc

006

RETURN without GOSUB

 

104

(DISAM) ETOOMANY too many files open

007

RESUME without error

 

106

(DISAM) ENOTEXCL non-exclusive access

008

Subscript out of range

 

108

(DISAM) EKEXISTS key already exists

009

Floating point overflow

 

112

(DISAM) ENOCURR no current record

010

Divide by zero

 

114

(DISAM) EFNAME file name to long

011

Illegal function value

 

115

(DISAM) Record/Key size overflow

012

Subroutine not found

 

117

(DISAM) EBADCOLL bad custom collating

013

File already open

 

118

(DISAM) ELOGREAD cannot read log rec

014

IO to unopened file

 

119

(DISAM) EBADLOG bad log record

015

Record size overflow

 

120

(DISAM) ELOGOPEN cannot open log file

016

File specification error

 

121

(DISAM) ELOGWRIT cannot write log rec

017

File not found

 

122

(DISAM) ENOTRANS no transaction

018

Device not ready

 

123

(DISAM) unknown error

019

Device full

 

124

(DISAM) ENOBEGIN no begin work yet

020

Device error

 

126

(DISAM) EBADROWID unknown error

021

Device in use

 

127

(DISAM) ENOPRIM no primary key

022

Illegal user code

 

128

(DISAM) ENOLOG no logging

023

Protection violation

 

129

(DISAM) EUSER unknown error

024

Write protected

 

130

(DISAM) ENODBS unknown error

025

File type mismatch

 

132

(DISAM) EROWSIZE row size too big

026

Device does not exist

 

133

(DISAM) EAUDIT audit trail exists

027

Bitmap kaput

 

201

Incompatible ISAM file

028

Disk not mounted

 

202

ISAMP.SYS not found in memory

029

File already exists

 

203

Index blocks less than minimum

030

Redimensioned array

 

204

Data file full

031

Illegal record number

 

205

Index file full

032

Invalid filename

 

206

Cannot change key

033

Stack overflow

 

207

Index structure smashed

034

Invalid syntax code

 

208

Attempt to add duplicate key

035

Unsupported function

 

209

Insufficient free index blocks

036

Invalid subroutine version

 

210

Invalid number

037

File in use

 

211

Exceeds maximum percentage

038

Record in use

 

212

Too many index blocks

039

Deadly embrace possible

 

213

Invalid record size

040

File cannot be deleted

 

214

Too many concatenated keys

041

File cannot be renamed

 

215

Primary key information must be entered

042

Record not locked

 

216

Exceeds maximum key size

043

Multiple link translation

 

217

Invalid key type

044

Lokser queue is full

 

218

Exceeds maximum binary size

045

Device not file structured

 

219

Key outside record

046

Illegal ISAM sequence

 

220

Overlap keys not numeric

047

Random channel 0 illegal

 

221

Too many data file blocks

048

File not open

 

222

Exceeds second key directory

049

File already open

 

223

No such secondary key number

050

Remote not responding

 

224

Secondary key is deleted

051

First logical unit not mounted

 

225

Dumped record no. mismatch

052

Illegal key

 

226

Key information must be entered

053

Illegal key number

 

227

Cannot delete primary key

054

String overflow

 

228

ISAM+ file already exists

055

Undefined array in XCALL

 

229

Data file smashed

060

Illegal assignment to iterator

 

230

System error

061

Invalid reference to collection

 

231

ISAM+ file needs to be rebuilt

063

Func/Proc parameter type/size mismatch

 

232

Null record found - removed

064

Unsupported type (S?) or scope (local) of array passed by reference

 

233

Unknown error condition

065

External library error

 

250

Hangup signal (SIGHUP) received

066

Mismatched collection types

 

251

Termination signal (SIGTERM) received

067

Invalid collection operation or reference

 

252

Your queue has been Zapped!

068

Collection types not supported in this runtime

 

253

Error in socket communication to queue server

069

ATE comm breakdown, client unresponsive

 

254

Inactivity timeout

070

Invalid dynstruct reference

 

255

Window closed