× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 09 Oct 2013 05:32, Jack Kingsley wrote:
Is there a way to capture active jobs job description data. I know
how to get the active jobs but not the jobd information. RTVJOBA does
not have it either.

RTVJOBA would only be applicable to the current job anyhow; i.e. the JOB() parameter is not to specify what job from which the attributes are retrieved, that parameter is a return-value that is the name of the job in which the request was made.

Presumably the QUSLJOB API is being used to "get the active jobs"? If so, then by using the Format JOBL0200 for "Basic job list with keyed return fields", specify in the "Optional Parameter Group 2" the following /key/ in the array of "Key of fields to return", such that each listed job will have its qualified Job Description name included:
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/qusljob.htm
_i List Job (QUSLJOB) API i_
"...
_Valid Keys_

The following table contains a list of the valid keys. The descriptions of all the valid key attributes are described in Work Management API Attribute Descriptions (WMAttrDesc).
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/WMAttrDesc.htm

Key Type Description
...
1003 CHAR(20) Job description name - qualified
..."


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.