9iAS: Configuration to work against uncertified database versions

Can 9iAS be configured, and is it worthwhile in the opinion of this forum, to try to configure 9iAS against uncertified versions of the database like 7.x
The customer is planning to migrate all plsql custom apps from OAS to 9iAS / DB-8.1.7. However, there are some custom apps (dependency on third parties) that cannot be moved to DB-8.1.7. For such exceptions, is it advisable to
(a) continue to use OAS
(b) attempt to make 9iAS work against 7.x (being aware that Oracle will not support!)
All your inputs and pointers will be appreciated.
Thanks !

You need to declare your cursor according to your DB version. Something like this might keep you going:
DECLARE
   VERSION         VARCHAR2 (30);
   COMPATIBILITY   VARCHAR2 (30);
   uname           VARCHAR2 (30);
   TYPE cur IS REF CURSOR;
   p_sys           cur;
BEGIN
   DBMS_UTILITY.db_version (VERSION, COMPATIBILITY);
   IF VERSION LIKE '10%' OR VERSION LIKE '9%'
   THEN
      OPEN p_sys FOR 'SELECT owner, table_name, PRIVILEGE, grantable, HIERARCHY
           FROM dba_tab_privs
          WHERE grantee = :uname' USING uname;
   ELSIF VERSION LIKE '8%'
   THEN
      OPEN p_sys FOR 'SELECT owner, table_name, PRIVILEGE, grantable
           FROM dba_tab_privs
          WHERE grantee = :uname' USING uname;
   END IF;
   do_your_fetch_and_work_here;
   CLOSE p_sys;
END;

