Work With Job and Select a Thread …. to Print Thread Stacks

In the 7.1 release, the Work with Job (WRKJOB) command was enhanced; you can determine this by going to the CL Command Finder and take the option to display “All changed commands.” The Knowledge Center will show you a list of changed commands and you can read the documentation on the command. Of course, there’s a slight problem in that commands are not change-flagged, so you cannot actually see what changed. You need to compare the command documentation with that of the prior release to figure out exactly what has changed. IBM finally started change flagging commands with the 7.4 release.

(more…)

Name that Thread

Did you know that beginning with the 7.1 release, you can name the secondary threads you create in a process?  Prior to 7.1, the system assigned a thread ID and there was no interface to specify a thread name.  However, thread IDs can be difficult to work with, particularly when doing problem determination, because the IDs provide no indication of what that thread is for. You’d have to go in through the work management interfaces to display each thread and examine its call stack to have some idea of what that thread may be doing. 

(more…)