Keywords and parameters

QUEUE(q-name)

Specifies that the messages from the first or only queue on the destination data set of a prior COPY or SCOPY operation are to be loaded to a named queue. Messages from any subsequent queues are loaded to queues with the same names as those they came from. The keyword QUEUE can be abbreviated to Q.

q-name specifies the name of the queue to which the messages are to be loaded. This name is case-sensitive. It must not be a model queue.

DDNAME(ddname)

Specifies that messages are to be loaded from a named data set. This keyword can be abbreviated to DD.

ddname specifies the DDname that identifies the destination data set of a prior COPY or SCOPY operation, from which the messages are to be loaded. This name is not case-sensitive, and can be up to 8 characters long.

If you omit DDname(ddname) the default DDname, CSQUINP, is used.

SKIPMSGS(n)

Specifies that the first n messages in the sequential data set are to be skipped before commencing the load of the queue.

If you omit SKIPMSGS(n) no messages will be skipped; the load will start at the first message.

MSGCOUNT(m)

Specifies that only m messages are to be read from the data set and loaded to the queue.

If you omit MSGCOUNT(m) the number of messages read is unlimited.