Change CICS DCT Entry (CHGCICSDCT)

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 Change CICS Destination Control Table (CHGCICSDCT) command to change an entry DCT.

Each DCT entry defines a destination to which data may be sent. In CICS systems, a destinations is a transient data (TD) queue. There are four types of destination:

The DCT also defines whether or not an intrapartition TD queue can be used for automatic transaction initiation (ATI).

Top

Parameters

Keyword Description Choices Notes
LIB Library Communications name, *LIBL, *CURLIB Required, Positional 1
GROUP Group Communications name Required, Positional 2
DEST Destination Communications name Required, Positional 3
TYPE Type *SAME, *EXTERNAL, *INDIRECT, *INTERNAL, *REMOTE Optional, Positional 4
DESTSTS Status *SAME, *ENABLED, *DISABLED Optional, Positional 5
RECOVER Recoverable *SAME, *NO, *YES Optional, Positional 6
TRGLVL ATI trigger level 0-32767, *SAME Optional, Positional 7
TRANSID Transaction Character value, *SAME Optional, Positional 8
DEVTYPE CICS device indicator *SAME, *TERMINAL, *FILE Optional, Positional 9
CICSDEV CICS device Communications name, *SAME, *DEST Optional, Positional 10
FILE File Qualified object name Optional, Positional 11
Qualifier 1: File Name, *SAME
Qualifier 2: Library Name, *SAME, *LIBL, *CURLIB
MBR Member Name, *SAME, *FIRST Optional, Positional 12
OPENOPTION File processing *SAME, *INPUT, *OUTPUT, *READBACK Optional, Positional 13
RCDFMT Record format *SAME, *FIXED, *VARIABLE Optional, Positional 14
STGDEV Device *SAME, *DASD, *TAPE, *DISKETTE, *PRINTER Optional, Positional 15
RMTDEST Remote destination Communications name, *SAME, *DEST Optional, Positional 16
SYSID Remote CICS system Communications name, *SAME Optional, Positional 17
LENGTH Maximum record length 0-32767, *SAME Optional, Positional 18
PHYDEST Indirect destination Communications name, *SAME Optional, Positional 19
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 belongs the DCT entry to be changed.

Top

Destination (DEST)

Enter the destination identifier. This identifier will be used in EXEC CICS commands to access transient data queues. This identifier is also the name that will be used to identify this DCT entry.

Top

Type (TYPE)

Enter the type of transient data queue.

Possible values are:

Top

Status (DESTSTS)

Indicates whether or not the destination identifier can be used. This field is not valid for intrapartition destinations, that is when the type field contains *INTERNAL.

Possible values are:

Top

Recoverable (RECOVER)

Indicates whether or not the transient data queue associated with the destination identifier is recoverable or not recoverable. This parameter is valid only for an intrapartition destination, that is when the type field contains *INTERNAL.

Note: If this DCT entry is defining CSMT, this field must be *NO.

Possible values are:

Top

ATI trigger level (TRGLVL)

Enter the number of records to accumulate in the queue in order to start automatically the transaction to process them. This is known as automatic transaction initiation (ATI). This field is valid only for intrapartition destinations, that is when the type field contains *INTERNAL.

The transaction identifier is specified in the transaction identifier field.

Possible values are:

Top

Transaction (TRANSID)

Enter the name of the transaction to be started when the number of records reaches the trigger level. This field is not valid if the trigger level field contains 0.

Possible values are:

Top

CICS device indicator (DEVTYPE)

Indicates whether or not a terminal identifier is to be associated with the ATI transaction identifier. This field is not valid when the trigger level field contains 0.

Possible values are:

Top

CICS device (CICSDEV)

Enter the identifier of the terminal to be used to run the ATI transaction. This field is valid only when the device type field contains *TERMINAL.

Possible values are:

Top

File (FILE)

Enter the name of the file that will be used by the destination identifier. This field is valid only for an extrapartition destination, that is when the type field contains *EXTERNAL.

Possible library values are:

Possible file name values are:

Top

Member (MBR)

Enter the name of the member that will be used by the destination identifier. This field is valid only for extrapartition destinations, that is when the type field contains *EXTERNAL.

Possible values are:

Top

File processing (OPENOPTION)

Indicates how the file is to be processed, namely:

This parameter is valid only for extrapartition destinations, that is when the type field contains *EXTERNAL.

Possible values are:

Top

Record format (RCDFMT)

Indicates the record format of the file. This field is valid only for extrapartition destinations, that is when the type field contains *EXTERNAL.

Possible values are:

Top

Device (STGDEV)

Indicates the storage medium of the file. This field is valid only for extrapartition destinations, that is when the type field contains *EXTERNAL.

Possible values are:

Top

Remote destination (RMTDEST)

Enter the identifier by which the destination is known on the remote system. This field is valid only for remote destinations, that is when the type field contains *REMOTE.

Possible values are:

Top

Remote CICS system (SYSID)

Enter the remote system identifier. The system must have an entry in the remote TCS. This field is valid only for remote destinations, that is when the type field contains *REMOTE.

Possible values are:

Top

Maximum record length (LENGTH)

Enter the maximum length in bytes of the records in the transient data queue. This value must be the same as that specified for the queue in the remote system. This field is valid only for remote queues, that is when the type field contains *REMOTE.

Possible values are:

Top

Indirect destination (PHYDEST)

Enter the identifier of the destination to which this DCT entry points. This identifier should have a DCT entry defining the queue as *INTERNAL, *EXTERNAL, or *REMOTE. This field is valid only for indirect destinations, that is when the type field contains *INDIRECT.

Possible values are:

Top

Examples

None
Top

Error messages

Unknown
Top