Not sure that there will be anything to "echo" even if it works. You might want to add -LOG and -PRINT option to make sure that the SAS log and output files are written where you want them.
Sorry Tom, Actually the code snippet i mentioned earlier was not working. I hope the above code will work in UNIX based system, But it doesn't work in Windows.
So Let me know if there are any similar codes that would run in a Windows based system.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.