I use Operations Manager for z/VM with this entry:
***Start RACFSMF once a day - use exec to pass RACF server name
DefSchd Name(RACFSMF),+
When(00:20),+
Action(EXEC),+
Parm(SMFSTART)
The SMFSTART EXEC works if either RACFVM or RACMAINT is running:
/* Start up RACFSMF */
Address Command
smfid='RACFSMF'
Select
When Running?('RACFVM') then
'CP XAUTOLOG' smfid '#RACFVM'
When Running?('RACMAINT') then
'CP XAUTOLOG' smfid '#RACMAINT'
Otherwise
say 'Neither RACFVM or RACMAINT is running.'
End
Exit RC
Running?:
/* See if a user is logged on */
arg user .
Parse value diagrc(8,'QUERY USER' user) with RC .
Return RC=0
The PROFILE EXEC on RACFSMF is customized to archive the SMF data either
daily or weekly.
On Mon, Jul 20, 2015 at 4:41 PM, Tito Garrido <[email protected]> wrote:
> Hey Folks,
>
> I was reading a presentation from Bruce about RACF and there is a
> recommendation to use an automation for RACF SMF maintanance...
>
>
> http://www-03.ibm.com/support/techdocs/atsmastr.nsf/5cb5ed706d254a8186256c71006d2e0a/d0cbdc851eb2d52986257b2e007d3d39/$FILE/RACFaudit_techdoc.pdf
>
> Anybody has a functional example for a daily or week rotation of SMF data?
>
> Regards,
>
> Tito
>
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>
--
Bruce Hayden
z/VM and Linux on z Systems ATS
IBM, Endicott, NY
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/