Define a journal model in the local CICS region.
CREATE JOURNALMODEL >>-CREATE JOURNALMODEL(data-value)--ATTRIBUTES(data-value)------> >--ATTRLEN(data-value)--LOGMESSAGE(cvda)----------------------->< CREATE JOURNALMODEL attribute values: |--+---------------------+--+--------------------+--------------> '-DESCRIPTION(char58)-' '-JOURNALNAME(char8)-' .-STREAMNAME(&USERID..&APPLID..&JNAME;)-. .-TYPE(MVS)---. >--+---------------------------------------+--+-------------+---| '-STREAMNAME(char26)--------------------' +-TYPE(DUMMY)-+ '-TYPE(SMF)---'
Conditions: ILLOGIC, INVREQ, LENGERR, NOTAUTH
The CREATE JOURNALMODEL command installs a JOURNALMODEL definition with the attribute specified on the command. It does not use a resource definition stored in the CSD. If there is already a journal model with the name you specify in the local CICS region, the new definition replaces the old one; it not, the new definition is added.
A syncpoint is implicit in CREATE JOURNALMODEL 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.