SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 68492: A new capability in the SAS® Risk Governance Framework enables you to purge an object and the attachments associated with the object

DetailsDownloadsHotfixAboutRate It

When you delete an object in the SAS Risk Governance Framework, the object is removed from the live tables in the database, but the history tables retain any references to the object. Any attachments to the object remain in the WebDAV repository of the SAS® Content Server.

A new capability enables you to purge an object and delete all references to the object. The purge includes records from the history and live tables in the database, the associated workflow instances from the SAS® Shared Services database, and any attachments associated with the object. If the purged object is linked to any other objects, the link instances are purged, but the linked objects remain.

Click the Hot Fix tab in this note to access the hot fix for this issue.

After you install the hot fix, ensure that you follow all of the post-installation steps for the hot fix. These steps include instructions to copy the purgeObjects.groovy script that is required for the new purge capability.

To purge an object, follow the steps below:

  1. Run the verifydb command to verify the integrity of the SAS Risk Governance Framework database. 
  2. Create a backup copy of the SAS Risk Governance Framework database and of the SAS Shared Services database.
  3. Create a Microsoft Excel data loader file. The sheet in the file must be named PurgeObjects. See the sample PurgeObjects.zip file on the Downloads tab of this note. The data file should contain the following columns:
  • Business Object.Type Name
  • Business Object.Source System
  • Business Object.ID
  1. In the data file, specify the values for the objects that you want to purge.
  2. Execute the removexlsdata command in test mode first to ensure that no errors are identified. In the command, specify the data file containing the objects to be purged, as shown in the example below:
removexlsdata.sh -t -c solution-identifier ./data/purgeObjects.xlsx
  1. Execute the removexlsdata command to purge the objects, as shown in the example below:
removexlsdata.sh -c solution-identifier ./data/purgeObjects.xlsx
  1. Run the verifydb command after the purge to verify the integrity of the SAS Risk Governance Framework database.

Notes:

  • Only a user with the super-user global capability can purge an object.
  • The purge capability is available only from the command line. You cannot purge an object through the user interface of the web application. 


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk Governance FrameworkMicrosoft Windows 8 Pro 32-bit7.49.4 TS1M5
Microsoft Windows 8 Enterprise x647.49.4 TS1M5
Microsoft Windows 8 Enterprise 32-bit7.49.4 TS1M5
Microsoft® Windows® for x647.49.4 TS1M5
Microsoft Windows 8 Pro x647.49.4 TS1M5
Microsoft Windows 8.1 Enterprise 32-bit7.49.4 TS1M5
Microsoft Windows 8.1 Enterprise x647.49.4 TS1M5
Microsoft Windows 8.1 Pro 32-bit7.49.4 TS1M5
Microsoft Windows 8.1 Pro x647.49.4 TS1M5
Microsoft Windows 107.49.4 TS1M5
Microsoft Windows Server 20087.49.4 TS1M5
Microsoft Windows Server 2008 R27.49.4 TS1M5
Microsoft Windows Server 2008 for x647.49.4 TS1M5
Microsoft Windows Server 2012 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Datacenter7.49.4 TS1M5
Microsoft Windows Server 2012 R2 Std7.49.4 TS1M5
Microsoft Windows Server 2012 Std7.49.4 TS1M5
Microsoft Windows Server 20167.49.4 TS1M5
Windows 7 Enterprise 32 bit7.49.4 TS1M5
Windows 7 Enterprise x647.49.4 TS1M5
Windows 7 Home Premium 32 bit7.49.4 TS1M5
Windows 7 Home Premium x647.49.4 TS1M5
Windows 7 Professional 32 bit7.49.4 TS1M5
Windows 7 Professional x647.49.4 TS1M5
Windows 7 Ultimate 32 bit7.49.4 TS1M5
Windows 7 Ultimate x647.49.4 TS1M5
Linux for x647.49.4 TS1M5
* 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.