HSMS provides global controlling direction of HSMS user reports.
It is possible to use default values for the operand OUTPUT in action and some show/define statements. In this case, the report will be created as defined in the global HSMS parameters.
As of HSMS V12.0B there are two new operand values for the global HSMS parameter OUTPUT: *STD-FILE and *STD-LIB. If OUTPUT=*STD is defined in the action command, the report is redirected to a standard file or library depending on the setting in the corresponding global operand OUTPUT. The global setting also controls the report behavior for implicit recall jobs. If the global parameter OUTPUT is set to *STD-FILE or *STD-LIB, the report of unsuccessful implicit recall jobs is directed to a library element or SAM-file respectively, otherwise such reports are sent to printer.
The system administrator can define one of the following options using MODIFY-HSMS-PARAMETERS:
Value | Functionality |
---|---|
*PRINTER | by default user reports are directed to the printer |
by default user reports are sent via e-mail as attachments | |
*STD-FILE | by default user reports are written into a SAM file with the name generated according to the templates |
*STD-LIB | by default user reports are created as an element of a standard library. The names of the library and the element are generated automatically according to the templates |
Templates for standard report file names
The file name templates for plain files, libraries and their elements depending on the environment and the type of statements to be executed are presented below.
Remark: time stamp format (<time-stamp_13>) - YYYYDDDHHMMSS.
Name templates for plain files (*STD-FILE) look as follows:
For action statements, //RECALL-MIGRATED-FILES and implicit-recall in SF-environment:
:catid:$userid.HSM.O.<request-id_1..8>.<time-stamp_13>
For action statements, //RECALL-MIGRATED-FILES and implicit-recall in SM-environment:
:catid:$userid.HSM.O.<sm-cat-id>.<request-id_1..8>.<time-stamp_13>
For none action statements in SF-environment:
:catid:$userid.HSM.O.<time-stamp_13>
For none action statements in SM-environment:
:catid:$userid.HSM.O.<sm-cat-id>.<time-stamp_13>
Name templates for libraries (*STD-LIB) look as follows:
For action statements in SF-environment:
:catid:$userid.HSM.O.<archive-name1..21>
For action statements in SM-environment:
:catid:$userid.HSM.O.<sm-cat-id>.<archive-name1..21>
For none action statements, //RECALL-MIGRATED-FILES and implicit-recall in SF-environment:
:catid:$userid.HSM.O.<alias>
For none action statements, //RECALL-MIGRATED-FILES and implicit-recall in SM-environment:
:catid:$userid.HSM.O.<sm-cat-id>.<alias>
Name templates for library elements look as follows:
For action-statements, //RECALL-MIGRATED-FILES and implicit-recall:
HSM.O.<request-id_1..8>.<time-stamp_13>
For none action statements:
HSM.O.<time-stamp_13>