×
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.
Consider using a routing program to achieve what you want. (This is in
addition to the IBM i auditing that you most likely already have in place)
The routing program is found on the routing entry of the interactive
subsystem that is in use, the IBM default is QINTER. The default
routing program is QCMD but can be anything you want. So the pseudo
code would look like:
Rtrusrprf and store initial program and lib, initial menu and lib, user
name,
If the user your interested in chgjob to produce a job log
if there is an initial program call it,
Go to the initial menu after the initial program returns (if ever)
Because the routing program gets control of the job before the user can
do anything you can do anything needed to control the job up front.
This will not stop the user from changing the log level on the job
manually but, it should do as you have requested.
You can also put an exit program on the signoff command that would
retrieve the user profile, determine if the profile is one your
interested in and print the job log.
You might want to do both.
If you would like a code sample I can send it to you. Most of this is
right out of the Advanced Work Management class taught at COMMON by
myself and Larry Bolhuis. It's a session that I began many years ago,
and Larry gave new life to.
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
On 10/31/2011 5:43 AM, Yogesh Pathak wrote:
Dear All,
I am struggling with an issue on our iSeries.
I want to print the JobLog for two particular user IDs when they signoff
from the system.
If I change the Signoff command, the system will print the job Log of all
Users, which will add a considerable overhead on Disk Space and clearing the
spool files. I am therefore not keen on implementing this.
Is there any way to make sure Job Log of a particular user is printed when
he signs off? These two User ID are authorized to make Production Releases,
and they should be logged on only at the time of performing a Production
release. I want to make sure all their Job Logs are available for audit, and
hence this request.
Thanks and Regards
Yogesh Pathak
______________________________________________________
As an Amazon Associate we earn from qualifying purchases.