|
DSPLOG MSGID(CPF1124) OUTPUT(*PRINT) CRTPF QTEMP/SPOOL RCDLEN(150) CPYSPLF FILE(QPDSPLOG) TOFILE(QTEMP/SPOOL) SPLNBR(*LAST) Job id sample 123456/JOEBLOW/JOEBLOWS1 RTVOBJD OBJ(JOEBLOWS1) OBJTYPE(*DEVD) MONMSG CPF9801 GOTO(NODEV) Log that device was last used by JOEBLOW at such and such date and time into file QTEMP/DAILY NODEV: END-OF-LOOP DELETE FROM reallib/devices WHERE device in(select device from QTEMP/DAILY) INSERT INTO reallib/devices (SELECT * FROM qtemp/daily) rburger@TarrantCounty.com on 11/09/98 02:03:43 PM Please respond to MIDRANGE-L@midrange.com@Internet To: MIDRANGE-L@midrange.com@Internet cc: Subject: Getting what user last used a terminal (display session) I need to build a database containing the USRPRF and DEVD of the "common" user for a device. In our environment, getting the last user of a device will get me close enough. Is this "association" stored in the USRPRF or DEVD object (it doesn't seem to be stored anywhere)? Is there another way to get this information into an OUTFILE or other usable form? I'm sure this would be available from audit logs? How do I get it out if this is the best place to get the information? Thanks in advance, Robert E. Burger Information Systems Coordinator Tarrant County CSCD Fort Worth, Texas, USA ================================== AS/400 Model 9406-620 running OS/400 V4R1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=text/html;charset=iso-8859-1 http-equiv=Content-Type> <META content='"MSHTML 4.72.3110.7"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT color=#000000 size=2>I need to build a database containing the USRPRF and DEVD of the "common" user for a device. In our environment, getting the last user of a device will get me close enough. Is this "association" stored in the USRPRF or DEVD object (it doesn't seem to be stored anywhere)? Is there another way to get this information into an OUTFILE or other usable form? I'm sure this would be available from audit logs? How do I get it out if this is the best place to get the information?</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT size=2>Thanks in advance,</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Robert E. Burger<BR>Information Systems Coordinator<BR>Tarrant County CSCD<BR>Fort Worth, Texas, USA<BR>==================================<BR>AS/400 Model 9406-620 running OS/400 V4R1<BR></FONT></DIV></BODY></HTML>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.