Hello, I use this homemade exec (cleanup was adapted from another process), to keep 3 months (current + 2) of FCXTREND: (SUMmary files have other process). Mdisk "M" is big enough to keep this data, accessed in PROFILE EXEC: "ACC 195 M".
/**** RENAMTRD EXEC ****/ Parse value date(s) with aa +4 mm +2 dd . If mm = "01" Then Do mm = '12' aa = aa -1 End Else Do mm = right(mm -1,2,"0") End 'RENAME CACVM520 FCXTREND M' aa||mm '= =' Call Cleanup Exit rc Cleanup: /********************************************************/ /* Purge older files (created more than 60 days) */ /********************************************************/ Arg $numdias If $numdias = "" Then $numdias = 60 "PIPE Literal" date(C) - $numdias , "| DATECONV 1-8 Rexx_Date_C ISOdate ", "| var date " "PIPE CMS LISTFILE * * M (NOH BEFORE" date, '| stem files.' If rc <> 0 Then Return Do ct=1 to files.0 PARSE VALUE files.ct WITH fn ft fm . If pos(ft,'EXEC.PARMS.CONFIG.UPDATE') <> 0 Then Iterate ct Say 'ERASING' fn ft fm 'ERASE' fn ft fm End Return And, the "FCONX $PROFILE" changes (first day of all months): FC SETEVENT DATE 01/01 00:05 CMS RENAMTRD FC SETEVENT DATE 02/01 00:05 CMS RENAMTRD FC SETEVENT DATE 03/01 00:05 CMS RENAMTRD FC SETEVENT DATE 04/01 00:05 CMS RENAMTRD FC SETEVENT DATE 05/01 00:05 CMS RENAMTRD FC SETEVENT DATE 06/01 00:05 CMS RENAMTRD FC SETEVENT DATE 07/01 00:05 CMS RENAMTRD FC SETEVENT DATE 08/01 00:05 CMS RENAMTRD FC SETEVENT DATE 09/01 00:05 CMS RENAMTRD FC SETEVENT DATE 10/01 00:05 CMS RENAMTRD FC SETEVENT DATE 11/01 00:05 CMS RENAMTRD FC SETEVENT DATE 12/01 00:05 CMS RENAMTRD * FC Settings TRDFILID CACVM520 FCXTREND M * ______________________________________________ Clovis |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Kris Buelens <kris.buel...@gmail.com> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |IBMVM@LISTSERV.UARK.EDU | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |01/11/2010 14:33 | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Re: Performance Toolkit archiving | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Sent by: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU> | >--------------------------------------------------------------------------------------------------------------------------------------------------| If I remember correctly, I wrote a small REXX EXEC to prune that trendfile. A small modif would allow you to archive instead of simple prune. But, it is an a system of the client I only visit on Wednesdays. 2010/11/1 Frank M. Ramaekers <framaek...@ailife.com> Hmmm….this only works for the future. I don’t see a way to break out (by month, quarter, etc.) what has been accumulated, to this point. Frank M. Ramaekers Jr. From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Michael Donovan Sent: Monday, November 01, 2010 10:25 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Performance Toolkit archiving Frank, You should look at the FCONTROL SETTINGS subcommand and its TRDFILID and SUMFILID and on how to change file ids for the trend and summary files. These commands in conjunction with the FCXRENAM EXEC should give you the ability to archive these files in any manner you want., Cheers! Mike Donovan "Frank M. Ramaekers" ---11/01/2010 10:57:38 AM---I have two files that increasingly get bigger. What do I use to archive the contents of these files From: "Frank M. Ramaekers" <framaek...@ailife.com> To: IBMVM@LISTSERV.UARK.EDU Date: 11/01/2010 10:57 AM Subject Performance Toolkit archiving : Sent The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU> by: I have two files that increasingly get bigger. What do I use to archive the contents of these files? MKMFVM FCXTREND T1 ACUM HISTSUM T1 Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Phone: (254)761-6649 Insurance Co. 1200 Wooded Acres Dr. Fax: (254)741-5777 Waco, Texas 76701 _____________________________________________________ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. _____________________________________________________ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. -- Kris Buelens, IBM Belgium, VM customer support