IBM Support

QSYS2.ACTIVE_JOB_INFO()

News


Abstract

The information returned is similar to the detail seen from the Work with Active Jobs (WRKACTJOB) command and the List Job (QUSLJOB) API. The ACTIVE_JOB_INFO table function has two uses:

1. To see details for all, or a subset of, active jobs. A subset of active jobs can be requested by using the optional filter parameters.
2. To measure elapsed statistics for active jobs. You can use an optional parameter to reset statistics, similar to the WRKACTJOB command F10 Restart Statistics function. Measurements will be calculated based on this new starting point.

Content

For complete detail, visit this IBM Documentation page: ACTIVE_JOB_INFO table function
 

Enhanced with IBM i 7.5 SF99950 Level 3 & IBM i 7.5 SF99704 Level 23:

  • ACTIVE_JOB_INFO table function returns the workload group information as part of the WORK subset of data

Enhanced with IBM i 7.5 SF99950 Level 1, IBM i 7.4 SF99704 Level 20, and IBM i 7.3 SF99703 Level 28:

  • Add a new DETAILED_INFO value of WORK, to return a subset of columns related to work management

Enhanced with IBM i 7.4 SF99704 Level 15 and IBM i 7.3 SF99703 Level 26:

  • Add the WORKLOAD_GROUP column
Enhanced with IBM i 7.4 SF99704 Level 13 and IBM i 7.3 SF99703 Level 24:
  • Add the JOB_NAME_SHORT, JOB_USER, and JOB_NUMBER columns

Enhanced with IBM i 7.4 SF99704 Level 10 and IBM i 7.3 SF99703 Level 22:

  • Add the OPEN_FILES column
Enhanced with IBM i 7.4 SF99704 Level 7 and IBM i 7.3 SF99703 Level 18:
  • Add the JOB_TYPE_ENHANCED column

What's new with IBM i 7.3 SF99703 Level 11 and IBM i 7.2 SF99702 Level 23:

  • Optional DETAILED_INFO parameter and many new return columns

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
10 October 2022

UID

ibm11128579