For a better understanding on how to use SAS using the command line, the user is referred to the package description on the task taskmain. Each SAS task has its own command-line help that can be called by typing its name on the command line followed by the option -h. For example:
Individual tasks can be called using a set of parameters, which are entered on the command line. Every task has a Parameter Specification File which defines the name and type of each parameter and default values or allowed ranges. These parameters can also be accessed using the SAS GUI. The GUI reads the parameter specification file and provides a dialog window into which the user can enter values. The GUI then launches the task by generating a command line which can then be read in the sas_log file. The task parameter handling system (see: http://xmm.esac.esa.int/sas/current/doc/param/index.html), in addition to setting default values, is capable of handling complex expressions. Even further, some parameters can have child parameters, which are activated depending on the value of the parent parameter. For example:
unless -withimageset=no is explicitly set.
Each SAS task supports the following command line options:
If the task uses the ODF Access Layer (OAL), the command line option -odf odf or -o odf is recognized as well. It specifies the ODF that is to be accessed by the OAL. The variable odf can be the name of an ODF summary file, as created by the task odfingest, or merely the name of a directory containing one. In the latter case, the summary file is assumed to have a name ending in *SUM.SAS.
If the task uses the Calibration Access Layer (CAL), the following command line options are recognized:
cifname is the name of a data set comprising a table with the name CALINDEX. This will normally be a CIF created by the task cifbuild (see § 2.3.3). cifname can also be the name of a directory. In this case the CALINDEX table is sought in a data set with the default name ccf.cif in the specified directory.
Blanks, commas, or colons separated list of CCF constituents replace the corresponding ones in the CCF pointed at via the -ccf command line option or the environment variable SAS_CCF (see below). Each specified file must be a valid CCF constituent.
A list of directories separated by commas that defines a search path along which CCF constituents are to be sought. If a CCF replacement file is passed via -ccffiles with its full absolute path, any specified search path is not considered in trying to access this constituent.