tnt400.com - AS/400 Tips And Techniques

Sponsored by news400.com

This page is a discussion on the mentioned topic.
Most of the answers are in their original posted form, including any technical/spelling/grammatical errors.
No guarantees are expressed or implied. :-)
Comments, corrections, concerns about this tip?

Got another AS/400 question? Ask it here


What's New?
See what's new at Tips-N-Tech.

AS/400 Tips-N-Tech
AS/400 tips, techniques, and FAQ. Updated frequently.
CODEPage/400
All the code samples you can eat! RPG, CL, DDS, etc. etc.
AS/400 FAQs
The official news400.com FAQs.






All AS/400 Tip Categories / Security / Watching What A User Is Doing


Question:

Is there a way on the AS/400 to watch what a user is doing in real time?


Answer(s):



You can use the STRCPYSCN command, but you'll be one screen behind the user.




When you issue the STRCPYSCN command you have to tell it which job to monitor. Then a message is sent to that screen letting that party know that a STRCPYSCN has been issued and would they like to continue?

It's not something that just goes out there and does it. Which is a bummer sometimes....

Comes in handy for training purposes though.




Lots of ways, depending on exactly what you want to know and exactly what you mean by "real time".

1. Auditing -- user actions can be audited for quite a few things

2. Job logs

3. Job traces

4. Communications traces -- if a true TELNET client is being used, you can even catch keystrokes

5. STRCPYSCN -- either to another display or to an outfile, this requires cooperation of the user and doesn't necessarily give you "real time", but it does show precisely what the user just did, minus keystrokes such as insert/delete, tab, etc. It doesn't show you the response the system sends back until the user presses another command function key (any F-key, , , whatever).

There are probably other things as well built in. But there are also 3rd-party products that go beyond what the system supplies for free.




Use a product called PEEKPLUS, available from Bytware Inc.




See this page for a cool utility that works on AS/400s that aren't on security level 40 or higher.





Other tips in this category:

Click here to see all categories.

Watching What A User Is Doing
Stopping Adopted Authority
Why are there no viruses on the AS/400?
Logging library creation/deletion
Client Access Security
Restrict Telnet Access
Trigger Programs and Adopted Authority
Fast Path for Object Authority Checking?
How to change authority on all documents in folder
Restricting ODBC access
Query/400 Security
FTP login rejected - why?
Securing the AS/400's FTP server
Reset QSECOFR password
Security Level 20 to Level 40
Changing CHGJOB to lock out psycho users
AS/400 Internet Security


You are at a news400.com site.
Contact Us | Report Bugs | Submit Comments/Suggestions | Read Site Use Agreement | Read Privacy Policy
Copyright © 2000 Duke Communications International.
This site is best viewed with the latest versions of Netscape or Internet Explorer, 800 x 600 resolution (or higher), and at least 256 colors.
Duke Communications   NEWS/400 | 29th Street Press | Business Finance | DominoPro | Selling AS/400 Solutions | SQL Server Magazine | Windows NT Magazine