You are currently on IBM Systems Media’s archival website. Click here to view our new website.

IBM i > TIPS & TECHNIQUES > SYSTEMS MANAGEMENT

An Introduction to Job Watcher Green-Screen Commands

Although Job Watcher now has a GUI, green screeners won’t be left out with four new green-screen commands.

Although Job Watcher now has a GUI, green screeners won’t be left out with four new green-screen commands.

Remove Job Watcher Definition Command

The Remove Job Watcher Definition (RMVJWDFN) command removes a Job Watcher definition (see Figure 2). To delete a particular definition, enter its name in the Definition (DFN) parameter. If you specify *SELECT for the name, you’ll be prompted with a list of Job Watcher definitions from which to choose.

Start Job Watcher Command

The STRJW command begins a Job Watcher collection using a previously defined Job Watcher definition (see Figure 3). You can override the job name, task name or TDE number(s) provided in the definition by entering values in STRJW.

In the STRJW command, use the End Collection (ENDCOL) parameter to specify how you want the collection to end. You can do this in one of four ways:

  • *NOITVDTA ends Job Watcher when there’s an interval with no data collected.
  • *NBRSEC ends Job Watcher after a specified number of seconds has elapsed.
  • *DASDMB ends Job Watcher after the collection has reached the specified size (in MB).
  • *NBRITV ends Job Watcher after a specified number of intervals.

End Job Watcher Command

The End Job Watcher (ENDJW) command provides another way to end a Job Watcher collection in addition to the ENDCOL parameter of the Start Job Watcher command (see Figure 4). Running ENDJW ends the collection before the criteria specified in STRJW would do so otherwise. You can specify the collection name to end or use *SELECT to choose from a list of active Job Watcher collections.

More to Come

I hope this brief introduction helps you as you use Job Watcher to collect your performance data. Look for my next article about advanced Job Watcher topics (including condition controls) in an upcoming issue.

Dave Legler is a staff software engineer with IBM. Dave can be reached at dfl@us.ibm.com.



Advertisement

Advertisement

2019 Solutions Edition

A Comprehensive Online Buyer's Guide to Solutions, Services and Education.

IBM i > TIPS & TECHNIQUES > SYSTEMS MANAGEMENT

Analyzing Disk Watcher Data

Knowing how to collect and analyze your performance data can help improve your system’s performance

An Introduction to Job Watcher Green-Screen Commands

Although Job Watcher now has a GUI, green screeners won’t be left out with four new green-screen commands.

IBM Systems Magazine Subscribe Box Read Now Link Subscribe Now Link iPad App Google Play Store
IBMi News Sign Up Today! Past News Letters