Add CICS TST Entry (ADDCICSTST)

Where allowed to run:
  • Batch job (*BATCH)
  • Interactive job (*INTERACT)
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
  • Batch REXX procedure (*BREXX)
  • Interactive REXX procedure (*IREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

Use the Add CICS Temporary Storage Table (ADDCICSTST) command to add an entry to the TST.

A temporary storage queue is a file used by an application program to store data for later retrieval. A Temporary Storage Table (TST) entry needs to be created for all recoverable and all remote temporary storage queues. You do not need to create TST entries for local, unrecoverable temporary storage queues.

You can create a TST entry with a generic name that can be used as a prefix to the full name that will be supplied by the application programs in EXEC CICS temporary storage commands. A prefix enables you to create one entry to apply to many temporary storage queues. CICS will use the TST entry associated with the prefix. You must take care, therefore, that there is no ambiguity in your TS queue names.

Top

Parameters

Keyword Description Choices Notes
LIB Library Communications name, *LIBL, *CURLIB Required, Positional 1
GROUP Group Communications name Required, Positional 2
TSQUEUE Queue Communications name Required, Positional 3
TYPE Type *RECOVERABLE, *REMOTE Required, Positional 4
SYSID Remote CICS system Communications name Optional, Positional 5
RMTQUEUE Remote queue name Communications name, *TSQUEUE Optional, Positional 6
Top

Library (LIB)

Enter the name of the OS/400 library that contains the group. Possible values are:

Top

Group (GROUP)

Enter the name of the group to which this TST entry is to be added.

Top

Queue (TSQUEUE)

Enter either the complete name of the queue or a partial, generic name. This is the name that will be used in EXEC CICS temporary storage commands. This name is also used to identify this TST entry.

For a generic name a partial queue name is used, for example ABC.

Top

Type (TYPE)

Indicates whether the temporary storage queue is recoverable or remote.

Possible values are:

Top

Remote CICS system (SYSID)

Enter the identifier of the system owning the temporary storage queue. The system should have a TCS entry. This field is valid only for remote queues, that is when the type field contains *REMOTE.

Top

Remote queue name (RMTQUEUE)

Enter the name by which the temporary storage queue is known on the remote system. This field is valid only for remote queues, that is when the type field contains *REMOTE.

The possible RMTQUEUE values are:

Top

Examples

None
Top

Error messages

Unknown
Top