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



If you know your current job:

Select JOB_DATE From Table(QSYS2.JOB_INFO())
Where JOB_NAME = 'xxxxxx/user/job'

There are other QSYS2 information available at https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzajq/rzajqservicesworkmgmt.htm

Rich


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Robert Wenzel
Sent: Tuesday, February 23, 2021 6:23 AM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: SQL Value For Job Date?

Using "current date" fetches the system date. Is there an SQL value for fetching the job date? If I set my interactive session date to an earlier date, what SQL value would I use to return the job date? There are times, when testing, that I need to return to a previous date (like running an ATB report for the prior month) but "current date" does not cut it. Thanks, in advance.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.