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



Hi, James,

For those folks with older versions of i5/OS or OS/400, you can do:

   DSPUSRPRF *ALL OUTPUT(*OUTFILE) OUTFILE(QTEMP/USRPRF)

and then, in SQL, run:
    SELECT UPUPRF, UPPSOD, UPPSOT FROM qtemp/usrprf 

Almost as easy, right?  :-)

Mark S. Waterbury








On Wednesday, March 1, 2023 at 05:42:09 PM EST, James H. H. Lampert via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx> wrote:





On 3/1/23 2:28 PM, Troy Foster via MIDRANGE-L wrote:
Will this work?

SELECT * FROM QSYS2.USER_INFO
WHERE PREVIOUS_SIGNON IS NOT NULL
order by PREVIOUS_SIGNON DESC

It won't work on V6 or earlier, but we don't need it to.

Both this and Mark's solution work on our cloud box, and will presumably
work on customer boxes, but I'd judge this the better of the two (sorry,
Mark).


--
JHHL

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.