GDSCTL Operation

Learn how to start GDSCTL, run commands, and get command help text.

Starting GDSCTL

To start GDSCTL, enter gdsctl at the operating system prompt.

$ gdsctl

GDSCTL starts and displays the GDSCTL command prompt.

GDSCTL>

Running GDSCTL Commands Interactively

You can run GDSCTL commands interactively at either the operating system prompt or the GDSCTL command prompt.

Run a GDSCTL command at the system prompt.

$ gdsctl add gsm -gsm gsm1 -catalog 127.0.0.1:1521:db1

Run a GDSCTL command at the GDSCTL command prompt.

GDSCTL> add gsm -gsm gsm1 -catalog 127.0.0.1:1521:db1

Both of these methods achieve the same result. The command syntax examples in this document use the GDSCTL command prompt.

Running GDSCTL Batch Operations

You can gather all the GDSCTL commands in one file and run them as a batch with GDSCTL.

The following command starts GDSCTL and runs the commands contained in the specified script file.

$ gdsctl @script_file_name

GDSCTL Help Text

You can display help for GDSCTL and GDSCTL commands.

The GDSCTL HELP command displays a summary of all GDSCTL commands.

GDSCTL> help

If you specify a command name after HELP, then the help text for that command is shown.

GDSCTL> help start gsm

You can also use the -h option with any GDSCTL command to show the help text for the specified command.

GDSCTL> start gsm -h