6.2.1 Command line formats
Command lines take one of the following four forms.
This section describes the script file execution command forms in (1) through (3), and the script file syntax check form in (4).
- Organization of this subsection
(1) Command line written in the Set Execution Environment dialog box
[parameter...] [/SPALV(n)] [/SPXLV(n)] [/NOEVLOG[(n[,n]...]]
The script file is already selected, so there is no need to specify its name in the command line.
Parameters specified in a command line are stored in the location variables.
For details about location variables, see G. Glossary.
(2) Script file called by specifying parameters in the Exec or NetExec command
Exec (script-file-name,whether-to-wait-for-termination[,"parameter"...][,"/SPALV(n)"][,"/SPXLV(n)"][,"/NOEVLOG[(n[,n]...)]"])
Parameters specified in a command line are stored in the location variables.
For details about position variables, see G. Glossary.
(3) Command line written in executable form (SPTXE.EXE) in a user program
SPTXE.EXE script-file-name [parameter...] [/SPALV(n)] [/SPXLV(n)] [/NOEVLOG[(n[,n]...)]]
Parameters specified in a command line are stored in the location variables.
For details about position variables, see G. Glossary.
(4) Command line written in executable form (SPTXE.EXE) in a user program to check script file syntax
SPTXE.EXE script-file-name /SPT:GRM
For details, see 6.2.5 Command line syntax check.