CEMT INQUIRE JMODEL

Retrieve information about journal models and log stream names.

Description

The INQUIRE JMODEL command enables you to inquire on installed journal models to obtain corresponding log stream names.

The resource signature

You can use this command to display the resource signature fields. You can use these fields to manage resources by capturing details of when the resource was defined, installed, and last changed. For more information, see Auditing resources. The resource signature fields are CHANGEAGENT, CHANGEAGREL, CHANGETIME, CHANGEUSRID, DEFINESOURCE, DEFINETIME, INSTALLAGENT, INSTALLTIME, and INSTALLUSRID. See Summary of the resource signature field values for detailed information about the content of the resource signature fields.

Input

Press the CLEAR key to clear the screen. There are two ways of starting this transaction:
  • Type CEMT INQUIRE JMODEL (the minimum abbreviation is CEMT I JM). You get a display that lists the current status.
  • Type CEMT INQUIRE JMODEL (CEMT I JM) followed by as many of the other attributes as are necessary to limit the range of information that you require. So, for example, if you enter cemt i jm sm, the resulting display will show you the details of only those journal models that are of SMF log stream type.
(value)
specifies one or more journal models.
ALL
is the default.

Sample screen

  IN JMODE
  STATUS:  RESULTS
   Jmo(DFHJ02  ) Jou(DFHJ02  ) Mvs
      Str(BELL.TESTLOG.FWDRECOV     )
   Jmo(DFHLOG  ) Jou(DFHLOG  ) Mvs
      Str(&USERID..&APPLID..&JNAME. )
   Jmo(DFHSHUNT) Jou(DFHSHUNT) Mvs
      Str(&USERID..&APPLID..&JNAME. )


 

If you place the cursor against a specific entry in the list and press ENTER, CICS displays an expanded format as shown in Figure 1.

Figure 1. The expanded display of an individual entry
  IN JMODE
  RESULT
    Jmodel(DFHJ02)
    Journalname(DFHJ02)
    Type(Mvs)
    Streamname(BELL.TESTLOG.FWDRECOV)




 

CEMT INQUIRE JMODEL

Read syntax diagramSkip visual syntax diagramCEMT INQUIRE JMODELALL( value)INSTALLTIME( date time)INSTALLUSRID( value)CREATESPICSDAPIGRPLISTDEFINESOURCE( value)DEFINETIME( date time)CHANGETIME( date time)CHANGEUSRID( value)CREATESPICSDAPICSDBATCHDREPAPICHANGEAGREL( value)JOURNALNAME( value)MVSSMFDUMMYSTREAMNAME( value)

Displayed fields

JMODEL (value)
indicates that this panel relates to a journal model inquiry and displays the 8–character name of an installed journal model.
CHANGEAGENT(value)
Displays a value that identifies the agent that made the last change to the resource definition. You cannot use CEMT to filter on some of these values because they are duplicated. The possible values are as follows:
CREATESPI
The resource definition was last changed by an EXEC CICS CREATE command.
CSDAPI
The resource definition was last changed by a CEDA transaction or the programmable interface to DFHEDAP.
CSDBATCH
The resource definition was last changed by a DFHCSDUP job.
DREPAPI
The resource definition was last changed by a CICSPlex SM BAS API command.
CHANGEAGREL(value)
Displays the 4-digit number of the CICS release that was running when the resource definition was last changed.
CHANGETIME(date time)
Displays the date and time when the resource definition was last changed. The format of the date depends on the value that you selected for the DATFORM system initialization parameter for your CICS region. The format of the time is hh:mm:ss.
CHANGEUSRID(value)
Displays the 8-character user ID that ran the change agent.
DEFINESOURCE(value)
Displays the source of the resource definition. The DEFINESOURCE value depends on the CHANGEAGENT option. For details, see Summary of the resource signature field values.
DEFINETIME(date time)
Displays the date and time when the resource was created. The format of the date depends on the value that you selected for the DATFORM system initialization parameter for your CICS region. The format of the time is hh:mm:ss.
INSTALLAGENT(value)
Displays a value that identifies the agent that installed the resource. You cannot use CEMT to filter on some of these values because they are duplicated. The possible values are as follows:
CREATESPI
The resource was installed by an EXEC CICS CREATE command.
CSDAPI
The resource was installed by a CEDA transaction or the programmable interface to DFHEDAP.
GRPLIST
The resource was installed by GRPLIST INSTALL.
INSTALLTIME(date time)
Displays the date and time when the resource was installed. The format of the date depends on the value that you selected for the DATFORM system initialization parameter for your CICS region. The format of the time is hh:mm:ss.
INSTALLUSRID(value)
Displays the 8-character user ID that installed the resource.
JOURNALNAME
displays the 8–character journal name, which can be a specific or a generic name, for which this journal model can be used.
STREAMNAME
displays the MVS log stream name (LSN) associated with this journal model. The name can be a specific LSN, or a template using any 3 of the 4 symbols &USERID, &APPLID, &JNAME and &SYSID.

An LSN or template can be up to 26 characters in length.

TYPE
displays the log stream type. The possible types are:
MVS
Records for journals defined with this journal model are written to an MVS log stream.
SMF
Records for journals defined with this journal model are written to the MVS SMF data set.
DUMMY
Records for journals defined with this journal model are not written to any log stream.

For information on changing JMODEL definitions, see JOURNALMODEL resource definitions.