Rename function in class %File is not removing files from the original folder
SOURCFILE="/home/user1/file1.dat"
DESTFILE="/opt/users/file1.dat"
##class(%File).Rename(SOURCFILE,DESTFILE,.STATUS) when this is executed in IRIS, SOURCEFILE is getting moved to the folder in DESTFILE but it is not getting deleted from SOURCEFILE folders. Same call is working as expected in cache. Has anyone experienced this issue? We are trying convert to IRIS from cache.
Product version: IRIS 2023.1
$ZV: IRIS for UNIX (Red Hat Enterprise Linux 9 for x86-64) 2023.1.3 (Build 517U)
Discussion (0)0
Comments
I checked on the version "IRIS 2024.2CE for Windows" - the file is deleted from the SOURCFILE. Maybe it's about the access rights to delete? Check it out:
This issue is resolved. Our team re-started the task manager job and that fixed the issue.