Problem Note 66382: SAS® Life Science Analytics Framework 5.2 - You use the %lsaf_move() API macro to rename a file, but the audit trail does not detail the name change
When you use the %lsaf_move() macro to rename a file in the same folder in SAS® Life Science Analytics Framework 5.2.x, the audit trail does not detail the file name change.
This behavior is due to the fact that, despite successful functionality, the %lsaf_move() macro is not intended to be used to rename files. Because the macro was designed to move files from one folder to another folder, the audit details for %lsaf_move() show differences for the folder, not for the file name.
If you want to rename files, you should instead use the %lsaf_rename() macro to accomplish this goal.
Although SAS® Life Science Analytics Framework 5.3 will show the change in the file name in the audit trail when the %lsaf_move() macro is used to rename the file, it is still a best practice to use the macro that is designed for this purpose: %lsaf_rename().
Operating System and Release Information
SAS System | SAS Life Science Analytics Framework | Linux for x64 | 5.2 | 5.3 | 9.4 TS1M6 | 9.4 TS1M7 |
*
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.
When the %lsaf_move() API macro is used instead of %lsaf_rename() to rename a file, the audit trail does not detail the name change. Instead, you should use %lsaf_rename() when renaming files as it is the appropriate macro to use. %lsaf_move() is not intended to be used to rename files.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-08-13 15:56:23 |
Date Created: | 2020-07-28 15:01:57 |