Building a Task That Runs Commands
The task example in this chapter presents a useful utility. The utility replaces some of what SAS programmers traditionally expect when they use the SYSTASK statement or X command.
But, it can't replace those constructs completely. The difference between this task and those SAS constructs is this—this task runs in the context of your local PC on your Windows operating system; the X command and SYSTASK statement run in your SAS program on the operating system of the SAS session. These two constructs might also be on your local PC, but they could just as well be on a remote server, such as a UNIX system.
You can extend this task by using the concepts that you learn from this example. For example, instead of building ...