Multi-hold Services function


Purpose

To allow jobs to be held by category and with annotation.

Function identifier

MHS

Dependencies

Control File

Description of usage

Multi-hold Services (MHS) allows jobs to placed into specific hold categories so that it is easier to determine why the job is being held. To complement this capability, MHS also supports the ability to add an annotation to the job.

At present, there are four categories of MHS holds or delays:

  • JAL holds are applied in JAL through the MHS ADD action statement, and can be removed with the MHS_JAL RELEASE command.
  • OPERator holds are applied and removed with the/MHS_OPER HOLD and MHS_OPER RELEASE commands.
  • TM holds are applied automatically when ThruPut Manager must hold a job for reasons such as catalog errors, and can be removed with the MHS_TM RELEASE command.
  • VOLume delays are applied automatically when ThruPut Manager determines that a DASD volume required by the job is unavailable. You can allow these jobs to run with the MHS_VOL RELEASE command.

Note that MHS does not actually hold jobs in the VOL category. Instead, it removes the system affinity so that the job is not eligible to be selected, thereby delaying the job. For simplicity, this delay is treated as a hold in some displays and commands.

These holds are independent of both z/OS JES2 holds and other ThruPut Manager holds (JSS, JBS, etc.). Jobs can have one or more of these holds and other holds applied simultaneously.

To display a summary of MHS information

/MHS DISPLAY SUMMARY

This command displays a summary of MHS information, including the last times the MHS application was cold started and warm started, and a summary of the number of jobs held for each MHS category.

To display jobs managed by MHS

/MHS DISPLAY JOBS

This command displays a list of every job managed by MHS.

To display jobs held for a specific MHS category

/MHS_JAL DISPLAY JOBS
/MHS_OPER DISPLAY JOBS
/MHS_TM DISPLAY JOBS
/MHS_VOL DISPLAY JOBS

These commands display a tabular summary of all jobs held for the selected MHS hold category.

To display MHS details for a job

/MHS_JAL DISPLAY 2233
/MHS_OPER DISPLAY 2109
/MHS_TM DISPLAY 'UPDAT04'
/MHS_VOL DISPLAY 10923

If an annotation has been made for a job held by MHS, these commands display it. For the OPER category, the annotation must have been added by the NOTES keyword on the command that held the job. For the TM and VOL categories, the annotation is generated automatically, and provides specific information about why ThruPut Manager applied the hold or delay.

To apply an MHS hold to a job

/MHS_OPER HOLD 6183 ID(WAITTIL2) NOTES('Hold until 2 PM')

This applies an OPER hold and saves information about it. The ID keyword assigns an MHS Group identifier that you can use to manage several jobs at once.

To release jobs held by MHS

/MHS_JAL RELEASE 2233 ID(MAINT)
/MHS_OPER RELEASE 6183 ID(TEST)
/MHS_TM RELEASE 'BMPWKLY'
/MHS_VOL RELEASE 2008

You can release jobs by name or job number from any MHS hold category. For example:

/MHS_JAL RELEASE 'UPDAT66' ID(BMPWKLY)

If jobs in the OPER category are assigned to an MHS Group, you can release them as a group:

/MHS_OPER RELEASE 'MAINT' ID(WAITTIL2)

Jobs automatically placed in the MHS hold category TM are grouped by abend code or catalog name, depending on the condition that caused the MHS hold to be applied. These jobs can also be released as a group:

/MHS_TM RELEASE JOBS CATALOG(SYS1CAT.*)

Jobs automatically placed in the VOL category can be grouped by volume serial number for purposes of releasing them:

/MHS_VOL RELEASE JOB VOLUME(RES093)

MHS command summary

Command Name

Purpose

MHS  [? |  HELP]

Displays a list of all the available commands for the MHS function.

MHS  DISPLAY

Displays MHS information for the job specified or for all jobs held by MHS.

MHS_JAL DISPLAY

Displays MHS_JAL information for the job specified or for all jobs held by MHS for the JAL category. A summary of MHS_JAL information can also be requested.

MHS_JAL RELEASE

Removes a job from the MHS_JAL hold category

MHS  RELEASE

Removes jobs from all MHS hold categories.

MHS_OPER  DISPLAY

Displays MHS_OPER information for the job, or for all jobs held by MHS for the OPERator category.

MHS_OPER  HOLD

Applies an MHS HOLD to a job and places it in the OPERator category.

MHS_OPER  RELEASE

Removes jobs from the MHS_OPER hold category.

MHS_TM  DISPLAY

Displays MHS_TM information for the job, or for all jobs held by MHS for the TM category.

MHS_TM  RELEASE

Removes jobs from the MHS_TM hold category.

MHS_VOL DISPLAY

Displays MHS_VOL information for the job, or for all jobs delayed by MHS for the VOL category.

MHS_VOL  RELEASE

Removes jobs from the MHS_VOL category.


 

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

BMC Compuware ThruPut Manager 18.02