A call to API program QUSRJOBI will pass back information regarding the job it is run in. Job type code is one of the pieces of information that gets passed from this.
The Information Center for you OS version explains how to use this API under the Programming/API section. The API finder option off this will allow you to search for an API in this case you can find it by name.
REGISTER or login: