× 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.



Thanks for the input.

From the qwcjbitp doc: The program will run in the target job under the same user profile as the caller of this API.

So the output identification on the queue would show Job B identification instead of Job A identification.

Mike

On 10/11/2010 11:37 AM, CRPence wrote:
On 11-Oct-2010 10:01, Mike Amos wrote:
* Need to generate job logs for Job A from Job B.
* Need both database output (primary and secondary) and
spooled output.
* Need the spooled output to show Job A job
number/user name/job name.

Note that Spooled output format is not guaranteed so I cannot
simply read in a spooled file and hope to consistently parse out
needed information. Therefore, my need for both DB and spooled
file.

I can use QMHCTLJL to set Job A to output to the DB files using
DSPJOBLOG OUTPUT(*APIDFN) but "*APIDFN can only be specified if
JOB(*) was also specified". So, I cannot generate the files from
Job B.

<<SNIP>>

I've also looked for an exit program that
would provide what I need without success.

Any help would be appreciated.


Perhaps accomplish the effect by running the DSPJOBLOG in the primary
thread of the active job A, via a request from job B, using the Call Job
Interrupt Program (QWCJBITP) API:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qwcjbitp.htm


Regards, Chuck


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.