This topic describes the different modes in which the istool commands can be used.
In the Command mode, commands are entered one at a time on a single command line. Each command line starts with a command, then the options. Option values that contain embedded spaces must be surrounded by double quotes.
istool {command } [-options … ]
| Flag | Description |
|---|---|
| -help | Prints a help message describing istool command usage and listing all available CommandSets. |
An alternative to entering commands one-by-one, which might require a new Information Server connection to be established for each command, is to execute istool with no options. This puts istool in Console mode.
In Console mode, istool caches connections to the Information Server. This reduces execution time for subsequent commands to the same Information Server. In Console mode, istool prints a command prompt and waits for a command. Each command is processed without exiting istool. You can exit the Console mode by entering ‘.’, “exit”, or “quit” at the prompt. istool in Console mode also provides a history feature, which recalls the last 30 commands entered. Each command can be recalled and re-executed.
istool
Option syntax: No options are required for Console mode.
istool can be used to execute commands read directly from a text file. The file is read and executed as a series of command lines.
istool –script <filename>
| Flag | Description |
|---|---|
| -script <filename> | Opens a text file containing istool commands. |
istool export -domain d -username u -password p -archive c:/x.isx -ds 'd/project1/routines/a.pjb'; istool import -domain e -username v -password q -archive c:/x.isx -ds '-replace e/project2'