UserTransaction and MAinframe DB2

Hi All,
Can we use UserTransaction while connecting to Mainframe DB2 database.i.e. if we call several mainframe database calls and all these call are in UserTransaction, will it work?
Thanks and Regards
Anurag

Dennis,
Generic Connecitivity and Transparent Gateways make a non-Oracle database look like a remote Oracle database. You can thus access non-Oracle systems using Oracle SQL syntax. In order to use these connectivity solutions you have to connect to the Oracle database then using the Heterogeneous Services module of the database connect to the non-Oracle system.

Similar Messages

  • Forms 1Og and  Mainframe Db2 tables

    We are in the process of Migrating from Forms 6i to 10g
    We are facing the an issue while compiling forms which have statments like Insert/Update/select from DB2 tables.
    In the Oracle 10g DB we have configured these as public synonyms and when we are compiling them from windows xp .the builder is crashing. The same is happening in the batch compiler also.
    The same form compile correctly in Forms 6i.
    Please let me know if you have faced any issues/solutions for the same.

    The SQL query will have to find all 10000 records, I believe, and then the JDBC driver will select 500 of them. But you could do some timing tests to confirm this: for example, does using setMaxRows() speed up the query process or not? Or do different maximum rows value affect the time? (Personally I would not trust setMaxRows() because the API documentation does not specify how it decides which records to drop.)
    There has got to be a way to speed up your searches? I suppose that's true, but some of the solutions may be unpalatable (e.g. "Get a faster mainframe"). Have you already done common optimizations like ensuring that your search criteria are supported by indexes?

  • Weblogic5.1, Transaction involving SQL Svr and AS400/DB2

              Hi, after reading quite a few posts regarding this issue I believe to demarcate a
              transaction involving SQL Server and AS400/DB2 is not impossible. But we have to
              handle the rollback and other stuff on our own. Am I correct? Is there any hack around
              this?
              I've tried to use an EJB(ejbY) that will insert a record in AS400/DB2 and subsequently
              in ejbY, I invoke another EJB(ejbX) that reside in another WL5.1 to insert a record
              in SQL Server. Of course this is demarcated with UserTransaction. Technically is
              this possible? This is because I've encountered some exceptions with this hack and
              would like to seek some advise.
              Thanks.
              [apps.zip]
              

    Hi,
      If you have access to My Oracle Support then have a look at this note -
    How To Migrate Non-Oracle Databases For Which a SQL*Developer or Migration Workbench Option Is Not Available (Doc ID 393760.1)
    Regards,
    Mike

  • Oracle 7 and IBM DB2

    Hello Guys,
    I have few doubts, can anyone help me to clear it.
    Oracle 11i is an Enterprises Server does it come it with a database server
    if not which version Oracle data base is used alongwith it
    Can I use Oracle 8i data base to use alongwith Oralce 11i.
    I want to know what is the price of Oracle Databse version 7
    Oracle Databse version 7 has how many releases, I mean how many upgrades strarting with 7
    Suppose if x purchase Oracle Database version 7, does upgrades on 7 such as 7.1 or 7.3 comes free or is it chargable by the oracle ?
    If I purchase data base application from a vendor and that application is having Oralce Server do I need to pay separetly for Oracle data base server 7.
    If that vendor is an oralce partner in sales, and if I purhcase various moudles such as Financial accounting, Inventory Management, HR Management, Sales & Marketing Managemnt, Internal and external commnication Management etc., from that vendor (modules devloped by the vendor according to my needs using orcale certified tools such as SQL reports writer, SQL Forms etc.,) We have to keep in mind that this entire application is run on an Oralce 7 data base server.
    How can I make sure that the Oracle 7 data base server supplied by the vendor is a legal version?
    Does Oralce provide any kind of authentication to certify that the product (Oracle Data Base Server) supplied by the vendor is a legal software.
    I know this is a lengthy question. However, anyone who can give me a correct answer to anyone of the points or all the points are most welcom.
    Joe Abraham Srampickal
    Did anyone has tried IBMs new version of DB2
    Recently IBM has released thier new vesion of DB2. They claim that it will alert the database administortrs to potentioal problems in the database system and suggesting ways to fix them.
    However, if you look litte deep, Oracle was providing this from their 8I server itslef. Can anyone list at least 2 such features of Oralce Servers.
    Be ready for a surprise, can anyone suggest any featurs of Oracle 7 server, which alert the database administortrs to potentioal problems in the database system and suggesting ways to fix them.

    SangeeMeena ,
    Personally, I'm not sure, but send me your email address to [email protected] and I will get someone to respond to you about this.
    B

  • Line item and Cardinality (DB2)

    I have 2 issues with a cube.
    Issue 1:
    I read everywhere in this forum that if Line Item is marked for a dimension that there will be no index/sid table for this dimension. In stead the sid table of the InfoObject would be used.
    I have however an example of a cube with a line-item-dimension that HAS an index table. The table has two columns and both columns have exactly the same data. The number of records is the same as for the SID table of the single InfoObject contained in the dimension. The system runs with a DB2 database.
    Can someone explain this?
    Issue 2:
    In my case, the InfoObject has 27.000.000 distinct values (document number). In the cube I have 12.000.000 records, each with its own unique document number (so about 50% of the document numbers occur in my cube). The line-item is ON, but the high cardinality is OFF.
    Is there a guesstimate on how much performance I would gain if I would set High Cardinality on?
    Does this setting influence to load-performance?

    The table that appears for the line-item dimension is normally a view, it is named as a dimension table for whatever reason. Do check (maybe in SE11) whether it is indeed a table, or a view on the master data table.
    I do not understand it fully, however if the line-item dimension is 'on', I don't think it should make any difference whether the 'high cardinality' is checked or not.

  • DB connect with as/400 db2 and aix db2

    Hi,
    We are implementing a connection with AS/400 IBM platform with DB2 400 (DB4) and OS400 like operating system. We are using DB-Connect to
    extract data from a DB2 Database to BW (operating system AIX and DB2 UD6 - Sap Netweaver 2004).
    We follow all the steps provided in SAP help to
    configured the Connections. We created the source system for DB-Connect. In BW when we try to select tables and views with right button option the system gets this error " The current ABAP program "RSDL_META_UPLOAD" had to be terminated because one of the statements could not be executed".
    The connection fails, and can't establish it.
    Someone knows about this topic?
    There are other options?
    I would appreciate your help.
    Regards,
    Victoria

    Hi,
    For extract data with DB connect in BW from  AS/400-DB2(DB4) to aix-db2, BW write a wrong abap code.
    For this reason the solutions are:
    Write a funtion module with abap and native SQL for db2 (EXEC SQL) or Change the application server to windows.
    Regards,
    Victoria

  • Re: Forte and mainframes

    On Tue, 16 Dec 1997 23:05:00 -0700, Steven Chee Kuin Wong wrote:
    Hi all,
    I would like to ask for more information with regards to using Forte with a mainframe.
    Other than using Conexions (screen scraping) how else can we have a forte service
    object which is sitting on a Unix server communicate with a mainframe to get data
    in and out.
    The scenario is something like this. A customer could use the internet to access
    his/her own account. To do so, we have placed Forte Services in a Unix Server which
    would handle the web handling part. When a customer provides the account number,
    the Forte services is supposed to get the latest account information from the mainframe.
    Any help here would be greatly appreciated.
    Steven.As you may already know, or will doubtless hear from others, Forte will
    soon be providing support for running deployed Forte partitions on IBM
    OS/390. This support is supposed to be in beta by 1Q98, although
    interfaces to mainframe databases will not be ready until sometime
    after the initial partitioning support is provided. This will make
    mainframe integration with Forte seamless.
    If you don't want to wait for this support from Forte, you could also
    look into integration with an external messaging system. The client I
    am working at right now, for example, already had some infrastructure
    in place for communicating to the mainframe via IBM's MQSeries. Doing
    some C wrappering to access that infrastructure from Forte was
    relatively straightforward and has been proven to be extremely
    powerful.
    Hope this helps,
    Dale
    Dale V. Georg
    Indus Consultancy Services
    [email protected]

    On Tue, 16 Dec 1997 23:05:00 -0700, Steven Chee Kuin Wong wrote:
    Hi all,
    I would like to ask for more information with regards to using Forte with a mainframe.
    Other than using Conexions (screen scraping) how else can we have a forte service
    object which is sitting on a Unix server communicate with a mainframe to get data
    in and out.
    The scenario is something like this. A customer could use the internet to access
    his/her own account. To do so, we have placed Forte Services in a Unix Server which
    would handle the web handling part. When a customer provides the account number,
    the Forte services is supposed to get the latest account information from the mainframe.
    Any help here would be greatly appreciated.
    Steven.As you may already know, or will doubtless hear from others, Forte will
    soon be providing support for running deployed Forte partitions on IBM
    OS/390. This support is supposed to be in beta by 1Q98, although
    interfaces to mainframe databases will not be ready until sometime
    after the initial partitioning support is provided. This will make
    mainframe integration with Forte seamless.
    If you don't want to wait for this support from Forte, you could also
    look into integration with an external messaging system. The client I
    am working at right now, for example, already had some infrastructure
    in place for communicating to the mainframe via IBM's MQSeries. Doing
    some C wrappering to access that infrastructure from Forte was
    relatively straightforward and has been proven to be extremely
    powerful.
    Hope this helps,
    Dale
    Dale V. Georg
    Indus Consultancy Services
    [email protected]

  • Solaris zone and IBM DB2

    We have a container in T3-1 in which IBM DB2 running it. Recently we migrated the container to T4-1 server. The container is up and running but unable to start DB2. The container configuration is similar as in T3-1. Did anyone faced similar issue while running DB2 on T4-1 server ?

    You can refer
    App Server 9.0 developer guide
    http://docs.sun.com/app/docs/doc/819-3659
    making driver .jar files accessible :
    http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5bk?a=view#beamn
    IBM DB2 8.2 datasource configuration
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view#beanc
    If you are still not able to setup:
    can you post
    1) con pool configuration from domain.xml
    2) the error message that you get in domains/<domainname>logs/server.log
    Thanks,
    -Jagadish

  • AS400 and zipping DB2 Files

    Hi
    I have got a zip utility that runs on the AS400 from QSHELL in zipping a file that has been sent to the IFDS file system. Can I use the same 'zip' class to zip a DB2 file on the AS400.
    If not where and how could I do this?
    Thanks
    Iain

    Hi
    Thanks for the reply.
    I am not using the IBM zip class's (I don't even know that they exist I haven't looked yet) I am using the std java zip classes.
    I have tried a small test pgm . These seems to simple any ideas?
    Thanks
    import java.io.*;
    import java.io.File;
    import java.util.zip.*;
    import java.util.*;
    import java.lang.*;
    public class aarghtest {
         public static void main(String[] args) {
              try {
              String inFilename = "QSYS.LIB/MYLIB.LIB/FILEI";
              String outFilename = "QSYS.LIB/MYLIB.LIB/FILEO";
              FileInputStream in = new FileInputStream(inFilename);
              ZipOutputStream out = new ZipOutputStream(new
    FileOutputStream(outFilename));
              out.putNextEntry(new ZipEntry(inFilename));
              byte[] buf = new byte[1024];
              int len;
              while ((len = in.read(buf)) > 0) {
         out.write(buf, 0, len);
         out.closeEntry();
         out.close();
         in.close();
              } catch (IOException e) {
                   System.out.print("error : " + e);
    }     

  • UserTransaction and too many connections

    This might sound a bit weird. I am just looking for some quick pointers here if possible. The OC4J version in use is 9.0.4.0.0. I am doing something along the following lines in a struts action class.
    1) UserTransaction txn = ctx.lookup("java:comp/UserTransaction");
    2) Connection conn = dataSource.getConnection();
    3) txn.begin();
    4) ..StatelessSessionBean call which uses a few entity beans (Bean Managed)
    5) Direct updates using conn (no commits in this).
    6) txn.commit
    My issue is with step 4 above. It does some updates and this results in close to 500 plus physical db connections getting created when in UserTransaction. The beans are normal usual beans and the whole process works without issues if I get rid of UserTransaction with less than 50 physical connections.
    I am just not able to pinpoint what exactly might be going wrong in the beans that such a large number of connections get created when in UserTransaction.
    The datasource is along these lines
         &lt;data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="xxxDB"
              location="jdbc/xxxDBCore"
              pooled-location="jdbc/xxxDBCore_non_tx"
              xa-location="jdbc/xa/xxxDBXA"
              ejb-location="jdbc/xxxDB"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="xxxxxxxx"
              password="xxxxxxxx"
              url="jdbc:oracle:thin:@1.2.3.4:1521:xxx"
              min-connections="10"
         /&gt;
    I check for the number of physical connections using the oc4j option
    -Ddatasource.verbose=true which prints out the information.
    If I set the max-connections attribute on the datasource, I get a Timeout waiting for connection exception in the app.
    If any of this rings a bell and if you have any thoughts or suggestions, I would really appreciate it.
    Thanks in advance
    best regards
    -Sudhir

    Just to add to my above post, the messages on the cnsole are along the lines of ...
    null: Connection com.evermind.sql.DriverManagerXAConnection@189c9fe allocated (Pool size: 0)
    Created new physical connection: com.evermind.sql.DriverManagerXAConnection@12c820f
    null: Connection com.evermind.sql.DriverManagerXAConnection@12c820f allocated (Pool size: 0)
    Created new physical connection: com.evermind.sql.DriverManagerXAConnection@10eb09e
    null: Connection com.evermind.sql.DriverManagerXAConnection@10eb09e allocated (Pool size: 0)
    Created new physical connection: com.evermind.sql.DriverManagerXAConnection@16d7d9e
    null: Connection com.evermind.sql.DriverManagerXAConnection@16d7d9e allocated (Pool size: 0)
    Created new physical connection: com.evermind.sql.DriverManagerXAConnection@e3f9e3
    null: Connection com.evermind.sql.DriverManagerXAConnection@e3f9e3 allocated (Pool size: 0)
    Created new physical connection: com.evermind.sql.DriverManagerXAConnection@10382ca
    null: Connection com.evermind.sql.DriverManagerXAConnection@10382ca allocated (Pool size: 0)
    Created new physical connection: com.evermind.sql.DriverManagerXAConnection@17faec2
    Why would the pool size be 0?

  • How to monitor and tune DB2 based SAP system?

    For Oracle performance, we have following ways to
    Monitor : st02, st03n, st06, st05
    tune:  update analyzer, update statistics, buffer read-only tables, add buffer size
    For DB2, do we use the same method OR there are some more methods?
    Thanks a lot!

    As user db2<sid>, connect to the database
    db2 connect to <sid>
    Enable auto runstats
    db2 update db cfg for <sid> using AUTO_RUNSTATS on AUTO_STMT_STATS on immediate
    db2 commit
    db2 connect reset
    This should enable auto runstats for your db. For auto-reorgs (non-production only), you may do so through the dbacockpit.
    Thanks,
    Sameer

  • ECC 6.0 Clone

    Hi All
    I have an ECC 6.0 (FI-CAX system ) on AIX 5.3 and Mainframe DB2 . Now I have got a requirement to clone the system to a new hardware (P6). Its a test system to downtime will not be an issue.
    I am planning to use the same database(shutdown current system )  and install sap on new hardware with the database. What my question is
    1)  Is this a considerable approach or do any one forsee any consequences .
    2) Which installation master will aI have to use for the same (I am asking this question as i checked in SAP ERP 6.0 -> DB2/390 for installation master and could not find one )
    3) If I am reusing the database will i have to use installation export CD's as well.
    Your help will be highly appreciated
    Thanks
    Anish

    Hi Markus,
    Yes I did think about it... But as i mentioned before we can reuse the current database as it is ( we are having a HA installation  where mainframe db2 is on a separate host and SAP sits on AIX host ) . So what i am planning by the above procedure is reduction in import/export time ... Just to install sap on the new AIX host with the DB2 host staying as it is ..... ( we just need to chage the host where sap sits to P6 due to performance issues )
    Not sure if this approach is theoretically  possible and supported by sap . Pls give your suggestions
    Thanks
    Anish
    Edited by: Anish  John on Sep 14, 2009 6:49 PM

  • JBO-27123: error on DB2 mainframe update with ADF

    Good morning.
    I've got a problem with an update statement to a DB2-mainframe table via "Third Party JDBC Driver".
    I try to use Jdeveloper 10g 10.1.2 and develope an application with Struts, JSP, ADF Business Component.
    I write my entity object, view object and application module. Then I design my little application with Struts: I add a controller page and a Data Page to insert a record in a table to DB2 on a mainframe.
    When I press Commit button I have the following error:
    Validation Error
    You must correct the following error(s) before proceeding:
    JBO-27123: Errore SQL durante la preparazione dell'istruzione di chiamata. Istruzione: UPDATE TLMARK.TPROM10TIPOPROM Tprom10tipoprom SET KDSTIPOP=? WHERE KCDTIPOP=?
    Not a CALL statement.
    Where is my error?
    Thanks.

    I've already red that document, but it don't solve my problem.
    I will explain better my configuration:
    - I can't use IBM DB2 client, so I use another JDBC TYPE 4 driver to connect to mainframe DB2
    - If I try to write an application using DB2 SQL flavor and a Java type map, when I test my application module I obtain the following error
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: Il pool delle applicazioni (.101F1A07052) non è riuscito ad estrarre un modulo applicativo a causa dell'eccezione riportata di seguito:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: JBO-29000: JBO-29000: JBO-26061: Errore durante lapertura della connessione JDBC.
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: JBO-29000: JBO-26061: Errore durante lapertura della connessione JDBC.
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: JBO-26061: Errore durante lapertura della connessione JDBC.
    ----- LEVEL 4: DETAIL 0 -----
    (oracle.jbo.DMLException) JBO-26061: Errore durante lapertura della connessione JDBC.
    ----- LEVEL 5: DETAIL 0 -----
    (java.sql.SQLException) No suitable driver
    - If I try to write an application using SQL92 SQL flavor and a Java type map, when I test my application module, it works with select, but when I tru to update a record, I obtain the following error at commit time
    (oracle.jbo.SQLStmtException) JBO-27123: Errore SQL durante la preparazione dell'istruzione di chiamata. Istruzione: UPDATE TLMARK.TPROM10TIPOPROM Tprom10tipoprom SET KDSTIPOP=? WHERE KCDTIPOP=?
    ----- LEVEL 1: DETAIL 0 -----
    (hit.db2sql.n) Not a CALL statement.

  • I am going to buy a new macbook pro..but i am new to mac..so i have one question...does mac os supports "java,mainframe,dot net...and etc developer programs..."....??? thanx in advance....:)

    thanx

    mohan2see wrote:
    oh thanx for the reply....actually i was worked in information technology sector company...i worked on java and mainframe platform....so if i buy an apple macbook pro and if it doesn't supports those developer programs i need to buy an pc......so i need to be confirmed....if u know abt this please explain me detailed...thanx again...:)
    Are you being serious?
    If you've done any programming in Java then I'd really have hoped you already realised it is a platform independent programming language, that was Sun's original intention when they created it ,  to be able to run compiled code on any Java Virtual Machine regardless of the platform:
    http://en.wikipedia.org/wiki/Java_%28programming_language%29
    And as for "dot net" - do you not realise that this is purely a MS Windows development framework?!!
    http://en.wikipedia.org/wiki/.NET_Framework
    Just to be clear, (and I realise I'm being picky here, given that English isn't likely to be your first language), they are not "developer programs", they are programming languages or frameworks.
    And for further clarification, the Mac operating system does support Java development, and does not support .Net (unless you install Windows on it!)
    I can't comment on the 'mainframe' bit you're referring to without more detail.

  • OWB and DB2

    I have connected Oracle 9i and DB2 v7 and query DB2 in SQL Plus is fine. However, it doesn't for the connection between OWB and DB2.
    Anyone can help?
    Thanks!

    Try the following and use the database link as the source.
    1. Copy inithsodbc.ora to initQA_DB2.ora in $ORACLE_HOME\hs\admin
    HS_FDS_CONNECT_INFO=DNS_NAME_OF_YOUR_CONNECTION
    HS_FDS_TRACE_LEVEL=0
    2. Add the following lines to listener.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    (SID_DESC =
    (SID_NAME = QA_DB2)
    (ORACLE_HOME = $ORACLE_HOME)
    (PROGRAM = hsodbc)
    3. Add the following lines to tnsnames.ora in Oracle server ($ORACLE_HOME\NETWORK\ADMIN)
    DB= (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=localhost)
    (PORT=1521)
    (CONNECT_DATA = (SERVICE_NAME=QA_DB2)
    (HS = OK)
    4. Execute CATalog script for Heterogeneous Services in Oracle server ($ORACLE_HOME\RDBMS\ADMIN\caths.sql)
    5. Create database link
    drop public DATABASE LINK dwh_qa_db2;
    CREATE public DATABASE LINK dwh_qa_db2 CONNECT TO "carlosmo" IDENTIFIED BY "E1Qual" USING 'DB2';
    6. Test the connection
    SELECT *
    FROM SomeTable@dwh_qa_db2

Maybe you are looking for