CICS DELETE TSQ

CICS READ TSQ CICS INQUIRE TSQ

Advertisements


Deletes temporary storage queue.

'

QUEUE(queue-name):

Specifies the QNAME that is to be written.

As specified earlier, the QNAME would be up to 16 characters long.

Temporary Storage Queue can be created with dynamic names to avoid duplicate queues creation.

The name of the Temporary Storage Queue can be created by using the symbolic name provided in application program and the second half would be timestamp of the execution time.

Temporary Storage Queue name would be a combination of symbolic name (Program name most of the cases) and the timestamp (current time portion).

Ex: TEMPPROG11060309

If the QNAME defined in Temporary storage tables and the entry is remote, the request will be transferred to remote system.

If no SYSID is present, then based on the TST definition the Queue will be decided whether it is a local or remote.

If SYSID presents, then system won’t check for TST entries and directly assumes it as a Remote one.

SYSID(sysid-name):

Specifies where the DELETEQ command is to run.

Sysid-name is of 4 characters and used region short name to refer the same.

If no SYSID is present, then based on the TST definition the Queue will be decided whether it is a local or remote.

If SYSID presents, then system won’t check for TST entries and directly assumes it as a Remote one.

Error Conditions:

INVREQ:

Occurs when the queue is locked upon restart.

IOERR:

Occurs when the queue is not available during the I/O operation on file.

.

NOTAUTH:

Occurs when security check is unsuccessful on QUEUE.

QIDERR:

Occurs when the QNAME is not specified by DELETEQ operation.

SYSIDERR:

SYSIDERR occurs in the following conditions.

1. The SYSID provided is down but a valid communications definition entry.

2. The SYSID provided is not valid communications definition entry.

3. The SYSID provided may be a valid communications definitions entry but not configured properly.

4. The SYSID provided may be a valid communications definitions entry but out of service.


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


CICS READ TSQ CICS INQUIRE TSQ

Advertisements