Set the attributes of a specific DB2TRAN resource
that is associated with a DB2ENTRY resource.
In the CICS Explorer, the DB2 transactions operations view provides
a functional equivalent to this command.
Description
If a transaction identifer is
specified on a DB2ENTRY resource when the DB2ENTRY is installed, CICS® installs a DB2TRAN resource
named DFHxxxx, where xxxx is the transaction identifer.
Syntax
Press the Clear key to clear the screen.
There are two ways to start this transaction:
- Type CEMT SET DB2TRAN (or suitable abbreviations
for the keywords), followed by either a value that corresponds to
a DB2® transaction name, or ALL.
You get a display that lists the current status, similar to that obtained
by CEMT INQUIRE DB2TRAN. You can then tab to the highlighted or blank
fields and overtype them with the required values.
- Type CEMT SET DB2TRAN (or suitable abbreviations
for the keywords), followed by either a value that corresponds to
a DB2 transaction name, or ALL,
then followed by one or more attribute settings that you want to change.
For example, cemt s db2t all db2e(entry1) sets all
DB2TRAN resources to refer to a DB2ENTRY resource named entry1.
Typing ? at the beginning of either the
first or second line gives a syntax prompt. Resetting the values takes
effect immediately.
CEMT SET DB2TRAN
.-------------------------.
V |
>>-CEMT SET DB2TRAN----+---------------------+-+---------------><
+-DB2ENTRY(data-area)-+
'-TRANSID(data-area)--'
Options
- DB2ENTRY
- Specifies
the name of the DB2ENTRY to which this DB2TRAN refers; that is, the
DB2ENTRY with which to associate this additional transaction identifer.
- TRANSID
- Specifies
the transaction identifer to be associated with the entry. The transaction
identifer can include wildcard characters (see Wildcard characters for transaction
IDs). If you change
TRANSID for a DB2TRAN resource while the attachment is active, all
transactions with a thread continue to use the thread from that entry
until it is released for reuse. When that transaction issues the next
SQL statement, the thread is acquired from the entry or pool based
upon the new definition.
You can set DB2TRAN parameters at any time.