|
Robert, The easiest way to capture this information is with a routing program. Replace the routing program (usually QCMD) with one that roughly does this: RTVJOBA USER(&USER) JOB(&JOBNAME) CALL MYPGM PARM(&USER &JOBNAME) RTVUSRPRF INLPGMLIB INLPGM INLMENULIB INLMENU IF INLPGM *NE *NONE CALL INLPGMLIB/INLPGM ENDIF TOPLOOP: IF INLMENU *NE *SIGNOFF GO INLMENULIB/INLMENU GOTO TOPLOOP The program MYPGM would write the information to any DB you want. You will have up to the date statistics and usage on who used what device. Jim Oberholtzer Information Builders 630/971-6700 jim_oberholtzer@ibi.com ______________________________ Reply Separator _________________________________ Subject: Getting what user last used a terminal (display session) Author: <MIDRANGE-L@midrange.com> at Tcpgate Date: 11/9/98 1:27 PM I need to build a database containing the USRPRF and DEVD of the "common" user fora device. In our environment, getting the last user of a device will get me clo 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 TFILE or other usable form? I'm sure this would be available from audit logs? w 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.