Configuration Methods - Command Line
Command Line
Command line options affect one instance of a program execution. Each time that you execute a program, command line options let you tailor the behavior of the program to meet the specific needs for that execution.
Command line options are the highest in order of precedence of all the Configuration Methods. They override the options specified using all other configuration methods, except where indicated.
Each command line options consist of:
- Parameter (name of the option)
- Value (pre-defined or user-defined value of the option)
The command line syntax depends, in part, on the operating system, as noted below.
A value may or may not be case-sensitive, depending on what it is specifying. For example, if a value is either yes or no, it is not case-sensitive. It could be specified as YES, Yes, or yes. However, if a value specifies a directory name or file name, it would be case-sensitive if the operating system's file system is case-sensitive.
If an option is specified more than once on the command line, the last instance of the option specified is used.
z/OS | Command line options are specified in the JCL EXEC statement PARM keyword or on the SYSIN ddname. The PARM keyword is used to pass command line options to the program being executed with the EXEC statement.
The parameter and value must be separated by at least one space. |
---|---|
UNIX, Windows, HP NonStop | Command line options are prefixed with a dash ( - ) character, and alternatively on Windows, the slash ( / ) character.
The parameter and value must be separated by at least one space or tab character. |
IBM i | Command line options use the native conventions for Command Language (CL) commands. The option name is specified as a CL parameter with its value enclosed in parentheses. All Universal Agent components provide IBM i-style command panels. The panels are accessed by entering the command name on the command line and pressing the F4 (PROMPT) key. |