Define a DB2ENTRY in the local system.
CREATE DB2ENTRY >>-CREATE DB2ENTRY(data-value)--ATTRIBUTES(data-value)----------> >--ATTRLEN(data-value)--LOGMESSAGE(cvda)----------------------->< CREATE DB2ENTRY attribute values: |--+---------------------+--+----------------+------------------> '-DESCRIPTION(char58)-' '-TRANSID(char4)-' .-ACCOUNTREC(none)-. >--+------------------+--+---------------+----------------------> +-ACCOUNTREC(uow)--+ '-AUTHID(char8)-' +-ACCOUNTREC(task)-+ '-ACCOUNTREC(txid)-' .-AUTHTYPE(userid)-. .-DROLLBACK(yes)-. >--+------------------+--+----------------+--+-------------+----> +-AUTHTYPE(group)--+ '-DROLLBACK(no)--' '-PLAN(char8)-' +-AUTHTYPE(signid)-+ +-AUTHTYPE(term)---+ +-AUTHTYPE(txid)---+ '-AUTHTYPE(opid)---' .-PLANEXITNAME(DSNCUEXT)-. .-PRIORITY(high)--. >--+------------------------+--+-----------------+--------------> '-PLANEXITNAME(char8)----' +-PRIORITY(equal)-+ '-PRIORITY(low)---' .-PROTECTNUM(0)------. .-THREADLIMIT(0)------. >--+--------------------+--+---------------------+--------------> '-PROTECTNUM(0-2000)-' '-THREADLIMIT(0-2000)-' .-THREADWAIT(pool)-. >--+------------------+-----------------------------------------| +-THREADWAIT(yes)--+ '-THREADWAIT(no)---'
Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH
The CREATE DB2ENTRY command installs a DB2ENTRY definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. If there is already a DB2ENTRY with the name you specify in the local CICS region, the command fails unless the existing DB2ENTRY is disabled, in which case the new definition replaces the old one. If no DB2ENTRY with the name specified exists, the new definition is added.
A syncpoint is implicit in CREATE DB2ENTRY 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.