Delete output files from PeopleSoft - Process Monitor, not from user specified path
We are generating the comma separated files on user specified network path by using filelayout and AE. But the output file generating in both process monitor and user specified path. As per requirement the output files should not be generate in process monitor since process generating huge amount of data in files, it will be consuming some disk space.
I have tried below code to delete the files from process monitor, but the output file was deleting from both user path and process monitor, Please help me out to delete the output file only from process monitor, And it should be generate in user specified path.