This document provides an overview and examples of using X commands in SAS to execute operating system commands. It discusses various options for executing commands like X, %SYSEXEC, CALL SYSTEM, SYSTASK COMMAND, and FILENAME PIPE. It provides examples of using these options and checking the return status with &SYSRC. It also discusses alternatives like using shell scripts when XCMD is not enabled and using named pipes with FILENAME PIPE. The document is intended to help users understand and effectively utilize X commands in SAS.