MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 6 295
Command Definitions (FLUSHLOG-GETUSERMODE)
GENMESSAGE
Default: $STDLIST if you do not specify
buffer
, no file if you do specify
buffer
.
errornum
16-bit signed integer by reference (optional)
Returns one of the following values, indicating the success or failure of the
intrinsic call.
Value Meaning
0
Successful
1 FREADLABEL call on catalog file failed
2 FREAD call on catalog file failed
3 Specified
setnum
not found in catalog
4 Specified
msgnum
not found in catalog
6 Message overflowed buffer (if
msgdestination
specified, message routed
correctly)
7 Write to destination file failed
8 Catalog file opened with improper access options
11
filenum
was not specified
12
setnum
was not specified
13
msgnum
was not specified
14
setnum
< 0 was specified
15
setnum
> 62 was specified
16
msgnum
<= 0 was specified
17
buffersize
<= 0 was specified
18
msgdestination
<= -2 was specified
19 Reference parameter out of bounds
Operation Notes
The calling program opens a message catalog, allowing the insertion parameters supplied
by GENMESSAGE. Depending on how the
msgdestination
and
buffer
parameters are
defined, GENMESSAGE then routes the message to its destination. To route the message to a
file, specify
msgdestination
. To return the message to a calling program, specify
buffer
.
To do both, specify both
msgdestination
and
buffer
.
Open the catalog file as a permanent ASCII file with the NOBUF and MULTI access options
enabled.
Condition Codes
CCE (2) Request granted.
CCL (1) Request denied. File system error.