Define a temporary Storage Table in the local CICS region.
CREATE TSMODEL >>-CREATE TSMODEL(data-value)--ATTRIBUTES(data-value)-----------> >--ATTRLEN(data-value)--LOGMESSAGE(cvda)----------------------->< CREATE TSMODEL attribute values: .-LOCATION(AUXILIARY)-. |--+---------------------+--+---------------------+-------------> '-DESCRIPTION(char58)-' '-LOCATION(MAIN)------' >--+-----------------+--+-----------------+---------------------> '-POOLNAME(char8)-' +-PREFIX(char16)--+ '-XPREFIX(char32)-' .-RECOVERY(NO)--. >--+---------------+--------------------------------------------> '-RECOVERY(YES)-' >--+----------------------------------------------+-------------> '-REMOTESYSTEM(char4)-+----------------------+-' +-REMOTEPREFIX(char16)-+ '-XREMOTEPFX(char32)---' .-SECURITY(NO)--. >--+---------------+--------------------------------------------| '-SECURITY(YES)-'
Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH
The CREATE TSMODEL command installs a TSMODEL definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. If there is already a TS model with the name you specify in the local CICS region, the new definition replaces the old one; if not, the new definition is added.
No two TS models may have the same prefix. An attempt to add or replace a model which would result in there being two models with the same prefix will therefore fail.
A syncpoint is implicit in CREATE TSMODEL 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. See Creating resource definitions for other general rules governing CREATE commands.