Today’s APIs by Example continues the coverage of APIs that provide details or shortcuts to information not easily accessed otherwise. One example of such information is a job’s current client IP address, which defines the IP address of the client currently connected to the job in question. Another example is the need to quickly spot the most recent entry in a job’s job log without having to actually open the job log and navigate to the bottom of it. The former requirement is met by, for example, the Retrieve Thread Attribute (QWTRTVTA) API, and the latter is conveniently dealt with using the Open List of Job Log Messages (QGYOLJBL) API.
Download the save file containing the source code.