Define a DB2TRAN in the local system.
CREATE DB2TRAN >>-CREATE DB2TRAN(data-value)--ATTRIBUTES(data-value)-----------> >--ATTRLEN(data-value)--LOGMESSAGE(cvda)----------------------->< CREATE DB2TRAN attribute values: |--+---------------------+--ENTRY(char8)--+----------------+----| '-DESCRIPTION(char58)-' '-TRANSID(char4)-'
Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH
The CREATE DB2TRAN command installs a DB2TRAN definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. If there is already a DB2TRAN with the name you specify in the local CICS region, the new definition replaces the old one; if not, the new definition is added. If there is already a DB2TRAN in the local CICS region that specifies the same TRANSID, the command fails, as each transaction can only have one DB2TRAN definition.
A syncpoint is implicit in CREATE DB2TRAN processing, except when an exception condition is detected early in processing the command. Uncommitted changes to recoverable resources made up to that point in the task are committed if the CREATE executes successfully, and rolled back if not.