User`s guide

1
Getting Started 1-1
1
Getting Started
This chapter provides the BS2000/OSD-specific information that you must use with
Oracle Database 11g Release 2 (11.2) for Fujitsu BS2000/OSD.
This chapter contains the following sections:
The Oracle Database Environment-Definition File
The ORALOAD Library
Starting Oracle Utilities with BS2000 SDF commands
Starting Oracle Utilities in UNIX-Style
Starting Oracle Utilities in the POSIX environment
Connecting to an Oracle Instance
Using BS2000 Files for Input and Output
1.1 The Oracle Database Environment-Definition File
Every Oracle Database utility and product under BS2000/OSD uses an Oracle
Database environment-definition file, which is referred to as
ORAENV
. You must
generate this file before you use the Oracle Database products as it contains a number
of Oracle Database environment variables. These Oracle Database environment
variables describe the operating environment for the Oracle Database and utilities. The
section
"Generating the Environment-Definition File" explains how to create the file.
If you do not generate the
ORAENV
file, then the default values are used for all
environment variables. In some cases, there are no default values for environment
variables, such as for
ORASID
. If you start an Oracle Database program or utility
without first generating the
ORAENV
file, then you will not be able to connect to the
Oracle Database.
The
ORAENV
file is a text file that has the format of a BS2000 command procedure. The
command procedure calls itself using the
/SET-FILE-LINK ORAENV
,
filename
command. Each line contains an Oracle Database environment variable and its
assigned value. When reading this file, Oracle Database ignores all lines that have a
slash symbol (/) or asterisk symbol (*) in column one.
1.1.1 Generating the Environment-Definition File
You must generate an
ORAENV
file prior to using Oracle Database for the first time.
Perform the following steps to generate an
ORAENV
file:
1. Call the
INSTALL.P.USER
procedure by entering the following command: