Re: Printing Job Log

Jim Oberholtzer <[email protected]> Mon, 31 Oct 2011 07:04:31 -0500
Newsgroups gmane.comp.systems.as400.security
Message-ID <[email protected]>
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
>
>
>
> ______________________________________________________
_______________________________________________
This is the Security Administration on the AS400 / iSeries (Security400) mailing list
To post a message email: Security400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/security400
or email: Security400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/security400.