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.

Retrieve <strong>Data</strong> <strong>Queue</strong> Description (QMHQRDQD) API<br />

Retrieve <strong>Data</strong> <strong>Queue</strong> Description (QMHQRDQD) API<br />

Required Parameter Group:<br />

1 Receiver variable Output Char(*)<br />

2 Length of receiver variable Input Binary(4)<br />

3 Format name Input Char(8)<br />

4 Qualified data queue name Input Char(20)<br />

Threadsafe: Yes<br />

The Retrieve <strong>Data</strong> <strong>Queue</strong> Description (QMHQRDQD) API retrieves the description and attributes of a<br />

data queue. Examples include the number of entries currently on the data queue, the text description of the<br />

data queue, whether the queue includes sender ID information, and whether the data queue is keyed.<br />

The attributes of a distributed data management (DDM) data queue can be retrieved with this API.<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 />

Receiver variable<br />

OUTPUT; CHAR(*)<br />

The receiver variable that receives the information requested. You can specify the size of the area to<br />

be smaller than the format requested as long as you specify the length parameter correctly. As a<br />

result, the API returns only the data that the area can hold.<br />

Length of receiver variable<br />

INPUT; BINARY(4)<br />

The length of the receiver variable provided. The length of receiver variable parameter may be<br />

specified up to the size of the receiver variable specified in the user program. If the length of<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qmhqrdqd.htm (1 of 7) [10/4/1999 2:32:25 PM]

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

Saved successfully!

Ooh no, something went wrong!