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



Rob,

I played around with JOB_INFO and GET_JOB_INFO.
In both cases, I was not able to select a specific job, which is what I need for the next step.
Selecting by job name was not an option.

The bigger goal is to find and release the latest spoolfile for a specific job.
I know the job name, spoolfile name, user data.
I do NOT know the job number.

I also looked at the Spool Services, hoping to maybe being able to select the exact spool file, no luck there.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob Berendt
Sent: Friday, February 02, 2018 4:39 PM
To: Midrange Systems Technical Discussion
Subject: Re: Order of output for QUSLJOB API

I find this a spiffy way to sort
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/QSYS2.JOB_INFO%20UDTF

or
http://ibm.biz/DB2foriServices
QSYS2.JOB_INFO()

See also:
IBM i Access Client Solutions
Run SQL Scripts
Edit, Insert from Examples
IBM i Services
Work Management


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.