OAMESSAGE
Returns the message as defined in the message statement of the Environment
Catalog.
Syntax
oamessage (instance, options, status, message_id,
message)
instance -- Identifies a
unique connection to a catalog previously established by oaconnect.
Instance is a 32-bit signed integer passed by value.
options -- Is a character
string (256-byte maximum), passed by reference, that indicates
the action or actions for oamessage to take. Separate multiple
options with commas, and terminate the option list with a
semicolon or a null character. The valid options are:
status -- Indicates the
success or failure of the oamessage routine. A zero status.error
indicates the successful execution of oamessage. The status
structure is passed by reference and contains fourteen 32-bit
signed integers, followed by a 36-character buffer.
message_ID -- is a Character
string (32-byte maximum).
message -- is a Character
string (256-byte maximum).
Options
GLOBAL -- draws messages
from the OAGLOBAL Environment Catalog.
MAXLEN=n -- sets the length
of the message buffer. The default length is 80 bytes.
Example
Top
|