Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Send <strong>Data</strong> <strong>Queue</strong> (QSNDDTAQ) API<br />
INPUT; CHAR(*)<br />
The data sent to the data queue. This value must be at least as long as the value specified in the<br />
length of key data parameter; otherwise, unexpected results can occur.<br />
Optional Parameter Group 2<br />
Asynchronous request<br />
INPUT; CHAR(10)<br />
Whether the send data queue request to a DDM data queue should be processed asynchronously.<br />
This parameter only applies to DDM data queues. Valid values are *YES and *NO. An error will<br />
occur if *YES is specified for a non-DDM data queue. If the value *YES is specified for the<br />
asynchronous request parameter for a DDM data queue and an error occurs on the operation, the<br />
error will not be detected until the next time the data queue is accessed.<br />
Note: If this parameter is specified, the key length and key data parameters must also be specified<br />
even if they are not applicable. In that event, the key length should be zero and blanks should be<br />
specified for the key data.<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 />
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 />
CPF2498 E<br />
Invalid length. MAXLEN for data queue &1 in &2 is &3.<br />
CPF3C90 E<br />
Literal value cannot be changed.<br />
CPF6565 E<br />
User profile storage limit exceeded.<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 />
Cannot lock data queue &1 in &2.<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qsnddtaq.htm (4 of 5) [10/4/1999 2:32:39 PM]