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 />

use this API to receive a message from a data queue that exists on a remote AS/400. However, using this<br />

API to receive messages without removing them from the data queue is not supported for DDM data<br />

queues.<br />

Authorities and Locks<br />

<strong>Data</strong> <strong>Queue</strong> Authority<br />

*OBJOPR and *READ<br />

<strong>Data</strong> <strong>Queue</strong> Library Authority<br />

*EXECUTE<br />

<strong>Data</strong> <strong>Queue</strong> Lock<br />

*EXCLRD<br />

Required Parameter Group<br />

<strong>Data</strong> queue name<br />

INPUT; CHAR(10)<br />

The name of the data queue to receive the data from.<br />

Library name<br />

INPUT; CHAR(10)<br />

The name of the library where the data queue resides.<br />

You can use these special values for the library name:<br />

*LIBL<br />

The library list<br />

*CURLIB<br />

The job's current library.<br />

Note: To improve data queue performance, the data queue <strong>APIs</strong> remember addressing information<br />

for the last data queues used. This occurs when a specific (not *LIBL or *CURLIB) value is<br />

provided for the library name.<br />

Because the addressing information is saved, users of this API should be aware of the following<br />

scenarios.<br />

Scenario 1<br />

If,<br />

❍<br />

❍<br />

❍<br />

a job references a library-specific data queue,<br />

the data queue is moved using the Move Object (MOVOBJ) command or renamed using the<br />

Rename Object (RNMOBJ) command, and<br />

a new data queue is created with the same name and library as the data queue that was<br />

renamed or moved,<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qrcvdtaq.htm (2 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!