Similar Messages

  • Authentication against a database table

    Hi,
    I would like to know if there are way of doing the authentication of weblogic against a database table.
    I already saw the authentication working against the database users, but not against a database table.
    thanks
    rjc

    Anonymous - It is not necessary to login to the HTML DB application if you set it up that way. But I think you mean you'd like the user to be able to login to the "other" application (what technology does it use?) and then (in the same browser session I presume) be able to link to the HTML DB application which would then recognize the authenticated user (from the other app) and allow access. If the user accessed the HTML DB app without having authenticated to the other app first, the user would be challenged for credentials using a page of some sort from the other app. If this is sort of on-the-mark, please search this forum for an example of authentication using mod_ntlm (search ntlm) and take a look at the page sentry code that's been posted and used successfully by others. There's also a document here: http://htmldb.oracle.com/pls/otn/f?p=18326:44:::::P44_ID:1722 .
    Scott

  • Making a procedure to work against 8i, 9i and 10g databases

    Hello all,
    I made a procedure that gathers info from user. At some point I execute this part of code:
    CURSOR tabPrivs IS
    SELECT owner, table_name, privilege, grantable, hierarchy
    FROM dba_tab_privs
    WHERE grantee = uName;
    At first my procedure was only for 9i and 10g databases. I tried it once on 8i and get the logical error that the hierarchy column doesn't exist in the table dba_tab_privs.
    I want my procedure to work against all versions of databases so I tried to do an additional select if the database version was upper than 8, but it seems that it won't compute, as if before executing my procedure, the engine look to all the select I am trying to do and check if they are correct.
    I want to know if there's a work-around because I want to provide the most generic procedure possible.
    Thank you,

    You need to declare your cursor according to your DB version. Something like this might keep you going:
    DECLARE
       VERSION         VARCHAR2 (30);
       COMPATIBILITY   VARCHAR2 (30);
       uname           VARCHAR2 (30);
       TYPE cur IS REF CURSOR;
       p_sys           cur;
    BEGIN
       DBMS_UTILITY.db_version (VERSION, COMPATIBILITY);
       IF VERSION LIKE '10%' OR VERSION LIKE '9%'
       THEN
          OPEN p_sys FOR 'SELECT owner, table_name, PRIVILEGE, grantable, HIERARCHY
               FROM dba_tab_privs
              WHERE grantee = :uname' USING uname;
       ELSIF VERSION LIKE '8%'
       THEN
          OPEN p_sys FOR 'SELECT owner, table_name, PRIVILEGE, grantable
               FROM dba_tab_privs
              WHERE grantee = :uname' USING uname;
       END IF;
       do_your_fetch_and_work_here;
       CLOSE p_sys;
    END;

  • Do new ODAC 11 feature work against Database 10.2

    Hi,
    Do features new in ODAC 11 work against Database 10.2. I'm mainly interested in "End-to-End Tracing using Action and Module attributes"
    Thanks

    Here's a real quick and dirty knock up using ODAC 2.111.6.20 against a 10.2.0.3 database:
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace Miscellaneous
      class Program
        static void Main(string[] args)
          string constr = "User Id=scott; " +
                          "Password=tiger; " +
                          "Data Source=lt10gr2; " +
                          "Pooling=false; " +
                          "Enlist=false";
          OracleConnection con = new OracleConnection(constr);
          con.Open();
          con.ActionName = "MyAction1";
          con.ModuleName = "MyModule1";
          OracleCommand cmd1 = con.CreateCommand();
          cmd1.CommandText = "select user from dual";
          OracleDataReader dr = cmd1.ExecuteReader();
          while (dr.Read()) ;
          con.ActionName = "MyAction2";
          con.ModuleName = "MyModule2";
          OracleCommand cmd2 = con.CreateCommand();
          cmd2.CommandText = "select sysdate from dual";
          dr = cmd2.ExecuteReader();
          while (dr.Read()) ;
          Console.WriteLine("ENTER to continue...");
          Console.ReadLine();
    }I enabled tracing for the session and here are a couple of snippets from the trace file:
    *** ACTION NAME:(MyAction1) 2008-01-24 21:08:01.033
    *** MODULE NAME:(MyModule1) 2008-01-24 21:08:01.033
    -- snip --
    *** ACTION NAME:(MyAction2) 2008-01-24 21:08:01.049
    *** MODULE NAME:(MyModule2) 2008-01-24 21:08:01.049
    ...Whilst obviously not extensive, I think this is the expected result...
    - Mark
    EDIT:
    Just to be clear... this feature works with previous releases of the database; however, there are other features exposed via ODP.NET (or available to ODP.NET) such as the client side cache which will not work with previous releases. Possibly being pedantic, but thought it might be a good idea to state that anyway.
    - Mark

  • Is there any incompatibility in using different JDBC and Oracle database versions?

    Hi everybody,
    I hope you can answer me ASAP.
    Which version of JDBC driver for Oracle could I use to access an Oracle database version 8.0.4.3.0 running on a SUN machine?
    Is it necessary to use the specific driver concerning to that version or could we use the JDBC version 8.1.6?
    If we decide to use JDBC 8.1.6 to work against the 8.0.4.3.0 database, will we find any incompatibility or problem?
    Thanks.
    null

    I don't know the answer to your question, but while looking for something else, I found a table listing "requirements and compatibilities for oracle jdbc drivers" that might answer your question:
    http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83724/getsta1.htm#1008206
    (My aologies if that URL gets broken apart by this posting software and you have to piece it together.)
    Hope this helps.

  • Does  Analytic Workspace Manager 11.2.0.3.0A  work with oracle database 12c?

    hello,
    i would like to know if AWM 11.2.0.3.0A works against with oracle database 12c in pdb mode or not .
    regards
    jm

    I have attempted to connect 11g versions of AWM to 12c and get this error:
    'This version of Analytic Workspace Manager is incompatible with the database instance. The Analytic Workspace Manager version is 11.2.0.3.0 and the database compatible version is 12.1.0.0.0'
    So unfortunately it is not compatible, and there is currently no AWM for 12c
    I also contacted Oracle support and they wont give me any information about a release date or any information on the xml template specification for 12c.
    I guess we will just have to wait till they release a version of AWM that supports 12c...
    Laszlo

  • PDE-PDS001 cannot compile pu against 10g database

    Error occurs when compiling form/library 10as/10g db
    database version 10.1.0.2
    forms version 9.0.4.0.19 also forms6i patch15
    library that can be succesfully compiled against ver 8.1.7.3 and 9.2.0.3 cannot be compiled against 10g database
    PDE-PDS001 Could not resolve reference to <Unknown Program Unit> while loading Procedure Body
    I've got a procedure in a library which reference database package record type
    error 905 object package <name> is invalid - but Database package is valid !
    Searching metalink I came across similar issues with earlier versions of database/tool combinations - Has this error surfaced again ?
    Database package specification includes (in additions to procs/functions) the following:
    TYPE suppress_tabtype IS TABLE OF VARCHAR2 (15) INDEX BY BINARY_INTEGER;
    -- public program units
    TYPE message_rectype IS RECORD
    ( msg_code VARCHAR2(15)
    , severity VARCHAR2(1)
    , severity_desc VARCHAR2(100) -- Translated description of severity
    , suppr_wrng_ind VARCHAR2(1)
    , suppr_always_ind VARCHAR2(1)
    , logging_ind VARCHAR2(1)
    , msg_text VARCHAR2(2000)
    , help_text VARCHAR2(2000)
    , lang_code VARCHAR2(3)
    , raise_error BOOLEAN
    , message_found BOOLEAN);
    TYPE message_tabtype IS TABLE OF message_rectype INDEX BY BINARY_INTEGER;
    Does a patch exist ?
    TIA
    Pete

    Hi Pete
    I encountered the same problem in Oracle Forms 10g (9.0.4.0.19) with an Oracle 10g database. My error was caused by default values in the form of a function call in one of the procedures functions
    f.e.
    package my_package
    function my_function
    ( par1 varchar2
    , par2 varchar2 default my_function_in_another_package
    ) return varchar2;
    end;
    Remove the default value in the function parameter par2 and everything works fine
    Hope this helps,
    Matthieu

  • Follwing query fails on one database, but the same works on other Database

    Hi,
    The following SQL fails on one database with ORA-01722 but the same works on other database.
    SQL> SELECT i.version, d.name, i.instance_name, i.host_name
    FROM v$instance i, v$database d, v$parameter p 2
    3 WHERE p.name = 'instance_number'
    4 AND DECODE(p.value, 0, 1, p.value) = i.instance_number;
    AND DECODE(p.value, 0, 1, p.value) = i.instance_number
    ERROR at line 4:
    ORA-01722: invalid number
    both databases are at same version (10.2.0.1) both are on same machine.
    Initailly I suspected NLS settings, I am surprised to see NLS settings are also same on both the databases.
    Any thoughts why is it happening

    Thanks for the reply
    Yes, i know that i am comparing varchar against number.
    bu there is no way that the database where the query is working has correct types on both sides as the tables are standard oracle dictionary tables.
    Yes, i tried this earlier, it works
    AND DECODE(p.value, '0', '1', p.value) = to_char(i.instance_number)
    it is very weired to see that error, i feel it something else that causing the trouble.

  • XML Query works on one database and not working on others with errLPX-00241

    I have one query as below
    SELECT EXTRACTVALUE
    (VALUE (xml_node),
    '/inspectionActivityArtifact/ns2:landfillTypes/ns2:type[position()=1]',
    'xmlns:ns2="http://dwm.sw.xmlNamespace/InspectionActivity"'
    ) AS TEST
    FROM artifacts a,TABLE (XMLSEQUENCE ((XMLTYPE (NVL (artifact_data, '<empty></empty>'))))) xml_node
    this works well on other databases but not working on one database. Everything is same configuration and OS and everything.
    I can work on other XML parsing which is working fine but not this query.
    Any idea ?
    Viral Dave

    post versions and patch levels for both databases eg 10.2.0.1.0 and the error message you are getting.

  • Does 10g application server 10.1.2.0.2 work for 9i database?

    I have installed 9i database on UNIX. then I am trying to install 10 application server 10.1.2.0.2. But somehow it force me to install a complete 10g database, which is undesireable for me. So I just wonder whether 10g application server can work for 9i database? If it works, how to install 10g app server with 9i database?

    Hi,
    The 10g database installed by the 10.1.2.0.2 application server is used by it as a metadata repository for configuration and also as an LDAP server for the Oracle Internet Directory.
    What components of the application server do you need? If all you want is Forms and Reports services, there is a standalone version that does not install the 10g infrastructure database.
    HTH,
    Jim

  • "Backup optimization on" is not working for "backup database"

    Hi,
    I am using a windows environment and my database info is like this:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Productionnow, I change my configuration for backup optimization on and then make example tablespace offline and also make example datafile offline. After that I run 2 times "Backup Database" command but 2 backup has same size and have example tablespace too... Backup archivelog all is working bur backup database is not!
    according to this link it must not backup example datafile for second: http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV113
    is there something that I missed ?
    rman configuration:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 5;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF;
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'HIGH' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\APP\ABC\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFORCL.ORA'; # default

    If you enable backup optimization, then the BACKUP command skips backing up files when the identical file has already been backed up to the specified device type.
    1. In case of datafile RMAN compares the DBID, checkpoint SCN, creation SCN, and RESETLOGS SCN and time as a datafile already in a backup. If they are identical then skip to take backup again.
    2. In case of archived redo log RMAN compares thread, sequence number, and RESETLOGS SCN and time.
    3. In case of backupset RMAN compares recid and stamp.
    Backup optimization applies to only commands,
    -BACKUP DATABASE
    -BACKUP ARCHIVELOG with ALL or LIKE options
    -BACKUP BACKUPSET ALL
    refer,
    http://www.stanford.edu/dept/itss/docs/oracle/10gR2/backup.102/b14191/rcmconc1008.htm
    Thanks

  • BASIC web authentication against Oracle database?

    Hello,
    Here's what I want in a nutshell. When someone goes to one of my webpages
    under WLS 8.1, I want them to be presented with a BASIC authentication
    dialog. That part is configured between web.xml and weblogic.xml and I
    think I'm OK with doing that. But the part I don't have quite figured out
    is how to get do authentication against a table in an Oracle (or any other,
    for that matter) database.
    Can someone point me (or do you have) any examples that accomplish this?
    I'm sure I'm not the only one who's tried to do this. As far as I can
    tell, I need to create a custom Authenticator (and possibly a custom
    Asserter) and my implementation of those would do the search against the
    database. Correct?

    Hi
    You probably need to develop a custom login module. WLS uses JAAS so do some JAAS
    research the go to
    http://dev2dev.bea.com/products/wlserver/security.jsp
    then click
    http://dev2dev.bea.com/codelibrary/code/security_prov.jsp and get and customize
    the sample code.
    The example code does NOT show how to use form based authentication with your
    custom LoginModule, I'm still working on that, but I assume the WLS servlet container
    creates and appropriate CallbackHandler so you can access the supplied username
    and pw which you can then use to authenticate against your RDBMS
    I need to create a custom LoginModule for Blockade and am going down this track,
    still working on it.
    "KissFan 1973" <[email protected]> wrote:
    Hello,
    Here's what I want in a nutshell. When someone goes to one of my webpages
    under WLS 8.1, I want them to be presented with a BASIC authentication
    dialog. That part is configured between web.xml and weblogic.xml and
    I
    think I'm OK with doing that. But the part I don't have quite figured
    out
    is how to get do authentication against a table in an Oracle (or any
    other,
    for that matter) database.
    Can someone point me (or do you have) any examples that accomplish this?
    I'm sure I'm not the only one who's tried to do this. As far as I
    can
    tell, I need to create a custom Authenticator (and possibly a custom
    Asserter) and my implementation of those would do the search against
    the
    database. Correct?

  • FRM-40654 problems but only against one database (forms6i)

    Hi,
    I have one very basic form. The query data source of the block is a view. The DML data target is a table. The locking mode is set to automatic. Against our development database this form runs without any problem. We can query and update records as expected. Against production we can query the records but the moment we change a field we get a FRM-40654 error. Both production and development database are the same version (8.1.6.3)
    Can anybody give me some hints where I could look to find the cause of this problem.
    I found note 1003629.6 on metalink. It describes some issues you can have when you work with a view as data source and a table as target but the workarounds cannot be used by me and I don't see why it would work against dev in this case.
    To me it looks like we should rather change something on database level...?
    Best Regards,
    Kris

    I would double-check that everything is the same. Is it possible one of the databases has a public synonym so you aren't really looking at the same view or table?
    If you cannot find the problem, try eliminating all the non-essential columns from your block first. If the problem goes away, re-add them one-by-one. All you need to do to remove and then add is change the Database Item property from Yes to No.
    If that does not help you find the problem, then try to emulate in SQL Plus the select and lock that Forms does: First select the data from the view into some local variables. Then to emulate what the on-lock trigger (which issues the 40654 error) does: Select the same columns using the rowid (or maybe primary key columns in your case) from the table you are updating, and then find which column has a different value from the values stored by the select from the view. One of these columns has a different value, and that is triggering the error message.

  • Can't run non-UNICODE-DbSl against UNICODE database

    Hi everyone. I get this error during the update of Solution Manager 7.1 SPS4 (dual stack) to SPS10. It is a green install. This happens during the
    phase PREP_EXTRACT/PREIMP! Of the ABAP stack. Step 5.2. I do not see a lot of people with this problem, so I assume it is something I am doing wrong, as it is my first time using the tool SUM.
    Details of the system:
    Solution Manager 7.1 SPS4
    Windows 2008 R2 64 bit
    Microsoft SQL 2008 R2 64 bit SP1
    Central installation type with all components on
    the same host
    Kernel level 600
    Here is what I have done so far:
    Downloaded the media as described in the installation
    guide.
    Worked my way through the install using the
    Software Provision Manager 1.0
    Updated the Kernel from level 401 to 600, by
    copying the files from the download folder to the F:\usr\sap\SM1\SYS\exe\uc\NTAMD64
    folder. This is the folder that is assigned to the DIR_CT_RUN parameter.
    I start the STARTUP.BAT file in the SUM folder.
    I then start the SUM GUI and run through the
    steps and in step 3 I map the Stack configuration file (XML) to one listed in
    the folder “51047130\DATA” called “SPS10_stack.xml”
    Then I
    get to 5.2 where the system stops with this error:
    Severe error(s) occurred in phase PREP_EXTRACT/PREIMP!
    Last error code set: Single errors (code &lt;= 8) found in logfile 'PREIMP.ELG'
    ERROR: Detected the following errors:
    # F:\usr\SUM\abap\log\R710VPE.<DB>:
          4 ETW000 TRACE-INFO: 19:  [    dev trc,00000]  Driver: sqlncli10.dll Driver release: 10.50.2769                                3938  0.039733
          4 ETW000 TRACE-INFO: 20:  [    dev trc,00000]  GetDbRelease: 10.50.2769.00                                                      1603  0.041336
          4 ETW000 TRACE-INFO: 21:  [    dev trc,00000]  GetDbRelease: Got DB release numbers (10,50,2769,0)                                21  0.041357
          4 ETW000 TRACE-INFO: 22:  [    dev trc,00000]  Can't run non-UNICODE-DbSl against UNICODE database                              2647  0.044004
          4 ETW000 TRACE-INFO: 23:  [    dev trc,00000]  CheckCodepageType failed. Connect terminated.                                      13  0.044017
          2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = '<SERVER>' DBNAME = '<DB>'"
    Can
    anyone please help?
    PS:
    The admin user that I use do have access to the database. It is listed with
    sysadmin role and the default DB is the Solution Manager db.

    ERROR: Detected the following errors:
    # F:\usr\SUM\abap\log\R710VPE.<DB>:
          4 ETW000 TRACE-INFO: 19:  [    dev trc,00000]  Driver: sqlncli10.dll Driver release: 10.50.2769                                3938  0.039733
          4 ETW000 TRACE-INFO: 20:  [    dev trc,00000]  GetDbRelease: 10.50.2769.00                                                      1603  0.041336
          4 ETW000 TRACE-INFO: 21:  [    dev trc,00000]  GetDbRelease: Got DB release numbers (10,50,2769,0)                                21  0.041357
          4 ETW000 TRACE-INFO: 22:  [    dev trc,00000]  Can't run non-UNICODE-DbSl against UNICODE database                              2647  0.044004
          4 ETW000 TRACE-INFO: 23:  [    dev trc,00000]  CheckCodepageType failed.
    As per error, you have used wrong kernel. Please make sure that you use unicode kernel as your system is also unicode.
    Thanks,
    Sunny

  • DG4ODBC configured and working but receiving ORA-28528 for some columns

    DG4ODBC is configured and working for XE 11gR2 but under some circumstance receiving SQL Error: ORA-28528: Heterogeneous Services datatype conversion error.
    Configuration: DG4ODBC configured for Oracle 11gR2 using ODBC datasource based on IBM UniVerse ODBC Driver 4.00.04.7346 UVODBC.DLL (8/25/2009) all on same 32-bit Windows host for purpose of retrieving data from remote AIX based IBM/Rockit UniVerse version 10.1 database.
    Following 3 commands with corresponding results illustrate problem:
    select NO_PROD from bill_mat@dblink where NO_PROD not in ('15','20', '24', '6','10');
    no rows selected
    select NO_PROD, count (*) from bill_mat@dblink where NO_PROD in ('15','20', '24', '6','10') group by NO_PROD;
    NO_PROD COUNT(*)
    6 1
    20 1
    24 1
    10 9
    15 1
    select NO_PROD from bill_mat@dblink ;
    Error starting at line 19 in command:
    select NO_PROD from bill_mat@dblink
    Error report:
    SQL Error: ORA-28528: Heterogeneous Services datatype conversion error
    ORA-02063: preceding line from DBLINK
    28528. 00000 - "Heterogeneous Services datatype conversion error"
    *Cause:    Either an Oracle datatype could not be converted to a non-Oracle
    datatype, or a non-Oracle datatype could not be converted
    to an Oracle datatype. The following are possible reasons for
    for the conversion failure:
    -- overflow problems (in the case of numbers)
    -- length limitations (in the case of character strings)
    -- invalid values passed into the conversion routines
    *Action:   Contact customer support of the agent vendor. If the problem is
    due to size discrepancies between Oracle and the non-Oracle system,
    it may not be possible to convert the value.
    UniVerse LIST query shows many "blank" values for two fields LST.WO & NO.PROD that are problematic when attempting to query via DG4ODBC in the case of subject table "BILL_MAT":
    LIST BILL.MAT LST.WO NO.PROD LOCK 04:08:44pm 22 Nov 2011 PAGE 11
    BILL.MAT.. LST.WO.. NO.PROD LOCK
    239912 10
    220419
    247992
    252739
    249709
    239913 15
    184767
    164264
    184666
    164265
    247994
    239914
    251731
    249711
    173760
    239915 20
    242137
    247490
    247894
    254156
    Press any key to continue...
    Interestingly, output from this JDBC test app is different including references to "null" versus "blank" values referred to with LIST output above:
    import java.sql.*;
    import java.io.*;
    public class billmat {
    public static void main(String[] argv)
    try {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
         // Connect to the U2 server
    String account = "universe_account";
    String userid = "username";
    String passwd = "password";
    String host = "AIX_Host";
    String url = "jdbc:ibm-u2://"+host+"/"+account+"?tracelevel=5;tracefile=qiang.trace";
    //Load driver and connect to server
    Class.forName("com.ibm.u2.jdbc.UniJDBCDriver");
    Connection con = DriverManager.getConnection(url, userid, passwd);
    System.out.println("\n\t*--- Connection successful ---*\n");
    System.out.println("1. Select from file BILL.MAT ------------------------");
    testQuery( con ) ;
    con.close();
    } catch ( SQLException e ) {
    System.out.println("Ex-Message :" + e.getMessage());
    System.out.println("Ex-Code :" + e.getErrorCode()) ;
    System.out.println("Ex-SQLState:" + e.getSQLState());
    System.out.println("Ex-Next :" + e.getNextException());
    e.printStackTrace() ;
    System.gc();
    } catch ( Exception e) {
    System.out.println("Exception caught:"+e) ;
    e.printStackTrace() ;
    * Select something from CUST.MAST file.
    * @param con The JDBC connection object.
    public static void testQuery(Connection con)
    throws SQLException
    Statement stmt = con.createStatement();
         String sql = "select DISTINCT LST.WO, NO.PROD, LOCK from BILL.MAT where LST.WO is not null or NO.PROD is not null";
    // Execute the SELECT statement
    ResultSet rs = stmt.executeQuery(sql);
    // Get result of first five records
    // System.out.println("\tlist selected columns for the first five records:");
    int i = 1;
    while (rs.next() && i < 100)
              System.out.println("\tLST_WO : \t" + rs.getString(1));
              System.out.println("\tNO_PROD : \t" + rs.getString(2));
              System.out.println("\tLOCK : \t" + rs.getString(3));
         i++;
    rs.close();
    stmt.close() ;
    System.out.println("\n\t*--- QUERY test is done successful ---*\n");
    System.out.println("\n\tDisplay Count: \t" + i);
    [root@VM-Linux01 Linux]# java billmat
    --- Connection successful ---
    1. Select from file BILL.MAT ------------------------
    LST_WO : null
    NO_PROD : null
    LOCK :
    LST_WO : null
    NO_PROD : 10
    LOCK :
    LST_WO : null
    NO_PROD : 15
    LOCK :
    LST_WO : null
    NO_PROD : 20
    LOCK :
    LST_WO : null
    NO_PROD : 6
    LOCK :
    LST_WO : null
    NO_PROD : 24
    LOCK :
    --- QUERY test is done successful ---
    Display Count: 7
    The reason column LOCK is included above is because it is queryable via DG4ODBC and shows up as (null) within query result submitted via and provided by SQLDeveloper.
    Considering results above it seems ORA-28528 IS NOT associated with overflow problems or length limitations. Rather, some sort of characterset mapping issue seems more plausible here. For instance, it seems NULL value returned in the case of columns LST_WO and NO_PROD from remote UniVerse database is not mapping correctly to how a NULL is represented within 11gR2 database. Is there some HS_% value within DG4ODBC init file that can be set to resolve this problem? I'm not well-versed in range of settings that exist but did try different values for HS_LANGUAGE which did not help.
    There is no problem using Excel MS Query to retrieve this data using same system DSN and associated ODBC driver on which DG4OBDC setup is based from same Windows machine where DG4ODBC is configured.
    These are current DG4ODBC settings for this instance (initDBLINK.ora):
    HS_FDS_CONNECT_INFO = DBLINK.ODBC
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_TRACE_FILE_NAME = c:/DG_LOG
    HS_FDS_TRACE_LEVEL = 4
    HS_LANGUAGE = AMERICAN_AMERICA.WE8ISO8859P1
    # Other HS_LANGUAGE settings attempted to resolve problem are commented below:
    # HS_LANGUAGE = american_america.utf8
    # HS_LANGUAGE = american_america.al32utf8
    Any guidance would be greatly appreciated!
    Edited by: WileyCoyote on Mar 8, 2012 1:33 PM
    Edited by: WileyCoyote on Mar 8, 2012 1:39 PM

    Here is output produced by utility "Dr. Dee Bee Spy" provided by Rockit/UniVerse that it seems may be intended to produce ODBC trace for Rockit/UniVerse ODBC driver:
    SQLAllocEnv
         0x01000000
         SQL_SUCCESS
    SQLAllocConnect
         0x01000000
         0x01010000
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_DRIVER_ODBC_VER
         [5]02.00
         12
         5
         SQL_SUCCESS
    SQLSetConnectOption
         0x01010000
         SQL_AUTOCOMMIT
         SQL_AUTOCOMMIT_OFF
         SQL_SUCCESS
    SQLDriverConnect
         0x01010000
         0x00000000
         [36]DSN=DBLINK.ODBC;UID=Username;PWD=Password;
         SQL_NTS
         [36]DSN=DBLINK.ODBC;UID=Username;PWD=Password;
         1024
         36
         SQL_DRIVER_NOPROMPT
         SQL_SUCCESS
    SQLError
         NULL
         0x01010000
         NULL
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLGetFunctions
         0x01010000
         0
         FALSE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         FALSE
         TRUE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         FALSE
         TRUE
         FALSE
         FALSE
         TRUE
         TRUE
         TRUE
         TRUE
         TRUE
         FALSE
         TRUE
         TRUE
         TRUE
         FALSE
         TRUE
         TRUE
         FALSE
         TRUE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         FALSE
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_CURSOR_COMMIT_BEHAVIOR
         SQL_CB_CLOSE
         2
         2
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_CURSOR_ROLLBACK_BEHAVIOR
         SQL_CB_CLOSE
         2
         2
         SQL_SUCCESS
    SQLError
         NULL
         0x01010000
         NULL
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         0x01010000
         NULL
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLGetInfo
         0x01010000
         SQL_DRIVER_NAME
         [10]UVODBC.DLL
         1024
         10
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_DRIVER_VER
         [37]3.7 Universe RDBMS 32-bit ODBC Driver
         1024
         37
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_DBMS_NAME
         [8]UniVerse
         1024
         8
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_DBMS_VER
         [6]10.1.0
         1024
         6
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         10003
         SQL_ERROR
    SQLError
         NULL
         0x01010000
         NULL
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2700830]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         0x01010000
         NULL
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         0x01010000
         NULL
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLGetInfo
         0x01010000
         SQL_OWNER_USAGE
         0x00000000
         4
         4
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_TXN_CAPABLE
         SQL_TC_DML
         2
         2
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_TXN_ISOLATION_OPTION
         0x0F000000
         4
         4
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_MAX_OWNER_NAME_LEN
         0
         2
         2
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_MAX_TABLE_NAME_LEN
         72
         2
         2
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_MAX_PROCEDURE_NAME_LEN
         0
         2
         2
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_IDENTIFIER_QUOTE_CHAR
         [1]"
         1024
         1
         SQL_SUCCESS
    SQLGetInfo
         0x01010000
         SQL_COLUMN_ALIAS
         [1]Y
         1024
         1
         SQL_SUCCESS
    SQLAllocStmt
         0x01010000
         0x01010001
         SQL_SUCCESS
    SQLBindCol
         0x01010001
         1
         SQL_C_CHAR
         0x70EB1200
         120
         0xF4EF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010001
         3
         SQL_C_SLONG
         0xDCEF1200
         0
         0xE4EF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010001
         10
         SQL_C_SSHORT
         0x0CF01200
         0
         0xECEF1200
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_VARCHAR
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_INTEGER
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_SMALLINT
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_VARBINARY
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_BIGINT
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_TINYINT
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_LONGVARCHAR
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLGetTypeInfo
         0x01010001
         SQL_LONGVARBINARY
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010001
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010001
         SQL_CLOSE
         SQL_SUCCESS
    SQLFreeStmt
         0x01010001
         SQL_UNBIND
         SQL_SUCCESS
    SQLTransact
         NULL
         0x01010000
         SQL_COMMIT
         SQL_SUCCESS
    SQLSetConnectOption
         0x01010000
         SQL_TXN_ISOLATION
         SQL_TXN_READ_COMMITTED
         SQL_SUCCESS
    SQLAllocStmt
         0x01010000
         0x01010002
         SQL_SUCCESS
    SQLFreeStmt
         0x01010001
         SQL_DROP
         SQL_SUCCESS
    SQLAllocStmt
         0x01010000
         0x01010003
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         4
         SQL_C_CHAR
         0xD8EE1200
         124
         0x9CEF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         5
         SQL_C_SSHORT
         0xECEF1200
         0
         0x00000000
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         6
         SQL_C_CHAR
         0x60EE1200
         120
         0xC8EF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         7
         SQL_C_SLONG
         0xA4EF1200
         0
         0xA8EF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         9
         SQL_C_SSHORT
         0xF0EF1200
         0
         0xB0EF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         10
         SQL_C_SSHORT
         0xF8EF1200
         0
         0xD0EF1200
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         11
         SQL_C_SSHORT
         0xF4EF1200
         0
         0x00000000
         SQL_SUCCESS
    SQLBindCol
         0x01010003
         16
         SQL_C_SLONG
         0xB8EF1200
         0
         0xBCEF1200
         SQL_SUCCESS
    SQLColumns
         0x01010003
         NULL
         0
         NULL
         0
         [8]BILL_MAT
         8
         NULL
         0
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010003
         SQL_FETCH_NEXT
         0
         NULL
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010003
         SQL_CLOSE
         SQL_SUCCESS
    SQLFreeStmt
         0x01010003
         SQL_UNBIND
         SQL_SUCCESS
    SQLFreeStmt
         0x01010003
         SQL_DROP
         SQL_SUCCESS
    SQLAllocStmt
         0x01010000
         0x01010004
         SQL_SUCCESS
    SQLPrepare
         0x01010004
         [24]select * from "BILL_MAT"
         24
         SQL_SUCCESS
    SQLNumResultCols
         0x01010004
         27
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         1
         [4]Z_ID
         31
         4
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         1
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         2
         [9]A_PROD_NO
         31
         9
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         2
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         3
         [9]BATCH_QTY
         31
         9
         SQL_INTEGER
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         3
         SQL_COLUMN_UNSIGNED
         UNUSED
         UNUSED
         UNUSED
         FALSE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         4
         [8]COST_UPD
         31
         8
         SQL_DATE
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         5
         [9]CREATE_DT
         31
         9
         SQL_DATE
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         6
         [5]LABOR
         31
         5
         SQL_NUMERIC
         8
         4
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         7
         [4]LOCK
         31
         4
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         7
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         8
         [7]LST_CST
         31
         7
         SQL_NUMERIC
         7
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         9
         [8]LST_PROD
         31
         8
         SQL_DATE
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         10
         [6]LST_WO
         31
         6
         SQL_INTEGER
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         10
         SQL_COLUMN_UNSIGNED
         UNUSED
         UNUSED
         UNUSED
         FALSE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         11
         [7]NO_PROD
         31
         7
         SQL_INTEGER
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         11
         SQL_COLUMN_UNSIGNED
         UNUSED
         UNUSED
         UNUSED
         FALSE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         12
         [3]P_C
         31
         3
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         12
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         13
         [5]PRICE
         31
         5
         SQL_NUMERIC
         4
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         14
         [9]PROD_DESC
         31
         9
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         14
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         15
         [13]PROD_DESC_QTY
         31
         13
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         15
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         16
         [9]PROD_NAME
         31
         9
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         16
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         17
         [6]P_NAME
         31
         6
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         17
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         18
         [3]QTY
         31
         3
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         18
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         19
         [8]STOCK_UM
         31
         8
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         19
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         20
         [8]TOT_COST
         31
         8
         SQL_NUMERIC
         8
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         21
         [9]TOT_COST4
         31
         9
         SQL_NUMERIC
         8
         4
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         22
         [14]TOT_LABOR_COST
         31
         14
         SQL_NUMERIC
         8
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         23
         [13]TOT_LABOR_HRS
         31
         13
         SQL_NUMERIC
         8
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         24
         [12]TOT_MAT_COST
         31
         12
         SQL_NUMERIC
         8
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         25
         [13]TOT_OVHD_COST
         31
         13
         SQL_NUMERIC
         8
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLDescribeCol
         0x01010004
         26
         [2]UM
         31
         2
         SQL_VARCHAR
         254
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010004
         26
         1013
         SQL_ERROR
    SQLError
         NULL
         NULL
         0x01010004
         [5]S1C00
         0
         [47][Rocket U2][UVODBC][2701807]Driver not capable.
         512
         47
         SQL_SUCCESS
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLError
         NULL
         NULL
         0x01010004
         [5]00000
         0
         [0]
         512
         0
         SQL_NO_DATA_FOUND
    SQLDescribeCol
         0x01010004
         27
         [6]YIELD_
         31
         6
         SQL_NUMERIC
         3
         2
         SQL_NULLABLE
         SQL_SUCCESS
    SQLCancel
         0x01010004
         SQL_SUCCESS_WITH_INFO
    SQLError
         NULL
         NULL
         0x01010004
         [5]01S05
         0
         [60][Rocket U2][UVODBC][2701402]Cancel treated as FreeStmt/CLOSE
         512
         60
         SQL_SUCCESS
    SQLFreeStmt
         0x01010004
         SQL_CLOSE
         SQL_SUCCESS
    SQLFreeStmt
         0x01010002
         SQL_DROP
         SQL_SUCCESS
    SQLAllocStmt
         0x01010000
         0x01010005
         SQL_SUCCESS
    SQLPrepare
         0x01010005
         [32]SELECT "NO_PROD" FROM "BILL_MAT"
         32
         SQL_SUCCESS
    SQLNumResultCols
         0x01010005
         1
         SQL_SUCCESS
    SQLDescribeCol
         0x01010005
         1
         [7]NO_PROD
         31
         7
         SQL_INTEGER
         10
         0
         SQL_NULLABLE
         SQL_SUCCESS
    SQLColAttributes
         0x01010005
         1
         SQL_COLUMN_UNSIGNED
         UNUSED
         UNUSED
         UNUSED
         FALSE
         SQL_SUCCESS
    SQLSetStmtOption
         0x01010005
         SQL_ROWSET_SIZE
         0x64000000
         SQL_SUCCESS
    SQLSetStmtOption
         0x01010005
         SQL_BIND_TYPE
         SQL_BIND_BY_COLUMN
         SQL_SUCCESS
    SQLExecute
         0x01010005
         SQL_SUCCESS
    SQLBindCol
         0x01010005
         1
         SQL_C_SLONG
         0xD89BF702
         4
         0x149FF702
         SQL_SUCCESS
    SQLExtendedFetch
         0x01010005
         SQL_FETCH_NEXT
         0
         0
         SQL_NO_DATA_FOUND
    SQLFreeStmt
         0x01010005
         SQL_UNBIND
         SQL_SUCCESS
    SQLFreeStmt
         0x01010005
         SQL_DROP
         SQL_SUCCESS
    SQLTransact
         NULL
         0x01010000
         SQL_COMMIT
         SQL_SUCCESS
    Edited by: WileyCoyote on Mar 8, 2012 1:46 PM

Maybe you are looking for

  • How do I repeat the same row more than once in report 10g

    How do I repeat the same row more than once in report 10g So I can print the bar code more than once in report; Edited by: user11106555 on May 9, 2009 5:50 AM

  • ICal syncing bug?

    Hello, I don't know if I am posting in a right place, but.. I have an application, which syncs with iCal. And sometimes I get into trouble: Situation: a) in iCal is a Calendar an task in it, pushed by my application before. b) my application deletes

  • New hard drive and need to restore from time capsule

    I replaced my hard drive with a new 1TB drive. Now I need to retore everything from my Apple time capsule. I'm having some trouble doing so. I first booted up with the new drive and selected restore from back up under disk utility and everything seem

  • IWeb photo gallery not working!

    Hello everyone! I built my website using iWeb and it has been up and running perfectly for a few months now. But, then I decided to try and update it with photos of artwork. I uploaded all files to my web-host's server, and now the page shows, but no

  • IDOC Abstract Interface

    I assigned IDOC to an Integration Process. During design I did an interface mapping between the IDOC and the Abstract Interface of the IP. I have to assign a Message Mapping to the interface mapping. 1. As the structures are the same do I need a Mess