Oracle Error CLSGN-00023: “string” is only available in interactive mode.

Oracle Error Message

CLSGN-00023: “string” is only available in interactive mode.

Reason for the Error

An attempt was made to run or get help for a command from the command line which is available only in interactive mode.

Solution

Change to interactive mode to run the command.