Cemt set db2tran – IBM CICS Transaction Server for OS/390 SC33-1686-02 User Manual

Page 192

Advertising
background image

CEMT SET DB2TRAN


THREADWAIT parameter on the DB2CONN. The
transaction is terminated with abend code AD3T.

All parameters on SET DB2ENTRY can be set whilst the
CICS DB2 attachment is active and the transactions are
active.

CEMT SET DB2TRAN

Function:

specify this to set the attributes of a particular

DB2TRAN associated with a DB2ENTRY.

Description:

The DB2TRAN is identified by the name it

was defined with in CEDA. For RCTs migrated to the CSD,
the name matches the name of the transaction for which the
DB2TRAN is being created.

If a transid is specified on a DB2ENTRY when the
DB2ENTRY is installed, CICS installs a DB2TRAN named
DFHxxxx, where xxxx is the transid.

Syntax:

Press the Clear key to clear the screen. There are

two ways of commencing this transaction

Type

CEMT SET DB2TRAN

(the minimum abbreviation is

CEMT S DB2T

) with either a value corresponding 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

(

CEMT S DB2T

) with either the

name of a DB2TRAN or ALL, followed by one or more
attribute settings that you wish to change. For example,

cemt s db2t all db2e(entry1)

will set all DB2TRANs to

refer to a DB2ENTRY 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 ──────────────────────────

──

───────────────────────

──

─────────────────────

─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 this
additional transid should be associated.

Transid

specifies the transaction id to be associated with the
entry. The transaction id can include wildcard characters
(see the

CICS Resource Definition Guide for information

about use of wildcard characters). If you change
TRANSID for a DB2TRAN 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.

DB2TRAN parameters may be set at any time.

174

CICS Supplied Transactions

Advertising