Enable job usage information
The job scheduler records usage data for charge-back accounting when enabled through the administrative console. This function is available for all operating systems and can be enabled and disabled through configuration settings. Job usage information is not enabled by default.
Configure the job scheduler.
(ZOS) See about the SMF record type 120. Also, see the z/OS MVS System Management Facility (SMF) manual, order number SA22-7630, for additional information about using SMF records.
Tasks
- In the administrative console, click...
System administration > Job scheduler.
The Job scheduler page provides configuration settings for job usage.
- Select Record usage data in scheduler database to record job usage information to the job usage database table.
- Select to record job usage information to the System Management Facility (SMF) data set.
SMF recording is activated and deactivated along with the activation and deactivation of SMF recording for the Java EE container.
Job usage data can be recorded with either SMF 120 subtype 9 records or SMF 120 subtype 20 records. Use the RECORD_SMF_SUBTYPES job scheduler custom property to indicate the preferred subtype.
- If we are collecting SMF 120 subtype 9 records, set properties that enable SMF request activity.
We can use the administrative console or MVS Modify commands to set properties that enable SMF request activity.
- Use the administrative console:
- Click Servers > Server Types > WebSphere application servers > server > Java and Process Management > Process definition > Environment entries > New.
- Create two environment entry properties.
- Specify a name of server_SMF_request_activity_enabled and value of 1 (or true) for one property.
- Specify a name of server_SMF_request_activity_async and value of 1 (or true) for the other property.
- Use the MVS Modify commands, set the properties to on:
- f server,smf,request,on
- f server,smf,request,async,on
- On the Job scheduler page of the administrative console, select Record usage data in SMF (z/OS only).
- Click Custom properties to go to the Job scheduler custom property page. Set the RECORD_SMF_SUBTYPES custom property to 9 for subtype 9 records or to 20 for subtype 20 records.
Related:
Multiple servants z/OS workload management and service policies Transaction class propagation on z/OS operating systems Integrating batch features in z/OS operating systems Use the administrative console to enable properties for specific SMF record types Manage worker threads Configure the job scheduler SMF record type 120: overview