Previous Topic

Next Topic

Book Contents

Book Index

The CTTCHKDB Macro

This macro is used to check return codes resulting from access of the Media Database using the CTTACCDB macro.

Format

Instructions for the CTTCHKDB macro are formatted as follows:

label     CTTCHKDB   ERR=error‑routine,

                     PARMS=work‑area

Table 252 Format for Macro CTTCHKDB Instructions

Term

Description

error‑routine

 

Points to a subroutine in the source code of the calling program that handles Media Database access errors. For more information, see the following topic. Mandatory.

work‑area

 

Invocation work area of the last CTTACCDB macro. Mandatory.

The value for this field must be the same work area specified in the parameters for CTTACCDB.

The CTTCHKDB macro must be coded in accordance with all standard macro Assembler coding restrictions.

Values in general purpose registers 0, 1 and 15 are modified by the CTTCHKDB macro.

Parent Topic

High Level API