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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Receive <strong>Data</strong> <strong>Queue</strong> (QRCVDTAQ) API<br />

EQ<br />

GE<br />

LE<br />

Equal<br />

Greater than or equal<br />

Less than or equal<br />

This parameter is ignored if the length of key data is zero. A value of blanks is recommended if the<br />

length of key data is zero.<br />

For example, assume a keyed data queue contains these three entries:<br />

Physical Entry 3-Character Key<br />

1 GGG<br />

2 XXX<br />

3 AAA<br />

If a key order of LE is specified with key data of XXX, entry 3 would be received. If the same<br />

values were specified on a subsequent request, entry 1 would be received.<br />

Length of key data<br />

INPUT; PACKED(3,0)<br />

The length of the key data parameter. If this parameter is specified, it must be zero for nonkeyed<br />

data queues. For keyed data queues it must be equal to the length specified on the KEYLEN<br />

parameter on the Create <strong>Data</strong> <strong>Queue</strong> (CRTDTAQ) command.<br />

Key data<br />

I/O; CHAR(*)<br />

The data to be used for receiving a message from the data queue. The key of the received message is<br />

also returned in this field. It may be different than the key specified to search for. For example, if<br />

the key data parameter is set to AA on input with the key order parameter set to GE (greater than or<br />

equal to), the key of the record that is actually received could be AB or anything else greater than or<br />

equal to AA. The key data parameter is set to the actual key of the received data when the API<br />

returns.<br />

Length of sender information<br />

INPUT; PACKED(3,0)<br />

The length of the sender identification parameter. Valid values are:<br />

0<br />

No sender information is returned.<br />

8<br />

Returns only the bytes returned and bytes available fields of the sender information.<br />

> 8<br />

Return as much sender information as the length allows.<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qrcvdtaq.htm (5 of 9) [10/4/1999 2:32:20 PM]

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

Saved successfully!

Ooh no, something went wrong!