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.
Last Wiki Answer Submitted: April 4, 2007 12:54 pm by WaltZ400645 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
You can check for the job type in
rtvjoba (’0′ is Batch & ’1′ is interactive)