This document discusses various methods for executing operating system commands from within SAS code, including the X command, %sysexec, Call system, Systask command, and Filename pipe. It provides examples of using each method and discusses advantages and disadvantages. Alternatives like shell scripts are also addressed for situations where XCMD is not enabled.