Starting the Terminal Application
To start the Terminal application, do one of the following:
-
To connect to a local database, select the InterSystems Launcher and then select Terminal.
-
To connect to a remote server, select the InterSystems Launcher and then select Remote System Access > Terminal. Then select a server name.
In either case, you may be prompted to log in, or you may instead be logged in under a default username, depending on the security settings for the associated InterSystems IRIS® data platform server. The Terminal application then displays a prompt that (by default) displays the name of the current namespace. For example, if you are in the USER namespace, the default prompt is as follows:
USER>
To switch to a different namespace, use the $namespace variable as in the following example:
USER>set $namespace="SAMPLES"
SAMPLES>
This is the same way that you would switch namespaces within your code; see the $namespace reference page in the ObjectScript Reference for more information.