Previous Topic: Runtime Error HandlingNext Topic: Return Code


Arguments

The following table gives a brief description of each of the arguments:

Name

I/O

Description

*rp1

Input

A pointer to a parameter control block. Reserved for runtime internal use only.

*rp2

Input

A pointer to a parameter control block. Reserved for runtime internal use only.

*msg_tbl_name

Input

A character string containing the name of the table to be used for extraction of the message text. Currently one table named DEFAULT is supported by the CA Gen runtime.

*msgnum

Input

A short value containing the message number corresponding to the text to be fetched.

*prm

Input/ Output

A pointer to a PARMMSG structure to contain the returned message text information. This structure, defined in tirmtq.h, has the following definition:

PARMLEN

 

A short value containing the total length of PARMNO + PARMTXT.

PARMNO

Output

An 11-byte character array containing the message number formatted in a standard style.

PARMTXT

Output

A string containing the text corresponding to the error message number. The string can be up to 245 bytes, including the terminating NULL.

filler

Unused

Two unused filler characters