User`s guide
Starting Oracle Utilities with BS2000 SDF commands
Getting Started 1-3
1.2 The ORALOAD Library
The
ORALOAD
library (
$ORAC1120.ORALOAD.LIB
by default) is required for starting
Oracle Database 11g Release 2 (11.2) programs. Oracle Database uses this library to
dynamically load executables when required. The
ORALOAD
library must be identified
by the link name
ORALOAD
prior to calling Oracle Database programs. You get a BLS
(BS2000 loader) error message, if the link name is missing. The
ORALOAD
link name is
set when the
ORAENV
procedure is called. Another library, the
ORAMESG
library
(
$ORAC1120.ORAMESG.LIB
by default) is required for Oracle messages. This library is
assigned the link name
ORAMESG
in the
ORAENV
procedure.
1.3 Starting Oracle Utilities with BS2000 SDF commands
Before you start Oracle Database products, you must call the environment-definition
file, as described in
Section 1.1.2, "Calling the Environment-Definition File".
Start the Oracle Database programs and utilities by entering a
START-PROGRAM
command with the program name at the BS2000 command prompt (/). Specify the
options and operands as the first data-input line when the data prompt (*) is
displayed, as shown in the following example:
/START-PROGRAM $ORAC1120.program_name
CCM0001 enter options:
* [option_switch] [arguments]
where:
program_name
is the name of the program or utility to be started
option_switch
is one or more of the program-dependent optional switches. If this is
used, then the switch is preceded by a dash (-).
arguments
are one or more operands of the program (or utility), or the user ID and
password combination, or both.
Example 1–1
To start SQL*Plus, enter the following command:
/START-PROGRAM $ORAC1120.SQLPLUS
* /NOLOG
SQL> CONNECT SYS / AS SYSDBA
Enter password: password
As soon as the program is loaded, the
CCM0001
prompt is displayed to let you enter the
command line options. As shown in the preceding examples, you can enter the
option_switch
or
arguments
for the program. The prompt of the program is then
displayed, which in the case of SQL*Plus, is
SQL>
. You can now enter one of the
commands of the program. Refer to the generic documentation for the product for a
description of the valid commands.
Alternatively you can start the Oracle Database utilities with the following BS2000 SDF
command:
Note: You can create an individual
ORAENV
file for each database
with which you work. To set the environment variables, call the
ORAENV
file containing the environment variables for the database you
want to use.