You can start or end a client command session in either batch mode or interactive mode. Select batch mode when you want to enter a single client command. ADSM processes the command and returns to the command prompt.
Select interactive mode when you want to enter a series of commands. Since ADSM establishes connection to the server only once for interactive mode, a series of commands can be processed more quickly. ADSM processes the commands and returns to the dsmc> prompt.
When you enter a single ADSM command in batch mode, precede it with the executable program name, load dsmc. For example, to process the incremental command in batch mode, type load dsmc incremental and press Enter. If a password is required, ADSM prompts you each time you enter a command. Type your password and press Enter.
You can also enter your password using the password option with a command, but your password will be displayed. For example, if your password is secret, you would enter:
load dsmc incremental -password=secret
If you use passwordaccess generate, you need not specify your password on the command, nor are you prompted to do so.
When you enter a series of ADSM commands in interactive mode, do not precede them with the executable program name, load dsmc. Instead, enter load dsmc on the command line and press Enter. When the command prompt appears, type the command name, and press Enter. Alternatively, you can enter load dsmc loop on the command line to start a client command session in interactive mode. Loop is the default command for dsmc. If a password is required, ADSM prompts you when you enter the first command. Type your password and press Enter. You can also enter your password using the password option with the loop command, but your password will be displayed. For example, if your password is secret, you would enter:
load dsmc loop -password=secret
To end an interactive session, enter quit at the prompt.