I need to be able to replicate some basic UNIX commands but work in an environment where the NOXCMD option is set and, therefore, cannot use X, call system or %sysexec in my SAS programs. My requirement is to be able to move .XML and .txt files between UNIX directories and (potentially delete them), i.e. to replicate the mv and rm UNIX commands. I've found several examples that use data step processing to copy files on a byte-by-byte basis so could use this as the first part of a 2 step move, but can find nothing that would delete the original source file after it had been copied. Apologies if I'm missing something obvious. If this can't be done then I have shell scripts to do this but will have to somehow include them in my LSF Flow. Thanks in advance.
... View more