Re: Printing Job Log

[email protected] Mon, 31 Oct 2011 10:47:56 -0400
Newsgroups gmane.comp.systems.as400.security
Message-ID <OF8CF38A52.C64CA75E-ON8525793A.0050925B-8525793A.00514B68@DEKKO.COM>
Yes, I have the same program called for ENDPASTHR, SIGNOFF, OFF (and a 
custom command).  It says if the user is QSECOFR then change the above to 
LOG(*YES), print their joblog to a pdf file and email it to me. 

You may also wish to not clog users spool files in another way.  Change 
the system value QLOGOUTPUT to *PND.  Then instead of a spool file that 
the user goes ape over and quickly deletes (like the 'former' coworker who 
taught his users to CLROUTQ QEZJOBLOG) the joblog is still associated with 
the job.  If you want a spool copy you can then do a DSPJOBLOG JOB(...) 
OUTPUT(*PRINT).

Test with 
CHGJOB LOGOUTPUT(*PND)
SIGNOFF *LIST
sign back on
WRKUSRJOB
-----Status-----
JOBLOG   PENDING


Rob Berendt
-- 
Group Dekko
Dept 1600
Mail to:  2505 Dekko Drive
          Garrett, IN 46738
Ship to:  Dock 108
          6928N 400E
          Kendallville, IN 46755
http://www.dekko.com





From:   Bryan Dietz <[email protected]>
To:     Security Administration on the AS400 / iSeries 
<security400-Zwy7GipZuJhWk0Htik3J/[email protected]>, 
Date:   10/31/2011 10:14 AM
Subject:        Re: [Security400] Printing Job Log
Sent by:        security400-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]



I would look at the exit program QIBM_QCA_CHG_COMMAND

Bryan




Yogesh Pathak said the following on 10/31/2011 6:43 AM:
> 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.
>
_______________________________________________
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.


_______________________________________________
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.