ASA SQL User's Guide Importing and Exporting Data
This section describes how to process files consisting of a set of commands.
Writing output to a file Executing command files Saving, loading, and running command files