DFSMShsm log record collection


When DFSMShsm is started, the BMC AMI Storage ARCINEXT exit enables log record and tape mount activity collection.

When the HSM collector is started in the BMC AMI Storage SVOS address space, log records and tape mount activity are automatically logged to the HSM database. (Only the log records that are pertinent to reporting are collected and logged.)

Related topic

The following table describes how to properly set up the DFSMShsm environment for successful log collection:


Requirement

Procedure

The BMC AMI Storage ARCINEXT exit must be active in the DFSMShsm address space, and BBLINK modules must be made available to DFSMShsm through STEPLIB or LNKLST.

For more information about installing the BMC AMI Storage DFSMShsm exit routines, see System-exits.

DFSMShsm logging must be enabled.

Allocate log data sets to the ARCLOGY and ARCLOGX DD statements in the DFSMShsm startup JCL.

Full message-level logging must be active.

Specify ACTLOGMSGLVL(FULL) in the ARCCMDxx PARMLIB member.

A log switch must occur immediately upon starting DFSMShsm. Otherwise, DFSMShsm overlays the data that currently exists on the ARCLOGX data set.

Warning

If the HSM collector was not active when the existing data was written to ARCLOGX, that data is lost.

Set LOGSW=YES in the DFSMShsm startup JCL.

For more information, see:

Important

Although not recommended, you can insert the following JCL statements in an HSM Started Task to turn off online collection of HSM log data or collection of tape mount activity:

  • For log data: //MVSRMNOL DD DUMMY
  • For tape mount activity: //MVSRMNTM DD DUMMY

A subsequent message (SVOII42I for log data or SVOII43I for tape mount activity) confirms that collection is no longer active for the relevant host ID.

BMC does not recommend these statements: they can prevent access to real-time HSM log data in BMC AMI Storage Reporting views.

However, if you choose to turn off online collection of HSM log data, you can collect that data in batch. For example, you can insert the following JCL statements in your HSM Started Task:

//MVSRMJCL DD DISP=SHR,DSN=<hlg.bbsamp>(JCLHSMLX)
//MVSRMRDR DD SYSOUT=(A,INTRDR)

This MVSRMJCL statement is then submitted to the MVSRMRDR internal reader every time a HSMLOGX/Y swap is performed. To load the HSM log data to the BMC AMI Storage database, you should include a step to run program COSHM250. Member JCLHSMLD of the BMC AMI Storage BBSAMP library provides a sample.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*