RE:Conectar Personal Oracle 8 a Power Builder 6.5
HOW TO CONNECT TO ORACLE7 WITH POWERBUILDER
Problem Description:
====================
Pre-connection requirements for connecting ORACLE7 with PowerBuilder
Solution Description:
=====================
Note to PowerBuilder Customers:
To connect to ORACLE from PowerBuilder v3.0, you must purchase and install the
PowerBuilder Interface for ORACLE (PBORA030.DLL) from Powersoft.
To connect to ORACLE from PowerBuilder v4.0, you must purchase and install the
PowerBuilder Interface for ORACLE (PBORA040.DLL) from Powersoft.
Tip: When you install the PowerBuilder ORACLE interface, the setup program
installs the interface for Version 7 of ORACLE (PBORA030.DLL). It also copies
the PBOR7030.DLL and PBOR6030.DLL to your PowerBuilder directory.
If you are running Version 6, copy PBOR6030.DLL. This replaces PBORA030.DLL
with the Version 6.0 interface.
Making a connection to your Oracle7 database assumes that you already have the
following: all of the proper Oracle client and server software, as well as
the network layer software. Powersoft's interface sits on top of the existing
software and takes advantage of the existing connectivity. If you do not have
the necessary software required to connect prior to installing PB/PM/PV, you
will not connect successfully.
Prior to connecting to Oracle7 via PowerBuilder/PowerMaker/PowerViewer:
1. Install the ORACLE database server following the instructions provided
by ORACLE.
2. Install the client SQL*Net software following the standard installation
instructions.
3. Place the directory(s) that contain the ORACLE Windows API DLLs
(ORA7WIN.DLL and COREWIN.DLL) in your DOS path.
4. Determine what network protocol you are using (TCP/IP, Novell, etc.) and
whether you are using SQL*Net for DOS or SQL*Net for Windows.
5. Set the database variables in Preferences (for PowerBuilder users) or
Database Profile (for PowerMaker/PowerViewer users) to the appropriate
values for ORACLE. See your Connecting to the Database manual for Oracle.
*You must obtain the Oracle client/server and SQL*Net software from ORACLE
Corporation. If you have questions regarding the software that you need to
set up a connection from your PC to your Oracle server, call ORACLE.
**You can obtain the ORACLE Windows API from ORACLE or the Powersoft Bulletin
Board (BBS) by downloading ORA7DLL.ZIP from the MAIN BBS conference.
The software that PB/PM/PV requires to connect is:
PBOR7030.DLL(from Powersoft)
ORA7WIN.DLL(from Oracle or Powersoft's BBS)
COREWIN.DLL(from Oracle or Powersoft's BBS)
Make sure that the directories containing the above files are in your DOS
path. If they are on the server, and are 'mapped', put them in your DOS path.
Tip: Before trying to connect to ORACLE, search to determine whether there
are multiple copies of ORA7WIN.DLL. If multiple copies exist, delete or
rename all copies except the copy you downloaded from the Powersoft BBS or
obtained directly form ORACLE; there should be only one copy of ORA7WIN.DLL on
your PC.
Once you have identified your network protocol, determine (list below) which
SQL*Net network driver that you need. The driver should be loaded prior to
entering Windows. You can load SQL*Net DOS from your AUTOEXEC.BAT file, brom
a file called AUTOEXEC.BAT file, or manually. If you have SQL*Net for
Windows, the driver should automatically be loaded. The common network
drivers are:
Named Pipes SQLNMP
TCP/IP SQLTCP
Novell SQLSPX
NetBios SQLNTB
Vines SQLVIN
Local SQLPME
DecNet SQLDNT
NOTE: DOS SQL*Net versions will have .EXE extensions
SQL*Net for Windows will have .DLL extensions
After you complete the standard ORACLE client installation, there is an ORACLE
directory on your computer. In this directory, there is a file named
CONFIG.ORA (if you have SQL*Net for DOS) or ORACLE.INI (if you are using
SQL*Net for Windows), which contains your ORACLE configuration information.