Mysql database - linking data to combi boxes
I have a class called Connect.java. The code is shown below. How do I get the data I want in the DB into the combi box? Please help as this is urgent enough.
package orderproc;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.net.URL;
import java.sql.*;
public class Connect extends JApplet {
public Connect() {
public void main (String [] args)
{ String where_clause;
try
//connect to database
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("Drivers loaded");
String url = "jdbc:odbc:wms";
Connection con = DriverManager.getConnection(url,"root","");
System.out.println("Connection established");
//execute the query
Statement stmt = con.createStatement();
System.out.println("Statement created");
ResultSet res = stmt.executeQuery("SELECT * from productinfo");
//list the returned rows
while(res.next())
System.out.println("Product ID: " +res.getInt("ProductID"));
System.out.println("Product Description: "+ res.getString("ProductDescription"));
System.out.println("Product Cost: " + res.getDouble("ProductCost"));
System.out.println("Product Location: " + res.getInt("ProductLocation"));
//clean up
stmt.close();
con.close();
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
What is best practice as this stage, do I complete all my webpages on my localhost and then transfer or do I develop with my pages online?
I have no idea about best practice; what motivates me to broadcast my pages to the internet is when I have a fairly complete; but working site. The reason I wait for the completeness of the site is so that I do not confuse people that start browsing the site. Make sure that pages that do not work properly are marked as under construction or similar.
I have been trying to find some training on the different tester server settings but can only find stuff that talks about localhost.?
It is best to talk to the hosting company for this as each company has different rules and settings.
I hope this helps.
Ben
Similar Messages
-
How to connect APEX with MYSQL via Apex's Database link
How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
can someone please elaborate on what these are and where i can find them in mysql:
Database Link Name
Connect To Schema
Password
Remote Hostname or IP
Remote Host Port
SID or Service Name
I need to link to mysql database so I can set up a 3D pie chart in apexHi jononioo
A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
Regards
Andre -
Database link not working properly
I have to link to another database...I have created an entry in my TNS names on the oracle server and have used the following script to create the link:
CREATE PUBLIC DATABASE LINK DATA
CONNECT TO USERNAME IDENTIFIED BY PASSWORD
USING 'DATA';
Data is the name of the database sid, and I am able to connect to the server using the username/password@sid in sqlplus. Oracle tells me that the link is created successfully, however if I try to describe user_tables@data I get the following error:
SQL> desc user_tables@data;
ERROR:
ORA-02085: database link DATA connects to DATA.WORLD
Please help!
JesYou will see this error when the global name of the remote database does not match what you have in your link. Although the link name might match the SID, the fully qualified link name does not.
You can either:
1) Set the GLOBAL_NAMES parameter to FALSE in the database in which you have created the database link.
2) Recreate the link so that the full link matches the global name of the remote db (query GLOBAL_NAME in the remote db if you don't know it)
Good luck! -
Hello All,
I am fairly new to Unix administration,OS X in particular. I am in need of opinions for the easiest wasy to automate a command to dump a MySQL database on a rotating weekly basis. I only want 7 days worth of dumps to reside there. I have been doing it manually with the following command (I have replaced sensitive information in quotes).
/usr/local/mysql/bin/mysqldump --user="username" --password="password" --opt "database" | gzip --best > /Volumes/MySQLDB_Dump/rgps_db_dump112906.mysql.gz
The only part that would need to be scripted would be the date, so I think the following script would work...
#!/bin/bash
# RGPS MySQL backup script
# MySQL Database Backup
DATE=`date +%Y.%m.%u` # Year, Month, Day of Week
echo "Performing MySQL Database and system Backup. "
echo ""
echo "Dumping MySQL database to /Volumes/MySQLDB_Dump/rgps_db_dump$DATE.mysql.gz"
/usr/local/mysql/bin/mysqldump --user="username" --password="password" --opt "database" | gzip --best > /Volumes/MySQLDB_Dump/rgps_db_dump$DATE.mysql.gz
echo ""
I am just not sure if automator or cron (I assume this is in OS X since it is BSD) would be best to keep a rotating cycle. IF anyone knows if MySQL has its own utitlity to do this that would be great. Any help is appreciated.
Thanks again.Julie,
I may be out of place here but I don't think MySQL will make a good
adatabase for Portal Server. Native MySQL is designed for
non-transactional work. Yes MySQL now have transactions, but with the
JDBC Isolation Levels, I have heard of people having problems with this
functionality.
I Suggest if you stay with open source Databases that Postgresql may be
a better fit, as it's structure is more like Oracles except for
translations fr varchar2 and Number formats.
-- Well There is my 2 cents worth.
Tony McClay
Java Architect
"Mr BigMAN"
Julie wrote:
Are there MySql database scripts for all the tables? -
How to get data into the mySQL database?
First some background.
I have a website that has outgrown its designed dimensions and is a huge burden to maintain. See PPBM5 Benchmark
There is a lot of maintenance work involved, so I'm investigating a PHP/MySQL approach to easen the burden and to add functionality to the site. With the current Excel based structure and over 420 entries, it is cumbersome for me to maintain, but also for users to find what they need.
A MySQL based dynamic structure is a lot easier and offers vastly more selection capabilities, like selecting only records that meet specific criteria.
Data submission is done with a form, that contains most of the relevant data, but the drawack is that people submitting their data are often not technically inclined, give wrong answers due to a lack of understanding or making typo's. The test results are attached in one or two separate .txt files, but often they have not read the instructions correctly or did something wrong, so these attached .txt files can not be trusted automatically, they have to be checked before inclusion.
These were my initial thoughts:
1. Data collection:
To avoid spending all our energy and time on correcting typo's, getting missing data, correcting errors, I am investigating the use of CPU-Z in Ghost mode to create a .txt or .html file that contains all relevant hardware info we need and even more. It gives all the info we currently have, but adds data like number of memory sticks, DDR timings, stock clock speed and BCLK setting, video card info and VRAM size, etc.
To see what I mean, run CPU-Z, go to the About tab and press the Save Report button and look at the results.
This can all be done without user intervention in an automatic way, but maybe I need to add an Auto-It file to the test to make it all run as desired.
If this works and I'm able to extract the relevant data from the created file and can insert it into the database, we may be in business for the next version of PPBM5.5 or PPBM6. It does require a modification to the instructions, making them a lot easier, because there is less data to fill out.
2. Data submission:
The submission form can be simplified if the CPU-Z data can be used. We have to create an automatic way to attach the created .html file from CPU-Z to the submission form and we have to streamline the Output.txt and Output-MPE.txt files to be more easily included in the 'form.lib.php' file. It currently is manual labor and very time consuming.
3. Adding to Database:
I have to find a way to create database records from the Gmail forms I receive. All incoming mail messages need to be checked on relevancy and if relevant, need to be added automatically to the database and then offered for approval before final inclusion in the database. Data included in the database will then include submission date and time, Email address, IP address used, plus links to the files submitted and available on the website.
4. Publication of the database:
After approval of new records from step 3, all updates will be automatically applied to the database and accessible for users. I do not yet intend to introduce a user account , requesting login before all functionality is accessible. Too much trouble and administration.
Queries should be possible on things like CPU (check box), so include 17-920, i7-930, i7-950 but exclude i7-980X and i7-990X, Size of memory (check box), Overclocked (boolean, yes, no), SSD as OS disk, and similar options.
The biggest problem is to keep the color grading and statistical indicators (Top, D9, Q3, Med, Q1 and D1) intact on dynamically generated queries. Say you make a query which results in 20 observations, this should show the related colors and legends. Next query results in 48 observations and of course the color grading and legends do need to reflect that. Question in my mind, does the RPI remain constant, independent of the query or does that need to be recalculated on the basis of the query?
Next thing is to allow a user to select a specific observation and by simply clicking on it be shown, in a separate window (detail page) or accordion, all the CPU-Z related information about the hardware.
The graphs, Top-20 and MPE Gains, need to be dynamically adjusted, based on the query used.
5. Ideally, external links:
In an ideal situation, one could link the CPU-Z data to external price databases, looking up current prices for CPU, memory, video card, disks, raid controller, etc. to get instant BFTB charts, based on the query made. But that is the next step.
Situation now:
I have a MySQL database that is easily updated with the new submissions. Simply create a .CSV flie from the submitted forms and import that into the database. The bulk of the initial work is done.Lots remain to be done as you can see above, but that is for a later time.
Question:
I have this table, that needs to be filled with data in the submitted and attached files. Mr. X submitted his data and can be uniquely identified by his "Ref_ID". He attached one or two files in .TXT format with the relevant test data. These files are stored on the server with a concatenated name:
"Ref_ID","-","filename"
Say his Ref-ID is: 20110204-6cf5 and his submitted file is called: Output(99).txt then the file can be found on the server as
20110204-6cf5-Output(99).txt
I need to be able to open that comma delimited file, the contents may look like this: "439","1036","819","531" and insert these contents into the relevant record and fields.
Graphically,
is what I want to achieve.
This being my first exposure to PHP/MySQL, you can imagine I'm not clear on how to go from here.
Added complication is that I actually have 5 numbers to insert per record and two calculated fields, Total Score and RPI should be calculated fields. Haven't yet figured out how to handle calculated fields, maybe only in the PHP/HTML code and not in the database.
I hope someone can help me.You do have a very complex looking site and may need several tables in mysql to handle all that data. If you knew to phpmysql I would suggest taking a look at this tutorial it will help get you started in understanding how to $_GET info from a database and also how to $_POST data to a database. I am no expert just learning myself and I found this very helpful. This is the link http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
There are also many tutorials on Youtube to help build a CMS Content Management Site I would suggest the following: -
http://www.youtube.com/user/phpacademy
http://www.youtube.com/user/betterphp
http://www.youtube.com/user/flashbuilding
And many more on my channel here
http://www.youtube.com/user/Whisperingonthewind
CMS's are easier to maintain, add edit and delete content.
I have also recently bought a Book by David Powers Training from the Source very helpful.
Anyway hope you get it sorted. -
Database link from Oracle to MySQL
I tried and googled an tried again...but I can't get this to work. So if you can spare a moment, please help me out (or try to ;-) ).
Environment:
The Oracle Developer Days Virtual Box image, so that's 11gR2 EE on OEL. MySQL 5.1.51-community + mysql-connector-odbc-5.1.7-0.i386.rpm
1. Created a database called test in MySQL, with a user "oracle" and a password "123".
2. Created the file /home/oracle/.odbc.ini with as contents:
[ODBC Data Sources]
myodbc5 = MySQL ODBC 5.1.7 Driver DSN
[myodbc5]
DRIVER = /usr/lib/libmyodbc5.so
DESCRIPTION = MySQL ODBC 5.1.7 Driver DSN
SERVER = 127.0.0.1
PORT = 3306
USER = oracle
PASSWORD = 123
DATABASE = test
CHARSET = latin13. Created the file /home/oracle/app/oracle/product/11.2.0/dbhome_1/hs/admin/initmyodbc5.ora
# HS init parameters
HS_FDS_CONNECT_INFO=myodbc5
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_SHAREABLE_NAME=/usr/lib/libmyodbc5.so
HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
HS_FDS_SUPPORT_STATISTICS=FALSE
# HS_NLS_NCHAR=AL32UTF8
# ODBC specific environment variables
set ODBCINI=/home/oracle/.odbc.ini
set ODBCINSTINI=/home/oracle/.odbc.ini
set LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/hs/lib:/usr/lib
# Environment variables required for the non-Oracle system
set HOME=/home/oracle4. Added to tnsnames.ora :
dg4odbc =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA = (SID=myodbc5))
(HS=OK)
)5. Added to listener.ora (and restarted it) :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = myodbc5)
(PROGRAM = dg4odbc)
(ENVS ="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/hs/lib:/usr/lib:/lib")
)6. Ran some tests:
a. isql dg4odbc -> Connected!
b. tnsping dg4odbc -> OK
c. lsnrctl status -> Service "myodbc5" has 1 instance(s). Instance "myodbc5", status UNKNOWN, has 1 handler(s) for this service...
d. in SQLPLUS (as system): create public database link mysql connect to "oracle" identified by "123" using 'dg4odbc';
e. select * from test@mysql ("test" is a simple table I created in the MySQL DB) returns
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from MYSQL
When I look in the trace file (in $ORACLE_HOME/hs/log) I see at the bottom of the file:
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libmyodbc5.so"
Entered hgolofns at 2010/11/02-14:10:54
hoaerr:28500
Exiting hgolofns at 2010/11/02-14:10:54
Failed to load ODBC library symbol: /usr/lib/libmyodbc5.so(SQLAllocHandle)
Exiting hgolofn, rc=28500 at 2010/11/02-14:10:54
Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection contextAfter Googling around I found out that all files are 32-bit (was on issue somewhere else)...and now I am stuck!
Any ideas, tips etc on how to proceed???
TIA
RoelThe ODBC Trace contains:
[ODBC][3331][1288788738.867244][__handles.c][459]
Exit:[SQL_SUCCESS]
Environment = 0x92b0d08
[ODBC][3331][1288788738.869179][SQLSetEnvAttr.c][189]
Entry:
Environment = 0x92b0d08
Attribute = SQL_ATTR_ODBC_VERSION
Value = 0x3
StrLen = -6
[ODBC][3331][1288788738.869204][SQLSetEnvAttr.c][356]
Exit:[SQL_SUCCESS]
[ODBC][3331][1288788738.879396][SQLAllocHandle.c][375]
Entry:
Handle Type = 2
Input Handle = 0x92b0d08
[ODBC][3331][1288788738.879422][SQLAllocHandle.c][493]
Exit:[SQL_SUCCESS]
Output Handle = 0x92c2940
[ODBC][3331][1288788738.879449][SQLSetConnectAttrW.c][332]
Entry:
Connection = 0x92c2940
Attribute = SQL_ATTR_AUTOCOMMIT
Value = (nil)
StrLen = -5
[ODBC][3331][1288788738.879467][SQLSetConnectAttrW.c][616]
Exit:[SQL_SUCCESS]
[ODBC][3331][1288788738.879694][SQLDriverConnectW.c][290]
Entry:
Connection = 0x92c2940
Window Hdl = (nil)
Str In = [DNdm;I=eoPDdm][length = 26]
Str Out = 0x92b1cf8
Str Out Max = 1024
Str Out Ptr = 0xbfe66270
Completion = 0
[ODBC][3331][1288788738.879718][SQLDriverConnectW.c][500]Error: IM002
[ODBC][3331][1288788738.879810][SQLGetDiagRecW.c][508]
Entry:
Connection = 0x92c2940
Rec Number = 1
SQLState = 0xbfe65f70
Native = 0xbfe65f90
Message Text = 0xbfe65d38her
Buffer Length = 510
Text Len Ptr = 0xbfe65fa8
[ODBC][3331][1288788738.879835][SQLGetDiagRecW.c][550]
Exit:[SQL_SUCCESS]
SQLState = IM002
Native = 0xbfe65f90 -> 0
Message Text = [[unixODBC][Driver Manager]Data source name not found, and no default driver specified]
[ODBC][3331][1288788738.879865][SQLGetDiagRecW.c][508]
Entry:
Connection = 0x92c2940
Rec Number = 2
SQLState = 0xbfe65f70
Native = 0xbfe65f90
Message Text = 0xbfe65d38
Buffer Length = 510
Text Len Ptr = 0xbfe65fa8
[ODBC][3331][1288788738.879882][SQLGetDiagRecW.c][550]
Exit:[SQL_NO_DATA]
[ODBC][3331][1288788738.879942][SQLDisconnect.c][208]
Entry:
Connection = 0x92c2940
[ODBC][3331][1288788738.879958][SQLDisconnect.c][237]Error: 08003
[ODBC][3331][1288788738.880005][SQLFreeHandle.c][286]
Entry:
Handle Type = 2
Input Handle = 0x92c2940
[ODBC][3331][1288788738.880023][SQLFreeHandle.c][337]
Exit:[SQL_SUCCESS]
[ODBC][3331][1288788738.903716][SQLFreeHandle.c][219]
Entry:
Handle Type = 1
Input Handle = 0x92b0d08So there is an error (IM002) in there, saying it can't find the Data Source Name..
Some addtional tests I ran:
dltest /usr/local/lib/libodbc.so returns SUCCESS: Loaded /usr/local/lib/libodbc.so
ldd /usr/local/lib/libodbc.so returns
linux-gate.so.1 => (0x00a44000)
libdl.so.2 => /lib/libdl.so.2 (0x00a22000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x005b1000)
/lib/ld-linux.so.2 (0x00736000)
So it can find and load the necessary libraries (afaik)..
So any ideas left?? -
How to update transaction data automatically into MySQL database using PI
Dear All,
With reference to subject matter I want a sincere advice regarding how to update transaction data automatically into MySQL database using PI. Is there any link available where I can get step-by-step process.
Ex: I have a MYSQL database in my organization. Whenever a delivery created in SAP some fields like DO Number, DO quantity, SO/STO number should get updated in MYSQL database automatically.
This scenario is related to updation of transactional data into MYSQL DB and I want your suggestions pertaining to same issue.
Thanks and Regards,
Chandra SekharHi .
Develop a sceanrio between SAP to Database system,When the data updates in SAP Tables read the data and update it in DATA Base using JDBC adapter,but there will be some delay in updating data in MySQL.
serach in sdn for IDOC-TOJDBC sceannario,many documents available for the same.
Regards,
Raja Sekhar -
Database link from Oracle 11g (64 bit) to MySQL over UnixODBC with dg4odbc
Hello,
I want to connect to a MySQL Database from Oracle over a database link, but i get always the Error Message ORA-28528: Heterogeneous Services datatype conversion error .
In the forum or internet I can't find a solution for my problem, so I try now to post this problem.
Here a detailed description of the problem:
I use a Oracle 11.1.0.7.0 64bit database which is running on a redhat linux 5.3 64bit.
I want to connect to a MySql Database 5.0, which is running on a redhat linux 5.2 32bit over unixODBC.
The configuration from the ODBC seems to be good, because with isql on the ora server I can connect and query all data correct from the MySQL database.
Also the tsnnames.ora and listener.ora should be configured correctly. The tnsping works also fine.
But when i try to catch the data over SQLPlus with the database link I always get the error ORA-28528.
If I try to select just one column it works, but the returned data are incomplete or truncated.
the version of my libs:
between mysql and odbc I use libmyodbc3.so version 3.51.12-2.2 (I also tried the version 5, but with them I get a segmentation fault error on isql).
between odbc and dg4odbc I use libodbc.so version 2.2.11-7.1
Has anybody a solution or hint for me?
Many Thanks in advance,
best regards from Austria
Manuel
Edited by: user11243186 on 09.06.2009 02:59kdgmanu wrote:
Hello,
I always get the error ORA-28528.
If I try to select just one column it works, but the returned data are incomplete or truncated.
maybe you are facing bug 6772397, so do a search on metalink for bug 6772397
>
Has anybody a solution or hint for me?you could also see the following notes 554409.1 and 603801.1
Many Thanks in advance,
best regards from Austriacheers from Zagreb -
Database link Oracle to MySql Error [Microsoft][ODBC Driver Manager]
Dear all:
I need your help, I want to access mysql database from oracle 11g r2. When I try to connect mysql database from oracle database I'm getting the error shown below, kindly help your help will be appreciated, thanks in advance
When I excute:
select * from test1@mysqltest;
[ERROR]
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}
ORA-02063: preceding 2 lines from THAONT1.MYSQL
28500. 00000 - "connection from ORACLE to a non-Oracle system returned this message:"
*Cause: The cause is explained in the forwarded message.
*Action: See the non-Oracle system's documentation of the forwarded message.
My config
oracle db:11.2.0.3 enterprise edition
os:win 7 64 bits
mysql connector odbc:64 bit
mysql db:5.1.19
ODBC Config
LISTENER.ORA:
=============
# listener.ora Network Configuration File: D:\app\THAONTSE90151\product\11.2.0\dbhome_3\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\THAONTSE90151\product\11.2.0\dbhome_3)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\THAONTSE90151\product\11.2.0\dbhome_3\bin\oraclr11.dll")
(SID_DESC =
(SID_NAME = tst)
(ORACLE_HOME = D:\app\THAONTSE90151\product\11.2.0\dbhome_3)
(PROGRAM = dg4odbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.1.58)(PORT = 1521))
ADR_BASE_LISTENER = D:\app\THAONTSE90151
TNSNAMES.ORA:
================
TSTLINK =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.1.58)(PORT = 1521))
(CONNECT_DATA =
(SID = tst)
(HS = OK)
inittst.ora($ORACLE_HOME/hs/admin)
========================
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = testmysql
HS_FDS_TRACE_LEVEL = off
# Environment variables required for the non-Oracle system
#set ODBCINI=D:\ODBC.INI
dblink created from oracle to mysql:
==========================
SQL> create public database link mysqltest
connect to thaont identified by abc123 using 'TSTLINK';
SQL>select * from test1@mysqltest;
[ERROR]
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}
ORA-02063: preceding 2 lines from THAONT1.MYSQL
28500. 00000 - "connection from ORACLE to a non-Oracle system returned this message:"
*Cause: The cause is explained in the forwarded message.
*Action: See the non-Oracle system's documentation of the forwarded message.
kindly help.
thanks & regards.The error message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}" is self explainind - DG4ODBC is not able to find the ODBC DSN you created.
In your gateway init file you configured the DSN: HS_FDS_CONNECT_INFO = testmysql
And according to the Windows ODBC Admin screenshot you created a DSN called testmysql - unfortunately you created it as a USER DSN. But DG4ODBC needs a SYSTEM DSN. The reasin why it needs a system DSN is that by default the Oracle listener is running in the local system account. So when you create an ODBC USER DSN it can be access by the user who created it, but nobody else can use it - also not the local system account which is serving the Oracle listener. So you need to create a system DSN that every user on this machine can use the DSN (including the local system account) .
- Klaus -
Database Link to Mysql Database.
Hi Guys.
I need to Create a Database Link a Mysql database that is running over a Red Hat server to my Oracle 10g Database that is running over SUSE. I Have an Application server where the user runs forms and Report. The user access the Application Server that allow them to connect to Oracle Database because is a web Environtment. I would like to access MYSQL database to pull our some data to create a couple of Views for my Users.
Thanks in Advance.
Emmanuel
PD: do I need to configure some ODBC or just modify my tnsname.ora file???add a space to each line in the SID section of your listener - only GTW_LISTENER and SID_LIST_GTW_LISTENER are valid commands to start at the first position in the file.
In addition please remove that line from your gateway init file: HS_FDS_SHAREABLE_NAME=C:\Program Files\MySQL\Connector ODBC 5.2\myodbc5w.dll
HS_FDS_SHAREABLE_NAME is used on Unix to specify the ODBC Driver Manager - as you're on Windows where Windoes ships a valid ODBC Driver Manager you don't need to specify that parameter.manager. In addition please remove the set ODBCINI parameter as the Windows ODBC Driver Manager uses the registry. So make sure you have created a 64bit ODBC system DSN using the 64bit MySQL ODBC driver (it has to be the 64bit ODBC driver as you're on a 64bit Windows using a 64bit DG4ODBC)
- Klaus -
Oracle database link to MySQL select only one row
Hello,
I have created a connection from the Oracle batabase 11.2 to a MySQL database via database link. The following statement shows, that 35 rows are in the mySQL table:
SQL> select count(*) from "main_pages"@MOREWEB;
COUNT(*)
35
But a normal select statement only return 1 row.
SQL> select "subject" from "main_pages"@MOREWEB;
subject
Übersicht: Referenzen
I am using the mysql-connector-odbc-3.51.30-winx64 driver. A newer version cann't be installed because on Windows Server 2008 R2 I get an error with an missing dll-file. The DataDirect-ODBC-driver is not possible, because we like to use the free MySQL-database an DataDirect only support the enterprise edition.
I also have tried to limit the HS_OPEN_CURSORS or dont limit the HS_FDS_FETCH_ROWS, but there is no difference in the result. I always get only one row.
HS Init.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = moreweb
HS_FDS_TRACE_LEVEL = ON
HS_FDS_FETCH_ROWS=1
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
HS tracefile
Oracle Corporation --- MITTWOCH NOV 05 2014 13:56:22.066
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- MITTWOCH NOV 05 2014 13:56:22.066
Version 11.2.0.1.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using mpgw as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=36 ...
00: 53454C45 43542043 4F554E54 282A2920 [SELECT COUNT(*) ]
10: 46524F4D 20606D61 696E5F70 61676573 [FROM `main_pages]
20: 60204131 [` A1]
Deferred open until first fetch.
Performing delayed open.
SQL text from hgopars, id=1, len=40 ...
00: 53454C45 43542041 312E6073 75626A65 [SELECT A1.`subje]
10: 63746020 46524F4D 20606D61 696E5F70 [ct` FROM `main_p]
20: 61676573 60204131 [ages` A1]
Deferred open until first fetch.
Performing delayed open.
Please can help me someone.
Thanks.
Biancamxallen wrote:
Bianca,
If you log directly into MySQL and issue the same query (select "subject" from "main_pages";) what data is returned?
I looks to me that you count is the number of rows in the entire table "main_pages"
while you select is for the data in the "subject" column only.
This seems to indicate that you have just one row in that subject column.
Regards,
Matt
WHAATT?
What do you mean by "just one row in that subject column"?
That makes no sense at all. A row is a row. A column is a part of a row. All rows have all columns, though not all columns of all rows will necessarily have an assigned value. Lacking a WHERE clause to filter rows, any SELECT should return all rows. -
Oracle 64bit to MySQL (OS 64bit) - Database Link
My task is to create a database link from Oracle to MySQL.
My current setup is:
Windows Server 2008 - 64bit
Oracle 10.2.0.4.0 - 64bit
MySQL 5.0.45-community-nt
On my server I have installed the mysql odbc driver 64bit (5.6).
However, this driver only appears in the system32 of the odbcad32.exe and NOT in the syswow64.
How is that? I realize the problem might be here since Oracle (a 64bit application) looks for an odbc from a 64bit driver. This is not found since the mysql driver doesnt exist in the odbcad32.exe of syswow64.
I have followed the step by step setup procedure from this Connecting Oracle with MS-Access | Oracle FAQ but used the above driver and odbc accordingly.
After creating the database link on oracle I execute a select statement and this is the message I get:
ERROR at line 2: ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535 ORA-02063: preceding 2 lines from MYSQL_DB
MYSQL_DB is the database link created in Oracle.
Any ideas? Is this possible? Are there any alternative ways?
Thank you,
AndreasThe error message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified {IM002}" is self explainind - DG4ODBC is not able to find the ODBC DSN you created.
In your gateway init file you configured the DSN: HS_FDS_CONNECT_INFO = testmysql
And according to the Windows ODBC Admin screenshot you created a DSN called testmysql - unfortunately you created it as a USER DSN. But DG4ODBC needs a SYSTEM DSN. The reasin why it needs a system DSN is that by default the Oracle listener is running in the local system account. So when you create an ODBC USER DSN it can be access by the user who created it, but nobody else can use it - also not the local system account which is serving the Oracle listener. So you need to create a system DSN that every user on this machine can use the DSN (including the local system account) .
- Klaus -
[b] Populating List Box from MySQL Database[/b]
Hi all,
I'm trying to populate a JComboBox from MySQL database, I Have an applet which send's the query to a server through sockets on the localhost, but when i try to retrieve the result set from the MySQL database, i get an index out of bounds exception, It's probably something simple, any help regarding the above problem!! I've included the code below!!
Cheers
Dave
java.lang.ArrayIndexOutOfBoundsException: 1
at dbWrapper1.Select(dbWrapper1.java:97)
at TestUpdateDB.main(TestUpdateDB.java:29)
Applet Code:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import java.io.*;
import java.net.*;
* @version 04/18/05
* @author David Lawless
public class cust extends JApplet implements ActionListener
//Declare Labels for Form
private JLabel titleLabel;
private JLabel firstNameLabel;
private JLabel lastNameLabel;
private JLabel addressLabel;
private JLabel countyLabel;
private JLabel countryLabel;
//Declare Input fields for user
private JTextField firstNameText;
private JTextField lastNameText;
private JTextField addressLineOneText;
private JTextField addressLineTwoText;
private JTextField addressLineThreeText;
//Declare list for title box
private JComboBox titleList;
private String[] title = {"Mr.","Mrs.","Miss","Ms","Dr."};
//Declare list for county box
private JComboBox countyList;
//Called when this applet is loaded into the browser.
public void init()
lookAndFeel();
//Initialise Labels
firstNameLabel = new JLabel("First Name * ");
lastNameLabel = new JLabel("Last Name * ");
titleLabel = new JLabel("Title * ");
addressLabel = new JLabel("Address *");
countyLabel = new JLabel("County *");
countryLabel = new JLabel("Country *");
//Initialise title List
titleList = new JComboBox( title );
titleList.setActionCommand("Title");
//Set up Text fields
firstNameText = new JTextField(30);
firstNameText.setToolTipText("Please enter your first name here");
lastNameText = new JTextField(30);
lastNameText.setToolTipText("Please enter your surname here");
addressLineOneText = new JTextField(30);
addressLineTwoText = new JTextField(30);
addressLineThreeText = new JTextField(30);
//Retrieve County List From Database
//countyList = new JComboBox( counties );
try
try
Socket mySocket = new Socket ("127.0.0.1", 1983 );
ObjectOutputStream out = new ObjectOutputStream(mySocket.getOutputStream());
String entry1 ="SELECT county FROM data";
out.writeObject(new String(entry1));
ObjectInputStream in = new ObjectInputStream(mySocket.getInputStream());
int size = in.readInt();
Object [] results = new Object[size];
for (int i=0; i < size ; i++ )
results[i] = in.readObject();
countyList = new JComboBox( results );
countyList.setActionCommand("County");
mySocket.close ();
catch (Exception exp)
exp.printStackTrace();
// detect problems interacting with the database
catch ( Exception sqlException )
System.exit( 1 );
//set up command buttons
submitButton = new JButton("Submit");
submitButton.setToolTipText("Click here to submit your details ");
submitButton.addActionListener(this);
cancelButton = new JButton("Cancel");
cancelButton.setToolTipText("Click here to cancel order");
cancelButton.addActionListener(this);
Container topLevelContainer = getContentPane();
getContentPane().setBackground(Color.blue);
//Create Layout
JPanel contentPane = new JPanel();
//Set transparent background instead of blue
contentPane.setBackground(Color.white);
contentPane.setLayout(null);
contentPane.setOpaque(true);
titleLabel.setBounds(37,10,75,20);
contentPane.add(titleLabel);
firstNameLabel.setBounds(93,10,100,20);
contentPane.add(firstNameLabel);
lastNameLabel.setBounds(198,10,100,20);
contentPane.add(lastNameLabel);
titleList.setBounds(37,35,50,20);
contentPane.add(titleList);
firstNameText.setBounds(93,35,100,20);
contentPane.add(firstNameText);
lastNameText.setBounds(198,35,100,20);
contentPane.add(lastNameText);
addressLabel.setBounds(37,65,100,20);
contentPane.add(addressLabel);
addressLineOneText.setBounds(37,90,125,20);
contentPane.add(addressLineOneText);
addressLineTwoText.setBounds(37,115,125,20);
contentPane.add(addressLineTwoText);
addressLineThreeText.setBounds(37,140,125,20);
contentPane.add(addressLineThreeText);
countyLabel.setBounds(37,165,100,20);
contentPane.add(countyLabel);
countyList.setBounds(37,190,100,20);
contentPane.add(countyList);
submitButton.setBounds(60,250,100,20);
contentPane.add(submitButton);
cancelButton.setBounds(180,250,100,20);
contentPane.add(cancelButton);
topLevelContainer.add(contentPane);
}//End init()
static void lookAndFeel()
try
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch(Exception e)
}//End look and feel method
public synchronized void actionPerformed(ActionEvent e)
String actionCommand = e.getActionCommand();
if (e.getSource() instanceof JButton)
if (actionCommand.equals("Cancel"))
int returnVal = JOptionPane.showConfirmDialog(null,
"Are you sure you want cancel and discard your order?",
"Cancel Order", JOptionPane.YES_NO_OPTION);
if(returnVal == JOptionPane.YES_OPTION)
System.exit(0);
if (actionCommand.equals("Submit"))
firstName = firstNameText.getText();
Surname = lastNameText.getText();
}//end action command for submit button
}//end method actionperformed
}//End class customerDatabase Connection Code:
import java.sql.*;
import java.util.*;
class dbWrapper1
private Statement statement;
private Connection connection;
private String strUserName;
private String strPassword;
Object [] results = null;
static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";
static final String DATABASE_URL = "jdbc:mysql://localhost:3306/ecommerce";
public dbWrapper1()
// the DSN for the Db connection
strUserName = "root";
strPassword = "password";
public void Open()
try
// Load the jdbc-odbc bridge driver
Class.forName ( JDBC_DRIVER );
// ***** TESTING PURPOSES *****
//Check currently loaded drivers
System.out.println("Currently loaded drivers...");
for
Enumeration enum1 = DriverManager.getDrivers() ;
enum1.hasMoreElements();
System.out.println(enum1.nextElement().getClass().getName());
// Attempt to connect to a driver.
connection = DriverManager.getConnection ( DATABASE_URL, strUserName, strPassword );
// Create a Statement object so we can submit
// SQL statements to the driver
statement = connection.createStatement();
catch (SQLException ex)
while (ex != null)
System.out.println ("SQL Exception: " + ex.getMessage () );
ex = ex.getNextException ();
catch (java.lang.Exception ex)
ex.printStackTrace ();
public void Update( String strUpdate )
try
// Submit an update or create
statement.executeUpdate( strUpdate );
catch (SQLException ex)
while (ex != null)
System.out.println ("SQL Exception: " + ex.getMessage () );
ex = ex.getNextException ();
public Object[] Select( String strQuery )
try
// Submit a query, creating a ResultSet object
ResultSet resultSet = statement.executeQuery( strQuery );
// process query results
ResultSetMetaData metaData = resultSet.getMetaData();
int numberOfColumns = metaData.getColumnCount();
results = new Object[numberOfColumns];
while ( resultSet.next() )
for ( int i = 1; i <= numberOfColumns; i++ )
results[i] = resultSet.getObject(i);
System.out.print(resultSet.getString(i) + " | " );
System.out.println();
resultSet.close();
catch (SQLException ex)
while (ex != null)
System.out.println ("SQL Exception: " + ex.getMessage () );
ex = ex.getNextException ();
for (int i=0;i<results.length ;i++ )
System.out.println(results);
return results;
public void Close()
try
statement.close();
connection.close();
catch (SQLException ex)
while (ex != null)
System.out.println ("SQL Exception: " + ex.getMessage () );
ex = ex.getNextException ();
Server Code:
import java.io.*;
import java.net.*;
public class TestUpdateDB
public static void main(String[] args)
System.out.println ( "Server is active" );
try {
ServerSocket sock = new ServerSocket ( 1983 );
while ( true )
try
Socket mySock = sock.accept();
ObjectInputStream iStream = new ObjectInputStream(mySock.getInputStream());
ObjectOutputStream oStream = new ObjectOutputStream(mySock.getOutputStream());
Object temp = iStream.readObject();
String entry = (String)temp;
System.out.println ( entry );
dbWrapper1 myDB = new dbWrapper1();
myDB.Open();
Object [] query = myDB.Select(entry);
int size = query.length;
oStream.writeInt(size);
for (int i=1 ; i <= query.length ; i++)
oStream.writeObject( query );
myDB.Close();
catch ( Exception exp )
exp.printStackTrace ();
catch ( Exception exp ) {
exp.printStackTrace();Sir,
The exception is probably in here.
for ( int i = 1; i <= numberOfColumns; i++ ){
results[i] = resultSet.getObject(i);
System.out.print(resultSet.getString(i) + " | " );
}ResultSet counting begins with 1 but array indexing begins with 0 your code should look more like.
for ( int i = 0; i <= numberOfColumns; i++ ){
results[i] = resultSet.getObject(i+1);
System.out.print(resultSet.getString(i+1) + " | " );
}Sincerely,
Slappy -
OWB 10g -- Can't Create Database Links for Data Source and Target
We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
For the database link of data source, we got the following error message:
Testing...
Failed.
SQL Exception
Repository Error:SQL Exception..
Class Name: CacheMediator.
Method Name: getDDEntryFromDB.
Repository Error Message: ORA-12170: TNS:Connect timeout occurred
For the database link of target , we got the following error message:
Testing...
Failed.
API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
Repository Error:SQL Exception..
Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
Method Name: createDBLink(String, String, String, String).
Method Name: -1.
Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
However, we could connect to the two databases (data source and target) using the OWBs utility SQL Plus.
Please help us to solve this problem. Thank you.As I said prior the database link creation should work from within the OWB client (also in 10).
Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
- the use of abnormal characters in the database link name
- long domain name used in as names.default_domain in my sqlnet.ora file
What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not. -
Database Link Error to MySQL when using variables
Hi Guys
I currently hava a database link to MySQL. I can read, insert, delete and update with no problems when using literals. However when I attempt to carry out the same actions using pl/sql variables I recieve the following error:
ORA-02055: distributed update operation failed; rollback required
ORA-02068: following severe error from AAA1
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ProdDB.btl.net)(PORT=1527))(CONNECT_DATA=(SID=AAA1)))
ORA-06512: at line 15
Could you kindly give me some suggestions?
PL/SQL Code
Declare
MSISDN2 char(8);
IMSI2 number(28,0);
ICC2 number(28,0);
cnt number(28,0);
Begin
MSISDN2 :='610-0850';
IMSI2:=8950167090300132451;
ICC2:=702670161017765;
delete from "SUBSCRIBERS"@AAA1 where "MSISDN" = MSISDN2;--"ICC" = ICC2 or "IMSI" = IMSI2;
End;
System Info:
Oracle Database 10.2.0.5.0 on Redhat Linux 64 bit
Oracle Database Gateways for ODBC 11.2.0.1.0 on same machine as above
UnixODBC-3.2.1 compiled in 64bit mode on same machine as well
MySQL ODBC Connector DriverVer:05.02.0002
ODBC DSN
; odbc.ini configuration for Connector/ODBC and Connector/ODBC 3.51 drivers
[ODBC Data Sources]
AAA1 = MyODBC 5.2.2 Driver DSN
[AAA1]
Driver = /usr/lib64/libmyodbc5w.so
Description = Connector/ODBC 5.52 Driver DSN
SERVER = 10.50.18.89
USER = tytancc2
Password = xxxxxx
Database = radiator
OPTION = 3
CHARSET = latin1
Trace = yes
TraceFile = /tmp/unixodbc.sql.log
Debug = 1
Debugfile = /tmp/unixodbc.debug.log
HS File
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = AAA1
#HS_FDS_TRACE_LEVEL = 255
HS_FDS_TRACE_LEVEL = DEBUG
#HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc5w.so
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so.2
HS_FDS_SQLLEN_INTERPRETATION=32
#HS_LANGUAGE = AMERICAN_AMERICA.AL32UTF8
#HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P15
#HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
HS_LANGUAGE = AMERICAN_AMERICA.LATIN1
HS_FDS_FETCH_ROWS=1
#HS_NLS_NCHAR= UCS2
#HS_OPEN_CURSORS=10
# ODBC specific environment variables
set ODBCINI=/u01/oracle/.odbc.ini
set ODBCINSTINI=/etc/odbcinst.ini
# Environment variables required for the non-Oracle system
set LD_LIBRARY_PATH=/usr/lib64
Trace File
Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.555
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- FRIDAY FEB 08 2013 22:01:40.549
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
HOSGIP returned value of "1" for HS_FDS_FETCH_ROWS
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
HOSGIP returned value of "32" for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "AAA1"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:AAA1
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=31
HOCXU_SEM_VER=102000
Entered hgolofn at 2013/02/08-22:01:40
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so.2"
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a08f61
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a090e5
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a09c18
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a0b6dc
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a17bc4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a182e8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1bc40
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1dad8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1e6dc
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a20bae
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a20bd0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a22f44
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a276d4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a27b90
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2a4a4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2b574
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2b99c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2e65c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2ecd0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a31db8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a31ac0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a0c47c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a0e884
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a14943
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1714a
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a19327
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1d2ce
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a1f648
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a210c7
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a23990
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2414c
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a25d26
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a26cc0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a288a8
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a28c67
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a29e88
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2c51e
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2ccfa
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2d5c0
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2de92
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a2f088
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a33fa4
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a315fe
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a36de2
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Entered hgolofns at 2013/02/08-22:01:40
symbol_peflctx=0x31a380ec
hoaerr:0
Exiting hgolofns at 2013/02/08-22:01:40
Exiting hgolofn, rc=0 at 2013/02/08-22:01:40
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "1"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
treat_SQLLEN_as_compiled = 0
Exiting hgoinit, rc=0 at 2013/02/08-22:01:40
Entered hgolgon at 2013/02/08-22:01:40
reco:0, name:tytancc2, tflag:0
Entered hgosuec at 2013/02/08-22:01:40
Exiting hgosuec, rc=0 at 2013/02/08-22:01:40
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using tytancc2 as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2013/02/08-22:01:40
HS_FDS_CONNECT_INFO = "AAA1"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2013/02/08-22:01:40
dsn:AAA1, name:tytancc2
optn:
Entered hgocip at 2013/02/08-22:01:40
dsn:AAA1
Exiting hgocip, rc=0 at 2013/02/08-22:01:40
Exiting hgogenconstr, rc=0 at 2013/02/08-22:01:40
Entered hgolosf at 2013/02/08-22:01:45
Exiting hgolosf, rc=0 at 2013/02/08-22:01:45
DriverName:libmyodbc5w.so, DriverVer:05.02.0002
DBMS Name:MySQL, DBMS Version:5.1.66-community-log
Exiting hgocont, rc=0 at 2013/02/08-22:01:45
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2013/02/08-22:01:45
Entered hgoulcp at 2013/02/08-22:01:45
Entered hgowlst at 2013/02/08-22:01:45
Exiting hgowlst, rc=0 at 2013/02/08-22:01:45
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:3, Isolation Option:0xf
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
16 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
capno:3042, context:0x00000000, add-info: 0, translation:"42"
capno:3047, context:0x00000000, add-info: 0, translation:"57"
capno:3049, context:0x00000000, add-info: 0, translation:"59"
capno:3050, context:0x00000000, add-info: 0, translation:"60"
capno:3066, context:0x00000000, add-info: 0
capno:3067, context:0x00000000, add-info: 0
capno:3068, context:0x00000000, add-info: 0
capno:3069, context:0x00000000, add-info: 0
capno:3500, context:0x00000001, add-info: 91, translation:"42"
capno:3501, context:0x00000001, add-info: 93, translation:"57"
capno:3502, context:0x00000001, add-info: 107, translation:"59"
capno:3503, context:0x00000001, add-info: 110, translation:"60"
Exiting hgoulcp, rc=0 at 2013/02/08-22:01:45
Entered hgouldt at 2013/02/08-22:01:45
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2013/02/08-22:01:45
Entered hgobegn at 2013/02/08-22:01:45
tflag:0 , initial:1
hoi:0x9671a48, ttid (len 26) is ...
00: 54595441 4E2E6438 32323564 62642E32 [TYTAN.d8225dbd.2]
10: 392E372E 33313031 3433 [9.7.310143]
tbid (len 10) is ...
0: 1D000700 7FBB0400 0104 [..........]
Exiting hgobegn, rc=0 at 2013/02/08-22:01:45
Entered hgopdsc at 2013/02/08-22:01:45
Describing procedure SUBSCRIBERS
Output hoada
hgopdsc, line 1406: NO hoada to print
Exiting hgopdsc, rc=942 at 2013/02/08-22:01:45
Entered hgodtab at 2013/02/08-22:01:45
count:1
table: SUBSCRIBERS
Allocate hoada[0] @ 0x3a23590
Entered hgopcda at 2013/02/08-22:01:45
Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:10
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
The hoada for table SUBSCRIBERS follows...
hgodtab, line 876: Printing hoada @ 0x3a23590
MAX:8, ACTUAL:8, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
-5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
-5 BIGINT N 8 8 0/ 0 0 0 20 ICC
1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
-5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
-5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
-5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
Exiting hgodtab, rc=0 at 2013/02/08-22:01:45
Entered hgodafr, cursor id 0 at 2013/02/08-22:01:45
Free hoada @ 0x3a23590
Exiting hgodafr, rc=0 at 2013/02/08-22:01:45
Entered hgopars, cursor id 1 at 2013/02/08-22:01:45
type:0
SQL text from hgopars, id=1, len=134 ...
00: 53454C45 43542041 312E604D 53495344 [SELECT A1.`MSISD]
10: 4E602C41 312E6049 4D534960 2C41312E [N`,A1.`IMSI`,A1.]
20: 60494343 602C4131 2E604348 45434B41 [`ICC`,A1.`CHECKA]
30: 54545260 2C41312E 60524550 4C594154 [TTR`,A1.`REPLYAT]
40: 5452602C 41312E60 54494D45 4C454654 [TR`,A1.`TIMELEFT]
50: 602C4131 2E60454C 494D494E 41544544 [`,A1.`ELIMINATED]
60: 602C4131 2E605355 5350454E 44454460 [`,A1.`SUSPENDED`]
70: 2046524F 4D206053 55425343 52494245 [ FROM `SUBSCRIBE]
80: 52536020 4131 [RS` A1]
Exiting hgopars, rc=0 at 2013/02/08-22:01:45
Entered hgoopen, cursor id 1 at 2013/02/08-22:01:45
hgoopen, line 86: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2013/02/08-22:01:45
Entered hgodscr, cursor id 1 at 2013/02/08-22:01:45
Allocate hoada @ 0x3a23538
Entered hgopcda at 2013/02/08-22:01:45
Column:1(MSISDN): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:2(IMSI): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:3(ICC): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:4(CHECKATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:5(REPLYATTR): dtype:1 (CHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:6(TIMELEFT): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:7(ELIMINATED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
Entered hgopcda at 2013/02/08-22:01:45
Column:8(SUSPENDED): dtype:-5 (BIGINT), prc/scl:19/0, nullbl:1, octet:200, sign:1, radix:0
Exiting hgopcda, rc=0 at 2013/02/08-22:01:45
hgodscr, line 880: Printing hoada @ 0x3a23538
MAX:8, ACTUAL:8, BRC:1, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 8 0/ 0 0 0 200 MSISDN
-5 BIGINT N 8 8 0/ 0 0 0 20 IMSI
-5 BIGINT N 8 8 0/ 0 0 0 20 ICC
1 CHAR Y 200 200 0/ 0 0 0 200 CHECKATTR
1 CHAR Y 200 200 0/ 0 0 0 200 REPLYATTR
-5 BIGINT Y 8 8 0/ 0 0 0 20 TIMELEFT
-5 BIGINT Y 8 8 0/ 0 0 0 20 ELIMINATED
-5 BIGINT Y 8 8 0/ 0 0 0 20 SUSPENDED
Exiting hgodscr, rc=0 at 2013/02/08-22:01:45
Entered hgoclse, cursor id 1 at 2013/02/08-22:01:46
Exiting hgoclse, rc=0 at 2013/02/08-22:01:46
Entered hgodafr, cursor id 1 at 2013/02/08-22:01:46
Free hoada @ 0x3a23538
Exiting hgodafr, rc=0 at 2013/02/08-22:01:46
Entered hgopars, cursor id 1 at 2013/02/08-22:01:46
type:0
SQL text from hgopars, id=1, len=56 ...
00: 44454C45 54452046 524F4D20 60535542 [DELETE FROM `SUB]
10: 53435249 42455253 60205748 45524520 [SCRIBERS` WHERE ]
20: 60535542 53435249 42455253 602E604D [`SUBSCRIBERS`.`M]
30: 53495344 4E603D3F [SISDN`=?]
Exiting hgopars, rc=0 at 2013/02/08-22:01:46
Entered hgoexec, cursor id 1 at 2013/02/08-22:01:46
octype=3 (DELETE)
hgoexec, line 108: Printing hoada @ 0x3a23538
MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 0 0/ 0 31 0 200 ?
Entered hgoprbv at 2013/02/08-22:01:46
hgoprbv, line 145: Printing hoada @ 0x3a23538
MAX:1, ACTUAL:1, BRC:1, WHT=3 (BIND_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 0 0/ 0 31 0 200 ?
Exiting hgoprbv, rc=0 at 2013/02/08-22:01:46Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.979016][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979038][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_BIGINT
[ODBC][379][1360881002.979073][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979096][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979122][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979144][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979169][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979191][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979220][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979242][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979267][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979289][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979310][SQLFetch.c][348]
Exit:[SQL_NO_DATA]
[ODBC][379][1360881002.979332][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.979354][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979376][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_BIGINT
[ODBC][379][1360881002.979411][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979437][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979463][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979486][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979511][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979533][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979559][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979581][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979606][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979644][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.979667][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979689][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_TINYINT
[ODBC][379][1360881002.979728][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979762][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979801][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979835][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979882][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979920][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.979962][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.979998][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980040][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980074][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980107][SQLFetch.c][348]
Exit:[SQL_NO_DATA]
[ODBC][379][1360881002.980140][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.980176][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980214][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_TINYINT
[ODBC][379][1360881002.980270][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980313][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980356][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980392][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980435][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980471][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980512][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980547][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980588][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980624][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.980661][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980694][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_LONGVARCHAR
[ODBC][379][1360881002.980749][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980785][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.980827][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980862][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.980903][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.980938][SQLGetTypeInfo.c][168]
Entry:
Statement = 0x12401d00
Data Type = SQL_LONGVARBINARY
[ODBC][379][1360881002.980993][SQLGetTypeInfo.c][318]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.981028][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881002.981070][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.981105][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881002.981140][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.981175][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 2
[ODBC][379][1360881002.981208][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.994533][SQLEndTran.c][421]
Entry:
Connection = 0x123d8530
Completion Type = 0
[ODBC][379][1360881002.996504][SQLGetInfo.c][554]
Entry:
Connection = 0x123d8530
Info Type = SQL_CURSOR_COMMIT_BEHAVIOR (23)
Info Value = 0x123d99a0
Buffer Length = 2
StrLen = 0x7fffe2e98e5e
[ODBC][379][1360881002.996546][SQLGetInfo.c][617]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.996572][SQLGetInfo.c][554]
Entry:
Connection = 0x123d8530
Info Type = SQL_CURSOR_ROLLBACK_BEHAVIOR (24)
Info Value = 0x123d99a2
Buffer Length = 2
StrLen = 0x7fffe2e98e5e
[ODBC][379][1360881002.996613][SQLGetInfo.c][617]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.996636][SQLEndTran.c][574]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881002.996666][SQLSetConnectAttr.c][396]
Entry:
Connection = 0x123d8530
Attribute = SQL_ATTR_TXN_ISOLATION
Value = 0x2
StrLen = -5
[ODBC][379][1360881002.999108][SQLSetConnectAttr.c][852]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.002982][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.003054][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x12439eb0
[ODBC][379][1360881003.003087][SQLFreeHandle.c][381]
Entry:
Handle Type = 3
Input Handle = 0x12401d00
[ODBC][379][1360881003.003139][SQLFreeHandle.c][491]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003164][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.003196][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x12401d00
[ODBC][379][1360881003.003221][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 4
Target Type = 1 SQL_CHAR
Target Value = 0x7fffe2e98dc0
Buffer Length = 124
StrLen Or Ind = 0x7fffe2e98e90
[ODBC][379][1360881003.003249][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003273][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 5
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f58
Buffer Length = 0
StrLen Or Ind = (nil)
[ODBC][379][1360881003.003296][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003319][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 6
Target Type = 1 SQL_CHAR
Target Value = 0x7fffe2e98d28
Buffer Length = 120
StrLen Or Ind = 0x7fffe2e98eb8
[ODBC][379][1360881003.003342][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003365][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 7
Target Type = -16 SQL_C_SLONG
Target Value = 0x7fffe2e98f34
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98e98
[ODBC][379][1360881003.003387][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003410][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 9
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f5c
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98ea0
[ODBC][379][1360881003.003433][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003456][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 10
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f64
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98ec0
[ODBC][379][1360881003.003479][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003501][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 11
Target Type = -15 SQL_C_SSHORT
Target Value = 0x7fffe2e98f60
Buffer Length = 0
StrLen Or Ind = (nil)
[ODBC][379][1360881003.003524][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003547][SQLBindCol.c][236]
Entry:
Statement = 0x12401d00
Column Number = 16
Target Type = -16 SQL_C_SLONG
Target Value = 0x7fffe2e98f40
Buffer Length = 0
StrLen Or Ind = 0x7fffe2e98ea8
[ODBC][379][1360881003.003572][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.003623][SQLColumns.c][215]
Entry:
Statement = 0x12401d00
Catalog Name = [radiator][length = 8]
Schema Name = [NULL]
Table Name = [SUBSCRIBERS2][length = 12]
Column Name = [NULL]
[ODBC][379][1360881003.014993][SQLColumns.c][412]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015172][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015247][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015361][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015396][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015479][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015513][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015613][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015647][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015726][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015758][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015836][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015870][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.015961][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.015994][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016072][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.016104][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016183][SQLFetch.c][162]
Entry:
Statement = 0x12401d00
[ODBC][379][1360881003.016209][SQLFetch.c][348]
Exit:[SQL_NO_DATA]
[ODBC][379][1360881003.016284][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 0
[ODBC][379][1360881003.016311][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016438][SQLFreeStmt.c][144]
Entry:
Statement = 0x12401d00
Option = 2
[ODBC][379][1360881003.016465][SQLFreeStmt.c][263]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.016489][SQLFreeHandle.c][381]
Entry:
Handle Type = 3
Input Handle = 0x12439eb0
[ODBC][379][1360881003.016521][SQLFreeHandle.c][491]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.029258][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.029318][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x12439eb0
[ODBC][379][1360881003.029350][SQLPrepare.c][196]
Entry:
Statement = 0x12439eb0
SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
[ODBC][379][1360881003.029450][SQLPrepare.c][371]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.029482][SQLNumResultCols.c][156]
Entry:
Statement = 0x12439eb0
Column Count = 0x123c4538
[ODBC][379][1360881003.033825][SQLNumResultCols.c][248]
Exit:[SQL_SUCCESS]
Count = 0x123c4538 -> 1
[ODBC][379][1360881003.034106][SQLDescribeCol.c][247]
Entry:
Statement = 0x12439eb0
Column Number = 1
Column Name = 0x7fffe2e98c80
Buffer Length = 31
Name Length = 0x7fffe2e98dc4
Data Type = 0x7fffe2e98dc8
Column Size = 0x7fffe2e98d60
Decimal Digits = 0x7fffe2e98dcc
Nullable = 0x7fffe2e98dd0
[ODBC][379][1360881003.034152][SQLDescribeCol.c][497]
Exit:[SQL_SUCCESS]
Column Name = [CHECKATTR]
Data Type = 0x7fffe2e98dc8 -> 1
Column Size = 0x7fffe2e98d60 -> 200
Decimal Digits = 0x7fffe2e98dcc -> 0
Nullable = 0x7fffe2e98dd0 -> 1
[ODBC][379][1360881003.034182][SQLColAttribute.c][293]
Entry:
Statement = 0x12439eb0
Column Number = 1
Field Identifier = SQL_DESC_OCTET_LENGTH
Character Attr = (nil)
Buffer Length = 0
String Length = (nil)
Numeric Attribute = 0x7fffe2e98d68
[ODBC][379][1360881003.034245][SQLColAttribute.c][664]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.034336][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x12439eb0
Attribute = SQL_ATTR_ROW_ARRAY_SIZE
Value = 0x1
StrLen = 0
[ODBC][379][1360881003.034370][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.038845][SQLAllocHandle.c][540]
Entry:
Handle Type = 3
Input Handle = 0x123d8530
[ODBC][379][1360881003.038910][SQLAllocHandle.c][1081]
Exit:[SQL_SUCCESS]
Output Handle = 0x1244ae50
[ODBC][379][1360881003.038941][SQLPrepare.c][196]
Entry:
Statement = 0x1244ae50
SQL = [SELECT A1.`CHECKATTR` FROM `SUBSCRIBERS2` A1 WHERE A1.`MSISDN`='610-0850'][length = 73]
[ODBC][379][1360881003.038986][SQLPrepare.c][371]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.039011][SQLNumResultCols.c][156]
Entry:
Statement = 0x1244ae50
Column Count = 0x123c45c0
[ODBC][379][1360881003.041037][SQLNumResultCols.c][248]
Exit:[SQL_SUCCESS]
Count = 0x123c45c0 -> 1
[ODBC][379][1360881003.041271][SQLDescribeCol.c][247]
Entry:
Statement = 0x1244ae50
Column Number = 1
Column Name = 0x7fffe2e98c80
Buffer Length = 31
Name Length = 0x7fffe2e98dc4
Data Type = 0x7fffe2e98dc8
Column Size = 0x7fffe2e98d60
Decimal Digits = 0x7fffe2e98dcc
Nullable = 0x7fffe2e98dd0
[ODBC][379][1360881003.041311][SQLDescribeCol.c][497]
Exit:[SQL_SUCCESS]
Column Name = [CHECKATTR]
Data Type = 0x7fffe2e98dc8 -> 1
Column Size = 0x7fffe2e98d60 -> 200
Decimal Digits = 0x7fffe2e98dcc -> 0
Nullable = 0x7fffe2e98dd0 -> 1
[ODBC][379][1360881003.041337][SQLColAttribute.c][293]
Entry:
Statement = 0x1244ae50
Column Number = 1
Field Identifier = SQL_DESC_OCTET_LENGTH
Character Attr = (nil)
Buffer Length = 0
String Length = (nil)
Numeric Attribute = 0x7fffe2e98d68
[ODBC][379][1360881003.041362][SQLColAttribute.c][664]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.041444][SQLSetStmtAttr.c][265]
Entry:
Statement = 0x1244ae50
Attribute = SQL_ATTR_ROW_ARRAY_SIZE
Value = 0x1
StrLen = 0
[ODBC][379][1360881003.041472][SQLSetStmtAttr.c][925]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.043645][SQLExecute.c][187]
Entry:
Statement = 0x1244ae50
[ODBC][379][1360881003.048482][SQLExecute.c][348]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.048531][SQLBindCol.c][236]
Entry:
Statement = 0x1244ae50
Column Number = 1
Target Type = 1 SQL_CHAR
Target Value = 0x12438f50
Buffer Length = 201
StrLen Or Ind = 0x12439060
[ODBC][379][1360881003.048559][SQLBindCol.c][341]
Exit:[SQL_SUCCESS]
[ODBC][379][1360881003.048597][SQLFetch.c][162]
Entry:
Statement = 0x1244ae50
[ODBC][379][1360881003.048640][SQLFetch.c][348]
Exit:[SQL_SUCCESS]
Maybe you are looking for
-
Suddenly I received a pop up that a virus was attacking my computer and my info was at risk. I was prompted to initiate "win 7 2011 total security" to remove the threat. Is this a legitimate part of Firefox or a virus attempting to access my computer
-
Current version of itunes will not open in windows 7 64 bit
itunes will not open from windows 7 64 bit. It is the current version of itunes....can't sync ipad.
-
External Speakers Not Working with Snow Leopard
I installed Snow Leopard. Prior to the installation my external speakers, plugged into the headphone jack, worked great. Now, after installing SL, my external speakers and my headphones will not work. Any ideas?
-
Hi, I am inserting million rows in a table using select query . I want to commit ...every 10000 rows how this is possible ? thanks Mani
-
Your newest poster ,ME!!
I have been checking out the NFORCE2 for a while now and read the KT400 vs NFORCE2 Chipset review. I like the ram solution on this board as well as the OC capability of the different boards. The new ASUS version even has a built in network capabilit