Problem Note 19350: %CPREDUCE macro ages data at the MONTH level of the PDB in years instead
of months
The %CPREDUCE macro in IT Resource Management (ITRM) 2.7 does not age
data properly at the MONTH level of the PDB. Instead of aging data
based on the number of months specified at the MONTH level of the PDB,
%CPREDUCE is aging data based on years. For some sites, this may result
in an out of space condition at the MONTH level of the PDB.
To circumvent this problem, follow the steps described below for each
table in the PDB that requires aging. This sets a hard-coded cut-off
date and thus must be done periodically. An ITRM 2.7 Hot fix will be
provided in the near future.
- Make sure you have a working backup copy of the PDB.
- Submit the following code in batch:
/* Ensure update access to the PDB via CPSTART */
%CPSTART(<your_cpstart_parms>);
/* Set start date to keep data at MONTH level */
%CPEDIT(table=ttttttt,LEVEL=MONTH,
KEEPCRIT=DATEPART(DATETIME)>='01mmmyyyy'D);
where ttttttt is the table to perform any aging, based on the first
day of the month and year (i.e. '01FEB2006'D) to be kept at the
MONTH level of the PDB.
For more information about the %CPEDIT macro, please refer to the SAS
IT Resource Management 2.7: Macro Reference.
Operating System and Release Information
| Product Family | Product | System | Reported Release | Fixed Release* |
| SAS System | SAS IT Management Solutions Core Components MVA Data | Microsoft Windows 95/98 | 2.7 | |
| Microsoft Windows NT Workstation | 2.7 | |
| Microsoft Windows 2000 Server | 2.7 | |
| Microsoft Windows 2000 Professional | 2.7 | |
| Microsoft Windows 2000 Datacenter Server | 2.7 | |
| Solaris | 2.7 | |
| Microsoft Windows 2000 Advanced Server | 2.7 | |
| 64-bit Enabled Solaris | 2.7 | |
| 64-bit Enabled HP-UX | 2.7 | |
| z/OS | 2.7 | |
| Linux | 2.7 | |
| HP-UX | 2.7 | |
| 64-bit Enabled AIX | 2.7 | |
| Tru64 UNIX | 2.7 | |
| AIX | 2.7 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Topic: | System Administration ==> Servers
|
| Date Modified: | 2007-01-17 10:37:24 |
| Date Created: | 2007-01-16 12:12:40 |