Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

MaxDB problems working in ORACLE mode with embedded SQL in C/C++ programs (: msg#00229

db.maxdb

Subject: MaxDB problems working in ORACLE mode with embedded SQL in C/C++ programs (details)

Dear Reader,

At the following the installation and implementation procedure details

Instalation details MaxDB:

Unix server: HP-UX
Download MaxDB: xdb-all-hpux-64bit-hppa-7_5_00_19.tgz
Installation user: root
Development account user : qec
Installation directory: /exportacion/Maxdb

Database creation with webdbm:

Database server: localhost
Name : quorumec
DBM user: qecdbm
DBM user password: qecdbm
DBA user: qecdba
DBA user password: qecdba
Initialize parameters with default values
OLTP
Data volume DATA0001 size 10000
Log volume LOG001 size 6000

Connecting to the database instance with the DBA user:

webdbm: OK
websql: OK
loadercli: OK
dbmcli: OK
sqlcli: OK
Test program run-time: errror -709 (CONNECT failed, check SERVERDB)

Some embedded SQL connect statement tried in the test program:

EXEC SQL CONNECT 'qecdba' IDENTIFIED BY 'qecdba'
AT 'sesion1' USING 'quorumec';

EXEC SQL CONNECT 'qecdba' IDENTIFIED BY 'qecdba'
AT 'sesion1' USING 'localhost-quorumec';

Pre-compiler options:

Source file: Prueba.cpc
cpc -H nocheck -E cansi -S oracle -c Prueba

Run time creation instruccions and link libraries used:

cc Prueba.c +DD64 -I$HOME/include -I$SMPATH/exits
-L/explotacion/Maxdb/sdb/programs/sdk/7500/incl
-L/explotacion/Maxdb/sdb/programs/sdk/7500/lib/lib64
-lpcrl -lsqlca -L/usr/lib/pa20_64 -lc
-o Prueba

Special configuratios for ORACLE connection:

Parameter file NO
Configuration file NO
Environment variables:

The only environment variables that I adapt are LD-LIBRARY_PATH, LPATH y
PATH for the location of link libraries en executables of the proper
MaxDB product.

Best Regards,

Elbertus Lochtenberg
Project Manager
Teleserver S.A.
Mobile: +34628270643
E-mail: barry@xxxxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | advertise | OSDir is an inevitable website. super tiny logo