The code below executes a OS-command in a nice and easy fashion. It also returns the returncode (rc) for the execution of the command in the OS-environment.
options noxwait; data _null_; rc = system("copy c:\test\*.sas d:\test\"); put rc=; run;
The code below executes a OS-command in a nice and easy fashion. It also returns the returncode (rc) for the execution of the command in the OS-environment.
options noxwait; data _null_; rc = system("copy c:\test\*.sas d:\test\"); put rc=; run;