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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Send <strong>Data</strong> <strong>Queue</strong> (QSNDDTAQ) API<br />

❍<br />

Scenario 3<br />

If,<br />

❍<br />

❍<br />

❍<br />

then,<br />

❍<br />

the job continues to reference the original DDM data queue, not the newly created data queue.<br />

a job references a DDM data queue, which starts a DDM target job (DDM conversation) on a<br />

remote system that references a library-specific data queue,<br />

the data queue on the remote system is moved using the Move Object (MOVOBJ) command<br />

or renamed using the Rename Object (RNMOBJ) command, and<br />

on the remote system, a new data queue is created with the same name and library as the data<br />

queue that was renamed or moved,<br />

the DDM target job continues to reference the original data queue on the remote system, not<br />

the newly created data queue, only when the same DDM target job is used for the subsequent<br />

data queue operation. If a new DDM target job is used for the subsequent data queue<br />

operation, then the newly created data queue will be used on the remote system.<br />

Note: For more information on creating DDM data queues and on DDM target jobs, see the<br />

Distributed <strong>Data</strong> Management book.<br />

Length of data<br />

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

<strong>Data</strong><br />

The number of characters to be sent to the data queue.<br />

Note: An error occurs if the value specified is greater than the length specified by the maximum<br />

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

INPUT; CHAR(*)<br />

The data to be sent to the data queue.<br />

Note: If the length of this field is larger than the length of data parameter, only the number of<br />

characters (beginning from the left) as defined by the length of data parameter are sent to the data<br />

queue. If the length of this variable is smaller than the length of data parameter, unexpected results<br />

can occur.<br />

Optional Parameter Group 1<br />

Length of key data<br />

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

The number of characters in the key data parameter.<br />

Note: The maximum value is the value that is specified on the KEYLEN parameter on the Create<br />

<strong>Data</strong> <strong>Queue</strong> (CRTDTAQ) command.<br />

Key data<br />

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

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

Saved successfully!

Ooh no, something went wrong!