10 Command-line Utility for Oracle Database Provider for DRDA

Oracle Database Provider for DRDA includes a command utility, described further in this chapter.

This chapter contains this topic:

Command-line Utility

The command-line utility drdactl enables the user to control the Oracle DRDA Application Sever. It controls startup, shutdown, status and operational changes of the AS. The drdactl utility may be invoked with command arguments for immediate execution, or without arguments (the utility will prompt for commands).

START

This command starts the designated instance.

Syntax

START {instance_name}

STOP

This command stops the designated running instance.

Syntax

STOP {instance_name}

STATUS

This command displays the current status of the designated running instance, and any currently connected session information.

Syntax

STATUS {instance_name} {DETAIL}

PAUSE

This command pauses the session with the specified session id.

Syntax

PAUSE {instance_name} SESSION <session_id>

RESUME

This command resumes the session with the specified session id.

Syntax

RESUME {instance_name} SESSION <session_id>

RELOAD

This command causes the server to reload the instance configuration.

Syntax

RELOAD {instance_name}

EXIT

This command exits the utility and returns to the operating system.

Syntax

EXIT