Thanks, Rob.
-----Original Message-----
From: domino400-bounces+ptrapp=nex-tech.com@xxxxxxxxxxxx [mailto:domino400-bounces+ptrapp=nex-tech.com@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Friday, October 07, 2011 2:32 PM
To: Lotus Domino on the iSeries / AS400
Subject: RE: Checking who has logged into the AS/400
If you have the command STRSQL, supplied with 57##ST1, you can use that.
If you have no money you can use the free tool supplied with iNav called "Run SQL Scripts". You do not need System i Access for Windows licensing.
They give you iNav for free.
You could paste that line into a source member and use the free, supplied with the os command, CRTQMQRY to "compile" it and then use STRQMQRY to run it.
You could figure out the logic, and step through several screens and duplicate the effort in Query/400.
If you have 57##ST1 you can use the command STRQM and pick SQL over the prompted mode.
There's a bazillion versions of freebie 5250 based tools out there to run simple sql commands from the command line. Suggesting one over the other often starts a holy war. I sometimes use an ancient one called RUNSQL that I got out of a magazine a decade or two ago.
I just find pasting the sql into an email reply a lot easier than trying to step through a bunch of screens. Sort of like trying to tell someone how to use a command is often easier then trying to step them through all the steps in iNav to do the same thing. iNav is a great tool, but telling you a command is easier than "click this, click that, pull down this, etc".
Rob Berendt
--
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: Patrick Trapp <ptrapp@xxxxxxxxxxxx>
To: "'Lotus Domino on the iSeries / AS400'" <domino400@xxxxxxxxxxxx>
Date: 10/07/2011 02:57 PM
Subject: RE: Checking who has logged into the AS/400
Sent by: domino400-bounces+rob=dekko.com@xxxxxxxxxxxx
Are you using Query/400 to run the query?
-----Original Message-----
From: domino400-bounces+ptrapp=nex-tech.com@xxxxxxxxxxxx [
mailto:domino400-bounces+ptrapp=nex-tech.com@xxxxxxxxxxxx] On Behalf Of
rob@xxxxxxxxx
Sent: Friday, October 07, 2011 1:26 PM
To: Lotus Domino on the iSeries / AS400
Subject: Re: Checking who has logged into the AS/400
Sign on with someone with the appropriate authority.
DSPUSRPRF USRPRF(*ALL)
OUTPUT(*OUTFILE)
OUTFILE(QTEMP/USERLIST)
SELECT UPUPRF, UPPSOD
FROM USERLIST
ORDER BY UPPSOD ASC,
UPUPRF
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.