APIs by Example: Using the ERRC0200 Data Structure

In this week’s APIs by Example, Carsten Flensburg has written a sample program that demonstrates the ERRC0200 data structure.

The downloadable code for this article implements a DSPRTGDTA command that, when run, will display the routing data of your job in the message line of your screen.

The Retrieve Job Information (QUSRJOBI) API is used to retrieve the routing data. If you wanted to, you could change this utility to display a different job attribute such as the job’s internal ID, run priority, or time slice, as this API returns all of this information.

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