Function
To process a transient data (TD) queue.
Syntax

SET TDQUEUE
>>-SET TDQUEUE--(--data-value--)-------------------------------->
>--+-------------------------------------------------------------------------------------------+-->
'-,OPENSTATUS(-+-OPEN---+-)-+-----------------------------+-+-----------------------------+-'
'-CLOSED-' '-,PROCESSTRANSIDS(-+-YES-+-)-' '-,PROCESSPROGRAMS(-+-YES-+-)-'
'-NO--' '-NO--'
>--+-----------------------------------------------------------------------------------------------+-->
'-,ENABLESTATUS(-+-ENABLED--+-)-+-----------------------------+-+-----------------------------+-'
'-DISABLED-' '-,PROCESSTRANSIDS(-+-YES-+-)-' '-,PROCESSPROGRAMS(-+-YES-+-)-'
'-NO--' '-NO--'
>--+---------------+-------------------------------------------><
'-,CICS(applid)-'
Note: Although all the options in the syntax diagram
are shown as optional, you must specify at least either the OPENSTATUS
parameter or the ENABLESTATUS parameter. For example, as a minimum,
the command could be:
SET TDQUEUE(ANYQ),OPENSTATUS(CLOSED)
Parameters
- CICS(applid)
- Specifies the applid of the CICS® region
to which this command is to be routed. If you omit this option, the
command is routed to the default CICS region
specified by the most recent DEFAULT command.
- ENABLESTATUS({ENABLED | DISABLED})
- Specifies whether the TD queue is to be enabled or disabled
to CICS.
- OPENSTATUS({OPEN | CLOSED})
- Specifies whether the TD queue is to be closed or opened in
the CICS region.
- PROCESSPROGRAMS({YES | NO})
- Specifies whether any program specified in the CICS BAC control
file is to be processed, depending on the status of the TD queue,
as follows:
- If the command specifies OPENSTATUS(OPEN) and ENABLESTATUS(ENABLED), the associated programs are ENABLED.
- If the command specifies OPENSTATUS(CLOSED) or ENABLESTATUS(DISABLE), the associated programs
are DISABLED.
- PROCESSTRANSIDS({YES | NO})
- Specifies whether any transaction specified in the CICS BAC control
file is to be processed, depending on the status of the TD queue,
as follows:
- If the command specifies OPENSTATUS(OPEN) and ENABLESTATUS(ENABLED), the associated transactions are ENABLED.
- If the command specifies OPENSTATUS(CLOSED) or ENABLESTATUS(DISABLE) is specified, the associated
transactions are DISABLED.
- TDQUEUE(queuename)
- Specifies the CICS 4–character transient
data queue name.