Job analysis affinity


This section documents The Job Analysis Affinity facility. It allows an installation to control the affinity of a job for conversion and analysis purposes.

Description

The Job Analysis Affinity facility of BMC ThruPut Manager allows an installation to specify a system, or systems, affinity default in a MAS complex for the CONVERSION and analysis process. The default is applicable to the jobs entering a system where this facility (AFFINITY) has been requested.

In a standard JES2 system, the default value is ANY and no facilities are provided to change it.

How to Request the Service

The BMC ThruPut Manager JES2 statement TMPARM provides a keyword for this purpose. The syntax is:

AFFINITY=* 
AFFINITY=ANY
AFFINITY=(sys1,sys2,...)

Where:

*

Indicates that the affinity is to be set for "this system". That is, the system where the job was submitted.

ANY

This is the default, if this keyword is not used.

(sys1,sys2,...)

A list of valid JES2 system names. Up to seven can be specified. You can also specify combinations of the above. For example:

AFFINITY=(*,sys6)

means "this system" and SYS6.

Note

  • Once the job has completed analysis, the job affinity reverts to ANY.
  • If the job is EXEMPT (no BMC ThruPut Manager processing) the affinity reverts to ANY after conversion is done.
  • If the job contains a /*JOBPARM statement that requests affinity, or if the RDR that processed the job is set to a specific affinity, their values override the AFFINITY value in TMPARM.

Considerations

In situations where jobs are to be converted, analyzed, and executed in the same system where they were submitted the following is necessary:

  • Include the AFFINITY=* keyword in the TMPARM JES2 initialization statement (for each system).
  • In JAL, you have to test for the system where JAL is running. This is best shown with an example:

IF ($JALSYS(SYS1))
   JBS SET SYSAFF(SYS1)
ORIF ($JALSYS(STSO))
   JBS SET SYSAFF(STSO) 
OTHERWISE
   JBS SET SYSAFF(SIMS)
ENDIF

In this example there are three systems in the MAS complex, named SYS1, STSO, and SIMS. The above logic and action statements (combined with the use of AFFINITY=* in the TMPARM statement) ensures that the jobs are converted and can only be selected for execution in the system where they were submitted.


 

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