30.06.2013 Views

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - 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.

Retrieve <strong>Data</strong> <strong>Queue</strong> Message (QMHRDQM) API<br />

Message enqueue date and time. The time that the message was placed on the data queue in time-of-day<br />

(TOD) format.<br />

Message key. The key of the message.<br />

Message key length available. The size (in bytes) of the key at the creation time of the data queue.<br />

Message key length returned. The number of bytes retrieved in the message key field.<br />

Message text. The text of the message.<br />

Message text length available. The message size (in bytes) used at the creation time of the data queue.<br />

Message text length returned. The number of message data bytes retrieved in the message text field.<br />

Number of message key bytes to retrieve. The number of message key bytes to return. The maximum<br />

value allowed is 256. If the number of bytes requested exceeds the actual message key length, the key is<br />

padded with binary zeros. If the number of message key bytes requested is less than the actual key, the key<br />

is truncated.<br />

Number of message text bytes to retrieve. The maximum value allowed is 65536. The message text<br />

length returned field is equal to this value. If the number of bytes requested exceeds the actual message<br />

text length, the text is padded with binary zeros. If the number of message text bytes is less than the actual<br />

text, the message text is truncated.<br />

Number of messages available. The number of messages on the data queue that satisfy the search criteria<br />

specified in the Message selection information parameter.<br />

Number of messages returned. The number of messages retrieved.<br />

Offset to first message entry. The offset at which the first message entry begins. If this value is 0, there is<br />

no message available.<br />

Offset to next message entry. The offset to the next message entry. If this value is 0, there are no more<br />

messages returned.<br />

Reserved. An unused field.<br />

Selection type. Selection type depends on the format used.<br />

For the RDQS0100 format, valid values are:<br />

A<br />

All messages are to be returned<br />

F<br />

The first message is to be returned<br />

L<br />

The last message is to be returned<br />

For the RDQS0200 format, valid values are:<br />

K<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qmhrdqm.htm (6 of 8) [10/4/1999 2:32:30 PM]

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

Saved successfully!

Ooh no, something went wrong!