APIs by Example: Displaying Job Client IP Address and Job Log Information Using APIs

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.

Read the entire article.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s