SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 56010: "ERROR: A rename/delete/replace attempt is not allowed for a data set ... in a referential integrity constraint" occurs when you migrate a data store

DetailsHotfixAboutRate It

When you migrate a data store to SAS® OpRisk VaR 6.1M1 under certain conditions, a recursive path reference can occur, which might result in the failure to migrate the data store. The conditions are as follows:

  • The archive uses a folder instead of a ZIP file.
  • The servers involved are running a UNIX operating system.

When this issue occurs, errors and warnings like the following might occur.

ERROR: A rename/delete/replace attempt is not allowed for a data set involved in 
a referential integrity constraint. DESTDIR.DATA_VERSION.DATA
WARNING: Skipping data set due to error.
ERROR: A rename/delete/replace attempt is not allowed for a data set involved in
a referential integrity constraint. DESTDIR.DATA_VERSION_HIER.DATA
WARNING: Skipping data set due to error.
ERROR: An I/O error has occurred on file DESTDIR.PARALLEL_SERVERS.DATA.
ERROR: UNIX errno = 0.
ERROR: Data set DESTDIR.PARALLEL_SERVERS was not created/replaced due to errors.

Here is an example of a recursive path in the migration log:

WARNING: No logical assign for filename <filename>.
/opt/SAS/BACKUP/Archivio_DataStore/VaR_DS/migrationRoot_/migrationRoot/migration
Root/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migra
tionRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/m
igrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRo
ot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrati
onRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/mig
rationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot
/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migration
Root/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migra
tionRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/m
igrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRo
ot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrationRoot/migrati
onRoot/migrationRoot/main/var_folders.sas7bdat 

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



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS OpRisk VaR64-bit Enabled AIX6.1_M16.1_M29.4 TS1M29.4 TS1M3
64-bit Enabled Solaris6.1_M16.1_M29.4 TS1M29.4 TS1M3
HP-UX IPF6.1_M16.1_M29.4 TS1M29.4 TS1M3
Linux for x646.1_M16.1_M29.4 TS1M29.4 TS1M3
Solaris for x646.1_M16.1_M29.4 TS1M29.4 TS1M3
* 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.