CICS WRITE TDQ

CICS TDQ CICS READ TDQ

Advertisements


Write data to transient data queue.

WRITE TD Queue command would be safe if the connection is IPIC.

WRITE TD Queue command if the connection is other than IPIC.

For the above two cases, the command can be executed in local region or remote region.

WRITEQ TD writes transient data to symbolic destination queue.

'

Options:

FROM(data-area)

Specifies the data that needs to be written to the transient data queue.

LENGTH(data-value)

Specifies the length of the data to be written to the transient data queue.

The length is Half word binary value

QUEUE(name)

Specifies the symbolic name of the queue from where the data read from.

Name must be of length 1 - 4 alphanumeric characters.

The queue name must have been defined to CICS in DCT.

If SYSID is provided during the definition, the queue is assumed to be on a remote system irrespective of how it is defined.

SYSID(system-name)

Used for remote systems only.

Specifies the name of the remote system.

Name is of length 1 - 4 characters.

Error Conditions:

1 ERROR

Occurs for an error that does not raise any other condition.

Task will terminate abnormally.

16 INVREQ

Occurs if WRITEQ extra-partition queue that has been opened for input rather than output.

This condition is not applicable for intra-partition queues.

Task will terminate abnormally.

17 IOERR

Occurs when an input/output error occurs.

The data record in error is skipped.

Task will terminate abnormally.

18 NOSPACE

Occurs if no more space exists for to write the records to the intra-partition or extra-partition queue.

Also occurs relative byte address (RBA) for an intra-partition queue would exceed 2 GB.

Task will terminate abnormally.

19 NOTOPEN

Occurs if the destination connection is closed.

This condition is not applicable for intra-partition queues.

Task will terminate abnormally.

22 LENGERR

Occurs a WRITEQ name does not specify a length consistent with the RECORDSIZE. Task will terminate abnormally.

44 QIDERR

Occurs if no queue existed with the symbolic destination queue name specified.

Task will terminate abnormally.

53 SYSIDERR

Occurs if no local system or remote system found with the SYSID name provided.

Task will terminate abnormally.

70 NOTAUTH

Occurs when a resource security check has failed on QUEUE name.

Task will terminate abnormally.

84 DISABLED

Occurs when the queue has been disabled.

Task will terminate abnormally.


If any questions on the above, post your queries on CICS Discussion forum


CICS TDQ CICS READ TDQ

Advertisements