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



Okay, I never knew there was an alternative to the out queue. Sort of like
not knowing there was Midrange until Jon pointed it out to me. And I'm not
one wedded to doing something the same way all of the time.

Thanks for passing all if this along. Really appreciated.

Jerry C. Adams
To lose one parent may be regarded as a misfortune; to lose both looks like
carelessness. -Oscar Wilde
IBM i Programmer/Analyst
--
NMM&D
615-832-2730

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Friday, October 19, 2018 3:04 PM
To: Midrange Systems Technical Discussion
Subject: Re: JobLog Creation

So you would start with

SELECT JOB_NAME FROM TABLE(QSYS2.JOB_INFO(JOB_TYPE_FILTER => '*ALL')) X
WHERE JOB_STATUS not in ('*ACTIVE', '*JOBQ');

And pass JOB_NAME into

SELECT * FROM TABLE(QSYS2.JOBLOG_INFO(:job_name)) A


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: "Rob Berendt" <rob@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: 10/19/2018 03:56 PM
Subject: Re: JobLog Creation
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I shorthanded that just a little bit too much.
QSYS2.JOBLOG_INFO is a "UDTF" not a "VIEW". Therefore you have to do it a

little differently.

SELECT * FROM TABLE(QSYS2.JOBLOG_INFO('291425/ROB/ROBHQ1')) A
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%2
0i%20Technology%20Updates/page/QSYS2.JOBLOG_INFO()%20UDTF



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.