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

*NO<br />

The message is not removed from the data queue.<br />

Size of data receiver<br />

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

The size of the area to contain the data received from the data queue. If a value of 0 is specified for<br />

this parameter, no data will be returned. If a size greater than 0 is specified, the data will be copied<br />

into the receiver up to the specified length. If the available data is longer than the length specified, it<br />

will be truncated.<br />

If this parameter is not specified, the entire message will be copied into the receiver variable.<br />

Error code<br />

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

The structure in which to return error information. For the format of the structure, see Error Code<br />

Parameter.<br />

Usage Notes<br />

This API can be used in a multithreaded job to receive messages from a local data queue. It cannot be used<br />

in a job that allows multiple threads to receive messages from a DDM data queue.<br />

Application queueing time and resource usage time for data queue usage are recorded only for messages<br />

that are received in the initial thread of a job.<br />

Error Messages<br />

CPF2207 E<br />

Not authorized to use object &1 in library &3 type *&2.<br />

CPF24B4 E<br />

Severe error while addressing parameter list.<br />

CPF2472 E<br />

Invalid wait time specified.<br />

CPF3C36 E<br />

Number of parameters, &1, entered for this API was not valid.<br />

CPF3C90 E<br />

Literal value cannot be changed.<br />

CPF9501 E<br />

<strong>Data</strong> queue &1 in &2 requires a key value.<br />

CPF9502 E<br />

Key length must be zero for data queue &1 in &2.<br />

CPF9503 E<br />

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