Each command line program requires a set of options and arguments. These include user name, password, domain name, and connection information.
Use the following rules when you enter command options and arguments:
To enter options, type a hyphen followed by one letter, two letters, or a word, depending on the program syntax for the command.
For example, the pmrep Connect command uses a single letter option for the repository name:
Connect
-r
<repository_name>
Enter options in any order.
If any option that you specify from the command line contains spaces, enclose the option in double quotes.
The first word after the option is the argument.
Most options require arguments.
You must separate options from arguments with a single space when using pmcmd or infacmd. You do not have to separate options from arguments when using pmrep.
If any argument contains more than one word, enclose the argument in double quotes.
For pmrep and pmcmd, you can also use single quotes.
Unmatched quotes result in an error.
For infacmd or pmcmd, the command line programs ignore quotes that do not enclose an argument.
If an argument is in the format
option_name=value
, and the value contains both a space and an equal sign (=), then you must precede the equal sign with a backslash.
For example, an argument contains the option
DatabaseUser
, and the database user name is
a#v%5^=! !
. Use the following format when you enter the argument:
DBUser=a#v%5^\=! !
To update connection options values with existing environment variables, use an escape character before any dollar sign ($) with any shell other than CSH.
For pmrep, you can use space characters in an argument. To specify an argument containing space characters, enclose the argument with either single or double quote characters. When you use either single or double quotation marks in the argument, you must precede the required quotation marks with a backslash.