Previous Topic

Next Topic

Book Contents

Book Index

Reason Codes

The list of the reason codes, their related return codes, and the source of the ABEND are listed below:

Table 241 CTTAPI Reason Codes

RC

Reason Code

Variable

Description

RC from Routine

8

200

TAPI_NOHNDLER

No handler was set to CTTAPI

 

 

204

TAPI_GETMAIN_ERROR

GETMAIN failed

GETMAIN

 

208

TAPI_NOACTIVE_QUERY

QERYNEXT was requested without requesting QUERY earlier

 

 

212

TAPI_INVALIDCALL

Invalid call to CTTAPI. Maybe not using macro CTTAPI

 

 

216

TAPI_NOBUFFER

No buffer was sent in QUERY or QUERYNXT requests

 

 

220

TAPI_SUBTASK_ERR

Attach error

ATTACH

 

224

TAPI_OPEN_ERROR

Open Control-M/Tape database failed

CTTIOS

 

228

TAPI_CLOSE_ERROR

Close Control-M/Tape database failed

CTTIOS

 

232

TAPI_LOADENV_ERR

Load environment error

CTTTLD

 

236

TAPI_NO_ACTIVE_TCT

Control-M/Tape is not active when requesting Online environment

CTTGTCT

 

240

TAPI_ALCDB_ERROR

Allocation database error

IOALLOC

 

244

TAPI_FREEDB_ERROR

Error during database free

IOALLOC

 

248

TAPI_USER_NOTAUTHORIZE D

User not authorized

 

 

252

TAPI_SCR_ACT_EXMERR

Expiration management error (CTTEXM)

 

 

256

TAPI_SCR_ACT_NOUPD

MDB was opened not in Update mode

 

 

260

TAPI_NOT_APF_AUTHORIZED

PROGRAM IS NOT APF AUTHORIZED     

 

12

200

TAPI_INVALID_FUNCTION

Function is not supported

 

 

204

TAPI_INVALID_PATH

Path is invalid

 

 

208

TAPI_INVALID_REL

Relation is invalid

 

 

212

TAPI_INCONS_REL

Relation is inconsistent

 

 

216

TAPI_MASK_ERROR

Mask is invalid

 

 

220

TAPI_PARS_ERROR

Parsing error

 

 

224

TAPI_INC_EXCL_ERROR

Combination of WHERE and PATH is invalid

 

 

228

TAPI_INCP_ERROR

Include/Exclude error

 

 

232

TAPI_OPTIONS_ERROR

Invalid options

 

 

236

TAPI_VOLACTION_ERROR

Volume does not exist

 

 

240

TAPI_DSNACTION_ERR_1

Data set does not exist (DSVOLSER+DSLABEL)

 

 

244

TAPI_DSNACTION_ERR_2

Requested DSName is not equal to real

 

 

248

TAPI_VOLSRC_DENIED

Environment inconsistent with request

 

16

200

TAPI_DYNALLOC_ERROR

Dynamic allocation error

SVC99

 

204

TAPI_DYNFREE_ERROR

Dynamic free error

SVC99

 

208

TAPI_READ_ERROR

Read error from database (CTTIOS)

 

 

212

TAPI_SORT_ERROR

Sort error

SORT

 

216

TAPI_MORE_THAN_2_PARAL LEL

More than 2 API parallel

 

Parent Topic

Invoking the Control-M/Tape API