MPE/iX Intrinsics Reference Manual (32650-90905)
68 Chapter4
Command Definitions (ABORTSESS - FCLOSE)
CATREAD
4 Message number not found
6 User buffer overflow
7 Write to
msgdest
file failed
14
setnum
<= 0 specified
15
setnum
> 255 specified
16
msgnum
< 0 specified
17
msgnum
> 32,766 specified
18
buffersize
<= 0 specified
19
msgdest
<= -2 specified
100 Internal message facility error
buffer
character array (optional)
Returns the assembled message.
buffersize
16-bit signed integer by value (optional)
Passes the buffer length in bytes if you specify
buffer
. Passes the length
(in bytes) of the message to be written to the destination file if
buffer
is
not specified.
Default = 72 bytes.
parm1-parm5
character arrays (optional)
Passes parameters to be inserted into the message. The parameter must
always point to a character string and the character string must be
terminated by a binary zero.
msgdest
16-bit signed integer by value (optional)
Passes the file number of the message's destination file (0 or -1 =
$STDLIST, >2 = file number of the destination file). If
buffer
or
msgdest
are not specified, the message goes to $STDLIST ($STDLIST = 0).
Operation Notes
The combined total size of the
buffer
and
parm1
through
parm5
parameters cannot exceed
64,000 bytes.
Related Information
Intrinsics CATCLOSE, CATOPEN
Commands None
Manuals Message Catalogs Programmer's Guide