17.08.2013 Views

System i: Programming Message Handling APIs - IBM

System i: Programming Message Handling APIs - IBM

System i: Programming Message Handling APIs - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

0 Receiver is an original program model (OPM) program.<br />

1 Receiver is a procedure within an ILE program, and the procedure name is up to and including 256 characters<br />

in length.<br />

2 Receiver is a procedure within an ILE program, and the procedure name is 257 or more characters in length.<br />

Replacement data or impromptu message text. The values for replacement variables in a predefined<br />

message, or the text of an impromptu message. If the message identifier field is not blank, this field<br />

contains message data. If the message identifier field is blank, this field contains impromptu message<br />

text.<br />

Any pointer data in this field is marked as not valid if both:<br />

v The API is called by a call stack entry not running in system state.<br />

v The system security level is 50 or above.<br />

Reply status. The reply status of the message (whether it accepts a reply, and if so, whether a reply has<br />

been sent). Possible values and their meanings follow:<br />

A <strong>Message</strong> accepts a reply, and a reply has been sent.<br />

W <strong>Message</strong> accepts a reply, and a reply has not been sent. (The message is waiting for a reply.)<br />

N <strong>Message</strong> does not accept a reply.<br />

Request level. The level of the request-processing program that received the request message. If the<br />

message being listed is not a request, this field is set to 0.<br />

Request status. Information regarding the processing status of the request message. Possible values and<br />

their meanings follow:<br />

O This request message has been received and processed.<br />

C This request message is currently being processed.<br />

N This request message has not yet been processed.<br />

If the message being listed is not a request, this field is set to a blank character.<br />

Reserved. An ignored field.<br />

Sender type. The type of the sender (whether it is a program or procedure). Possible values and their<br />

meanings follow:<br />

0 Sender is an OPM or a <strong>System</strong> Licensed Internal Code (SLIC) program with a name that is 12 characters or<br />

less.<br />

1 Sender is a procedure within an ILE program, and the procedure name is up to and including 256 characters<br />

in length.<br />

2 Sender is a procedure within an ILE program, and the procedure name is from 257 characters up to and<br />

including 4096 characters in length.<br />

3 Sender is a SLIC program with a name that is from 13 characters up to and including 256 characters in length.<br />

Sending module name. The name of the module that contains the procedure sending the message. If the<br />

message was not sent by a procedure within an ILE program, this field is not set and the length of data<br />

field is 0.<br />

Sending procedure name. The name of the procedure sending the message. If the message was not sent<br />

by a procedure within an ILE program, this field is not set and the length of data field is 0. A nested<br />

<strong>Message</strong> <strong>Handling</strong> <strong>APIs</strong> 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!