Need help to understand the relation bw VBKD and VBAP

Hi all,
I have a requiement to display the incoterms of ship-to-party if Ship-to-party is differnt from sold-to-party.
At header level it is ok,,but at item level im facing some problems.
READ TABLE xvbkd WITH KEY vbeln = xvbap-vbeln
                                    posnr = xvbap-posnr.
          IF sy-subrc = 0.
            xvbkd-inco1 = wa_xvbkd-inco1.
            xvbkd-inco2 = wa_xvbkd-inco2.
            MODIFY xvbkd FROM wa_xvbkd INDEX sy-tabix TRANSPORTING  inco1 inco2.
          ENDIF.
Im getting the incotems but the problem is xvbkd does get populated with the items though VBAP has multiple items.
Pls help me to understand why VBKD does nt get populated with item details.
In some cases it gets populated, then it is working fine.
Your valuable suggesstion is highly appricated.
Rgs,
Priya

Pls help me to understand why VBKD does nt get populated with item details
Hi,
When you define a table lookup for the table VBKD (Sales document: Business data), data does not have to be present for every item in the sales document. If the item data is no different than the header data, the system does not store it in the item as well. In this case, you can find the valid values in the header data, which is stored in table VBKD under the item number "000000".
Thus, if you want to read incoterms values from VBKD, you always need to define two table lookups:
1: Table lookup in table VBKD using the key VBELN and POSNR;
2: Table lookup in table VBKD using the key VBELN and POSNR ="000000" (if the 1st lookup failed)
Regards,
Andrea

Similar Messages

  • Need help with understanding the link between jndi and data source

    When I am trying to deploy my ear file. I am getting the error mentioned below.
    I have made a connection pool and 3 data sources at console. Is there a problem
    with the way I have defined them. Please do let me know.
    Thank You
    Ronak Parekh
    Connection Pools:
    Name : oraclePool
    URL : jdbc:weblogic:builder
    Driver classname : weblogic.jdbc.oci.Driver
    Properties(key=values): servername=ronakserver
                   user=sempsys
                   dataSourceName=oraclePool
                   databaseName=builder
    Password : sempsys
    Data Sources:
    Name : Gangster
    JNDI Name: Gangster
    Pool Name: oraclePool
    Name : Organization
    JNDI Name: Organization
    Pool Name: oraclePool
    Name : Job
    JNDI Name: Job
    Pool Name: oraclePool
    My Error is:
    preparing application app10 on ronserver
    prepared application app10 on ronserver
    activating application app10 on ronserver
    Exception caught for task Activate application app10 on ronserver: activate failed
    forsempire_bc.jar
    Module, sempire_bc.jar, reported error: Exception activating module: EJBModule(sempire_bc.jar,status=PREPARED)
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Organization
    could not be located. Please ensure that the DataSource has been deployed successfully
    and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
         at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
         at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
         at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
         at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
         at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
         at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
         at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:978)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    failed application app10 on ronserver
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <display-name>Business Component CMP 2.0</display-name>
         <enterprise-beans>
    <entity>
              <display-name>Gangster Entity Bean</display-name>
         <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>GANGSTER</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Gangster</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
              <resource-ref>
                        <res-ref-name>jdbc/Gangster</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
              </resource-ref>
              </entity>
    <entity>
         <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
                   <cmp-field><field-name>description</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>ORGANIZATION</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Organization</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
              <resource-ref>
                        <res-ref-name>jdbc/Organization</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
                   <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
                   <cmp-field><field-name>setupCost</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <env-entry>
                        <env-entry-name>Job</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>Job</env-entry-value>
                   </env-entry>
                   <env-entry>
                        <env-entry-name>oraclePool</env-entry-name>
                        <env-entry-type>java.lang.String</env-entry-type>
                        <env-entry-value>oraclePool</env-entry-value>
                   </env-entry>
                   <resource-ref>
                        <res-ref-name>jdbc/Job</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </entity>
         </enterprise-beans>
         <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>memberGangsters</cmr-field-name>
         <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>GangsterEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>jobs</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>JobEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>gangsters</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
              </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
         <ejb-relationship-role>
         <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
         <relationship-role-source>
              <ejb-name>OrganizationEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>theBoss</cmr-field-name>
                   </cmr-field>
              </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
         </relationships>
         <assembly-descriptor>
         <container-transaction>
         <method>
              <ejb-name>GangsterEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>OrganizationEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>JobEJB</ejb-name>
              <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    My weblogic-ejb-jar.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Gangster</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Gangster</jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Organization</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Organization</jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>JobEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
                        <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/Job</res-ref-name>
              <jndi-name>oraclePool</jndi-name>
              </resource-description>
         </reference-descriptor>
              <jndi-name>Job</jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
         <weblogic-rdbms-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <data-source-name>Gangster</data-source-name>
              <table-map>
              <table-name>GANGSTER</table-name>
              <field-map>
              <cmp-field>iD</cmp-field>
              <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
              <cmp-field>name</cmp-field>
              <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>nickname</cmp-field>
              <dbms-column>NICKNAME</dbms-column>
              </field-map>
              <field-map>
              <cmp-field>badness</cmp-field>
              <dbms-column>BADNESS</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <data-source-name>Organization</data-source-name>
              <table-map>
              <table-name>ORGANIZATION</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>description</cmp-field>
                   <dbms-column>DESCRIPTION</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>JobEJB</ejb-name>
              <data-source-name>Job</data-source-name>
              <table-map>
              <table-name>JOB</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>score</cmp-field>
                   <dbms-column>SCORE</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>setupCost</cmp-field>
                   <dbms-column>SETUPCOST</dbms-column>
              </field-map>
              </table-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-relation>
         <relation-name>organization-memberGangsters</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>memberGangsters---organization</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>gangsters-jobs</relation-name>
         <table-name>JOBS</table-name>
         <weblogic-relationship-role>
              <relationship-role-name>gangsters---jobs</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
         <weblogic-relationship-role>
              <relationship-role-name>jobs---gangsters</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>organization-theBoss</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>organization---theBoss</relationship-role-name>
              <relationship-role-map>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
              </column-map>
              </relationship-role-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

    The problem I see is wrong url for jDriver.
    you have to say: jdbc:weblogic:oracle
    In properties what you need is:
    user=
    password=
    server=
    Actually, your connetion pool is not created yet. It has problems. Make sure you create connectionpool successfully
    first.
    Thanks,
    Mitesh
    ronak wrote:
    When I am trying to deploy my ear file. I am getting the error mentioned below.
    I have made a connection pool and 3 data sources at console. Is there a problem
    with the way I have defined them. Please do let me know.
    Thank You
    Ronak Parekh
    Connection Pools:
    Name : oraclePool
    URL : jdbc:weblogic:builder
    Driver classname : weblogic.jdbc.oci.Driver
    Properties(key=values): servername=ronakserver
    user=sempsys
    dataSourceName=oraclePool
    databaseName=builder
    Password : sempsys
    Data Sources:
    Name : Gangster
    JNDI Name: Gangster
    Pool Name: oraclePool
    Name : Organization
    JNDI Name: Organization
    Pool Name: oraclePool
    Name : Job
    JNDI Name: Job
    Pool Name: oraclePool
    My Error is:
    preparing application app10 on ronserver
    prepared application app10 on ronserver
    activating application app10 on ronserver
    Exception caught for task Activate application app10 on ronserver: activate failed
    forsempire_bc.jar
    Module, sempire_bc.jar, reported error: Exception activating module: EJBModule(sempire_bc.jar,status=PREPARED)
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar:
    weblogic.ejb20.WLDeploymentException: The DataSource with the JNDI name: Organization
    could not be located. Please ensure that the DataSource has been deployed successfully
    and that the JNDI name in your EJB Deployment descriptor is correct.
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:130)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:214)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:186)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:161)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:936)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1302)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:342)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:1534)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:991)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:978)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1104)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:724)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    failed application app10 on ronserver
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
    "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
    "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <display-name>Business Component CMP 2.0</display-name>
    <enterprise-beans>
    <entity>
    <display-name>Gangster Entity Bean</display-name>
    <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>GANGSTER</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Gangster</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Gangster</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    <entity>
    <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>description</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>ORGANIZATION</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Organization</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Organization</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
    <cmp-field><field-name>setupCost</field-name></cmp-field>
    <primkey-field>iD</primkey-field>
    <env-entry>
    <env-entry-name>Job</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Job</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>oraclePool</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>oraclePool</env-entry-value>
    </env-entry>
    <resource-ref>
    <res-ref-name>jdbc/Job</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </entity>
    </enterprise-beans>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>memberGangsters</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>jobs</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>JobEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>gangsters</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>theBoss</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
    <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>GangsterEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>OrganizationEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    <ejb-name>JobEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    My weblogic-ejb-jar.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>GangsterEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Gangster</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Gangster</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>OrganizationEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Organization</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Organization</jndi-name>
    </weblogic-enterprise-bean>
    <weblogic-enterprise-bean>
    <ejb-name>JobEJB</ejb-name>
    <entity-descriptor>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    </persistence>
    </entity-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/Job</res-ref-name>
    <jndi-name>oraclePool</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>Job</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>GangsterEJB</ejb-name>
    <data-source-name>Gangster</data-source-name>
    <table-map>
    <table-name>GANGSTER</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>nickname</cmp-field>
    <dbms-column>NICKNAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>badness</cmp-field>
    <dbms-column>BADNESS</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>OrganizationEJB</ejb-name>
    <data-source-name>Organization</data-source-name>
    <table-map>
    <table-name>ORGANIZATION</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>description</cmp-field>
    <dbms-column>DESCRIPTION</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-bean>
    <ejb-name>JobEJB</ejb-name>
    <data-source-name>Job</data-source-name>
    <table-map>
    <table-name>JOB</table-name>
    <field-map>
    <cmp-field>iD</cmp-field>
    <dbms-column>ID</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>name</cmp-field>
    <dbms-column>NAME</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>score</cmp-field>
    <dbms-column>SCORE</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>setupCost</cmp-field>
    <dbms-column>SETUPCOST</dbms-column>
    </field-map>
    </table-map>
    <weblogic-query>
    <query-method>
    <method-name>findAll</method-name>
    <method-params></method-params>
    </query-method>
    </weblogic-query>
    </weblogic-rdbms-bean>
    <weblogic-rdbms-relation>
    <relation-name>organization-memberGangsters</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>memberGangsters---organization</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>gangsters-jobs</relation-name>
    <table-name>JOBS</table-name>
    <weblogic-relationship-role>
    <relationship-role-name>gangsters---jobs</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    <weblogic-relationship-role>
    <relationship-role-name>jobs---gangsters</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
    <relation-name>organization-theBoss</relation-name>
    <weblogic-relationship-role>
    <relationship-role-name>organization---theBoss</relationship-role-name>
    <relationship-role-map>
    <column-map>
    <foreign-key-column>iD</foreign-key-column>
    <key-column>ID</key-column>
    </column-map>
    </relationship-role-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

  • Need help in understanding the error ORA-01843: not a valid month - ECX_ACT

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

    Hello All,
    We need help in understanding the Transaction Monitor -> Processing Message (error "ORA-01843: not a valid month - ECX_ACTIONS.GET_CONVERTED_DATE").
    And how to enable the log for Transaction Monitor -> Processing Logfile.
    Actually we are trying to import the Purchase Order XML (OAG) into eBusiness Suite via BPEL Process Manager using the Oracle Applications Adapter. The process is working fine with expected payload until it reaches the XML Gateway Transaction Monitor, where we are getting this error.
    thanks
    muthu.

  • I need help in understanding the customization of Landscape in R/3.

    I need help in understanding the customization of Landscape in R/3. Setup of SAP Landscape from an SAP SD point of view. Being as SAP SD consultant what would be my role in customizing the Landscape server. Help needed. Thx

    Hi,
    In a standard SAP project implementation, the 3 standard transport procedures are:
    Development System (DEV) --> QA System (QAS) --> Production System (PRD)
    In the above structure, the Training Client (TRN) could be made from the copy of PRD (after when real-time master data has been available) or from QA system (where configuration has been tested in DEV client, and the master data is uploaded manually for training purposes)
    Sandbox (standalone): This can be refreshed with Golden Client to reflect the latest configuration performed to facilitate the development/testing purposes.
    -Development (DEV): Where all system configurations and development activities are carried out.
    -Quality Assurance (QAS): Where functional testing is carried out. The System Integration Testing (carried out by the -Development Team) and the User Acceptance Testing (carried out by XXX appointed personnel) is carried out in this server.
    -Training (TRN): End Users are trained on this server.
    -Production (PRD): After the System is commissioned all data entry and administrative functions will be carried out in this server.
    This is by far the standard landscape architecture that is adopted and practiced in most implementations.
    Hope the above helps.
    Thanks.

  • Need help for understanding the behaviour of these 2 queries....

    Hi,
    I need your help for understanding the behaviour of following two queries.
    The requirement is to repeat the values of the column in a table random no of times.
    Eg. A table xyz is like -
    create table xyz as
    select 'A' || rownum my_col
    from all_objects
    where rownum < 6;
    my_col
    A1
    A2
    A3
    A4
    A5
    I want to repeat each of these values (A1, A2,...A5) multiple times - randomly decide. I have written the following query..
    with x as (select my_col, trunc(dbms_random.value(1,6)) repeat from xyz),
    y as (select level lvl from dual connect by level < 6)
    select my_col, lvl
    from x, y
    where lvl <= repeat
    order by my_col, lvl
    It gives output like
    my_col lvl
    A1     1
    A1     3
    A1     5
    A2     1
    A2     3
    A2     5
    A3     1
    A3     3
    A3     5
    A4     1
    A4     3
    A4     5
    A5     1
    A5     3
    A5     5
    Here in the output, I am not getting rows like
    A1     2
    A1     4
    A2     2
    A2     4
    Also, it has generated the same set of records for all the values (A1, A2,...,A5).
    Now, if I store the randomly-decided value in the table like ---
    create table xyz as
    select 'A' || rownum my_col, trunc(dbms_random.value(1,6)) repeat
    from all_objects
    where rownum < 6;
    my_col repeat
    A1     4
    A2     1
    A3     5
    A4     2
    A5     2
    And then run the query,
    with x as (select my_col, repeat from xyz),
    y as (select level lvl from dual connect by level < 6)
    select my_col, lvl
    from x, y
    where lvl <= repeat
    order by my_col, lvl
    I will get the output, exactly what I want ---
    my_col ....lvl
    A1     1
    A1     2
    A1     3
    A1     4
    A2     1
    A3     1
    A3     2
    A3     3
    A3     4
    A3     5
    A4     1
    A4     2
    A5     1
    A5     2
    Why the first approach do not generate such output?
    How can I get such a result without storing the repeat values?

    If I've understood your requirement, the below will achieve it:
    SQL> create table test(test varchar2(10));
    Table created.
    SQL> insert into test values('&test');
    Enter value for test: bob
    old   1: insert into test values('&test')
    new   1: insert into test values('bob')
    1 row created.
    SQL> insert into test values('&test');
    Enter value for test: terry
    old   1: insert into test values('&test')
    new   1: insert into test values('terry')
    1 row created.
    SQL> insert into test values('&test');
    Enter value for test: steve
    old   1: insert into test values('&test')
    new   1: insert into test values('steve')
    1 row created.
    SQL> insert into test values('&test');
    Enter value for test: roger
    old   1: insert into test values('&test')
    new   1: insert into test values('roger')
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select lpad(test,(ceil(dbms_random.value*10))*length(test),test) from test;
    LPAD(TEST,(CEIL(DBMS_RANDOM.VALUE*10))*LENGTH(TEST),TEST)
    bobbobbobbobbobbobbobbobbobbob
    terryterry
    stevestevesteve
    rogerrogerrogerrogerrogerrogerrogerrogerrogerYou can alter the value of 10 in the SQL if you want the potential for a higher number of names.
    Andy

  • Error Posting IDOC: need help in understanding the following error

    Hi ALL
    Can you please, help me understand the following error encountered while the message was trying to post a IDOC.
    where SAP_050 is the RFC destination created to post IDOCs
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: FM NLS_GET_LANGU_CP_TAB: Could not determine code page with SAP_050 Operation successfully executed FM NLS_GET_LANGU_CP_TAB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Your help is greatly appreciated.............Thank you!

    Hi Patrick,
      Check the authorizations assigned to the user which you used in the RFC destinations, If there is no enough authorizations then it is not possible to post the idocs.
    Also Refer this Note 747322
    Regards,
    Prakash

  • Hello friends like everybody? I need help, I have the CC version 2014 and I can not ge "extract filter" because I get the following message:   "Could not complete the Extract command, this version of Photoshot not offer the services required by the Plugin

    I need help, i have the CC 2014 and  i can npt get to associate the "extract filter"

    How did you get the Extract filter into Photoshop CC?  You will need to undo that - especially if you copied a whole batch of plug-ins supplied by Adobe with an earlier version.
    -Noel

  • Need help in understanding the trace file

    Hi,
    I would need to understand
    - the large number of fetch for the query
    - SQL*Net message to client and SQL*Net message from clientbeing same
    - latch: cache buffers chains
    The issue I am experiencing is a 6x delay due to an unknown reason.
    Can somebody assist me?
    Thanks
    D
    SQL
    SELECT R_RO.*
    FROM
    (SELECT b.ID,b.ANSWERS,b.C_CLASSID,b.C_ID, b.FCI,b.FROM_ID,b.TCI,b.TO_ID,b.FFU, b.TFU,b.NOU,b.ISN,b.SC_NAME,
    b.DN_NAME,b.DN_ITEM_NUMBER,b.ISC, b.PRIORITY FROM VVP.RELATION b WHERE b.ID NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID FROM VVP.D94 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :source_lineage_name AND l.lineage_id <= :source_state_id) AND SDE_STATE_ID
    = :"SYS_B_0") UNION ALL SELECT a.ID,a.ANSWERS,a.C_CLASSID, a.C_ID,a.FCI,a.FROM_ID,a.TCI, a.TO_ID,a.FFU,a.TFU,a.NOU, a.ISN,a.SC_NAME,a.DN_NAME, a.DN_ITEM_NUMBER,a.ISC,a.PRIORITY FROM VVP.A94 a, SDE.state_lineages SL WHERE (a.ID, a.SDE_STATE_ID) NOT IN (SELECT /*+ HASH_AJ */ SDE_DELETES_ROW_ID,SDE_STATE_ID FROM VVP.D94 WHERE DELETED_AT IN (SELECT l.lineage_id FROM SDE.state_lineages l WHERE l.lineage_name = :source_lineage_name AND l.lineage_id <= :source_state_id) AND SDE_STATE_ID > :"SYS_B_1") AND a.SDE_STATE_ID = SL.lineage_id AND SL.lineage_name = :source_lineage_name AND SL.lineage_id <= :source_state_id ) R_RO WHERE (ID = :"SYS_B_2")
    call count cpu elapsed disk query current rows
    Parse 3911 2.30 2.14 0 0 0 0
    Execute 3911 2.47 2.43 0 0 0 0
    Fetch 3911 268.96 270.60 28 15696558 0 3911
    total 11733 273.73 275.18 28 15696558 0 3911
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 1031
    Rows Row Source Operation
    1 VIEW (cr=3966 pr=0 pw=0 time=84973 us)
    1 UNION-ALL (cr=3966 pr=0 pw=0 time=84968 us)
    1 HASH JOIN ANTI (cr=3963 pr=0 pw=0 time=84707 us)
    1 TABLE ACCESS BY INDEX ROWID CONNECTION (cr=4 pr=0 pw=0 time=123 us)
    1 INDEX UNIQUE SCAN R94_SDE_ROWID_UK (cr=3 pr=0 pw=0 time=88 us)(object id 7404)
    8586 VIEW VW_NSO_2 (cr=3959 pr=0 pw=0 time=112274 us)
    8586 NESTED LOOPS (cr=3959 pr=0 pw=0 time=103686 us)
    3661 INDEX RANGE SCAN LINEAGES_PK (cr=7 pr=0 pw=0 time=67 us)(object id 307740)
    8586 INDEX RANGE SCAN D94_PK1 (cr=3952 pr=0 pw=0 time=70624 us)(object id 1637355)
    0 HASH JOIN ANTI (cr=3 pr=0 pw=0 time=248 us)
    0 NESTED LOOPS (cr=3 pr=0 pw=0 time=71 us)
    0 TABLE ACCESS BY INDEX ROWID A94 (cr=3 pr=0 pw=0 time=68 us)
    0 INDEX RANGE SCAN A94_ROWID_IX1 (cr=3 pr=0 pw=0 time=65 us)(object id 129281)
    0 INDEX UNIQUE SCAN LINEAGES_PK (cr=0 pr=0 pw=0 time=0 us)(object id 307740)
    0 VIEW VW_NSO_1 (cr=0 pr=0 pw=0 time=0 us)
    0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us)
    0 INDEX RANGE SCAN D94_PK1 (cr=0 pr=0 pw=0 time=0 us)(object id 1637355)
    0 INDEX UNIQUE SCAN LINEAGES_PK (cr=0 pr=0 pw=0 time=0 us)(object id 307740)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    SQL*Net message to client 3911 0.00 0.00
    SQL*Net message from client 3911 0.49 72.42
    latch: cache buffers chains 1434 0.00 0.07
    latch: shared pool 1 0.00 0.00
    db file sequential read 28 0.14 0.31
    latch free 15 0.02 0.04
    latch: row cache objects 1 0.00 0.00
    log file switch completion 4 0.98 1.64

    ssddgreg wrote:
    Hi Randolf,
    thank you for your excellent interpretation! I have Oracle DBMS 10.2.0.3 Ent Edition deployed on Sun Solaris (64-bit), FIRST_ROWS and CURSOR_SHARING = SIMILAR.
    I also checked the table D94.SDE_DELETES_ROW_ID about indexes, it has 3 indexes on the same column:
    D94_IX1, NONUNIQUE
    D94_IX2, UNIQUE
    D94_PK1, UNIQUE
    This table is a system table from another middle-tier application and all the DXX tables are configured like that.Is this a third-party vendor application for that you don't have any control over the schema? Because your description of the indexes looks like a potential case of massive over-indexing, increasing the workload required to maintain all this indexes. Very likely some of these indexes are redundant and could be covered by a fewer number of indexes.
    Besides that my comment regarding the execution plan was probably not clear enough - what I meant to say is that the HASH_AJ hint prevents the optimizer from doing the clever things with the predicates that I described.
    So in principle the question is: What execution plan do you get if you omit the HASH_AJ hints? And how many consistent gets requires this new plan at execution time? You might need to add a NL_AJ hint instead to achieve what I've described, but it would be interesting to see in first place what execution plan is generated without any hints.
    Some other comments:
    FIRST_ROWS optimizer mode: Does this application require you to use the FIRST_ROWS optimizer mode? Because in principle, if you have an application that actually retrieves most of the time only the first few rows of a larger result set, then you should use the FIRST_ROWS(n) optimizer mode instead. The FIRST_ROWS optimizer mode is deprecated since Oracle 9i if I remember correctly and has some odd side effects on execution plans, in particular if the SQL contains an ORDER BY clause.
    If your application usually processes all rows from a given result set, using the default optimizer mode ALL_ROWS is more appropriate - using FIRST_ROWS as a band-aid because with ALL_ROWS things are slower only shows that there is something wrong that should be addressed in a different way (by investigating why the ALL_ROWS mode doesn't arrive at a suitable execution plan as first activity).
    CURSOR_SHARING=SIMILAR: Note that CURSOR_SHARING = SIMILAR has some other side effects (and bugs). Oracle has recently announced on My Oracle Support (see document 1169017.1) that CURSOR_SHARING=SIMILAR will be deprecated (no longer supported) in Oracle 12. See this note also for a description why this setting can be problematic.
    Of course, if you don't have any control over a vendor application and it works fine and has been optimized for these settings (FIRST_ROWS, CURSOR_SHARING=SIMILAR) then there is not much you can do (or need to do) about that.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    Co-author of the "OakTable Expert Oracle Practices" book:
    http://www.apress.com/book/view/1430226684
    http://www.amazon.com/Expert-Oracle-Practices-Database-Administration/dp/1430226684

  • Need help to understand the MEMORY output on WLC

    Hi All,
    Will be glad if someone can help me to understand the below output from WLC. Actually i want to know the FLASH & RAM size of my WLC so what i did. I run the command '' show memory statistics'' and below is what i have got. Can someone elaborate this
    System Memory Statistics:
    Total System Memory............: 259112960 bytes  (i believe this is the flash size 256Mb ???)
    Used System Memory.............: 154288128 bytes
    Free System Memory.............: 104824832 bytes
    Bytes allocated from RTOS......: 13717504 bytes
    Chunks Free....................: 24 bytes
    Number of mmapped regions......: 37
    Total space in mmapped regions.: 23429120 bytes
    Total allocated space..........: 13399760 bytes
    Total non-inuse space..........: 317744 bytes
    Top-most releasable space......: 61832 bytes
    Total allocated (incl mmap)....: 37146624 bytes
    Total used (incl mmap).........: 36828880 bytes
    Total free (incl mmap).........: 317744 bytes

    Hi Salman,
    Yes, that value give the RAM size of your WLC.
    259112960 bytes  valued correlated to ( or 23040 KB or ~248 MB ) dividing by 1024. So I think it is 256MB RAM.
    I do not think flash size can be determine by this output.
    Refer this post as it relate to your query as well
    https://supportforums.cisco.com/discussion/12023396/ram-size-5508-and-5760-wireless-lan-controllers
    HTH
    Rasika
    *** Pls rate all useful responses ****

  • Need to understand the relation between ManualResetEvent and thread

    please help me to understand the below code
    what is resetEvent.Set() and WaitOne() ? what it does ?
    var resetEvent = new ManualResetEvent(false);
    ThreadPool.QueueUserWorkItem(
    arg =>
    DoWork();
    resetEvent.Set();
    resetEvent.WaitOne();
    again help me to understand the below code
    var events = new List<ManualResetEvent>();
    foreach(var job in jobs)
    var resetEvent = new ManualResetEvent(false);
    ThreadPool.QueueUserWorkItem(
    arg =>
    DoWork(job);
    resetEvent.Set();
    events.Add(resetEvent);
    WaitHandle.WaitAll(events.ToArray());
    why this line WaitHandle.WaitAll(events.ToArray()); is required ?
    why adding ManualResetEvent instance to list ?
    looking for discussion. thanks

    WaitOne() will cause the current (main) thread to wait until the thread pool thread has called the Set() method. If you don't call the WaitOne() method, the code line below ThreadPool.QueueUserWorkItem(...) will get executed before the delegate that you
    pass do the ThreadPool.QueueUserWorkItem method has actually finished its execution because the threads are being executed simultaneously:
    var resetEvent = new ManualResetEvent(false);
    ThreadPool.QueueUserWorkItem(
    arg =>
    //this will be executed simultaneously on thread B
    Thread.Sleep(10000);
    //tell thread A to continue
    resetEvent.Set();
    //thread A waits here until thread B calls the Set() method...
    resetEvent.WaitOne();
    string s = "abc"; //this line won't get executed until thread B has called the Set() method provided that the WaitOne() method is called by thread A above.
    >>why this line WaitHandle.WaitAll(events.ToArray()); is required ?
    It causes the main thread to wait until the Set method of all ManualResetEvent objects in the events list has been called. Othwerwise the execution of the main thread would continue immediately after the foreach loop has been executed. By this time the DoWork
    method of all jobs has not yet been completed because they are being executed on another thread.
    WaitHandle.WaitAll(events.ToArray());
    string s = "abc"; //this line won't get executed until all the Set() method of all ManualResetEvent objects in events has been called
    >>why adding ManualResetEvent instance to list ?
    Because you (appearantly) want to wait for all objects in the list, i.e. you want to wait for the DoWork method to complete for all jobs before you continue the execution of the main thread (and go on to assign the string s to the value "abc"
    in the above example).
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • Need help in understanding the logic

    i've been told to develop the mail application for sending the messages.the clients should automatically receive the mail.since the clients have the browser to handle all mails,do u think there is no need to code on the receiving end.Also give me an idea as to how i should retrieve the client details from the huge database

    hai Shanu my job is i'm not worried about the receiving side.i'm just sending the message.all that is left for me is to figure out the clients to whom i hav to send mail.middleware in the sense i don't exactly understand it.so can u plz give me a detailed picture about it
    regards
    coded

  • Need help in understanding why so many gets and I/O

    Hi there,
    I have a sql file somewhat similar in structure to below:
    delete from table emp;-- changed to Truncate table emp;
    delete from table dept;--changed to Truncate table dept;
    insert into emp values() select a,b,c from temp_emp,temp_dept where temp_emp.id=temp_dept.emp_id
    update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);
    commit --only at the end
    the above file takes about 9-10 hrs to complete its operation. and
    the values from v$sql for the statement
    update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);
    are as below:
    SHARABLE_MEM     PERSISTENT_MEM     RUNTIME_MEM     SORTS     LOADED_VERSIONS     OPEN_VERSIONS     USERS_OPENING     FETCHES     EXECUTIONS     PX_SERVERS_EXECUTIONS     END_OF_FETCH_COUNT     USERS_EXECUTING     LOADS     FIRST_LOAD_TIME     INVALIDATIONS     PARSE_CALLS     DISK_READS     DIRECT_WRITES     BUFFER_GETS     APPLICATION_WAIT_TIME     CONCURRENCY_WAIT_TIME     CLUSTER_WAIT_TIME     USER_IO_WAIT_TIME     PLSQL_EXEC_TIME     JAVA_EXEC_TIME     ROWS_PROCESSED     COMMAND_TYPE     OPTIMIZER_MODE     OPTIMIZER_COST     OPTIMIZER_ENV     OPTIMIZER_ENV_HASH_VALUE     PARSING_USER_ID     PARSING_SCHEMA_ID     PARSING_SCHEMA_NAME     KEPT_VERSIONS     ADDRESS     TYPE_CHK_HEAP     HASH_VALUE     OLD_HASH_VALUE     PLAN_HASH_VALUE     CHILD_NUMBER     SERVICE     SERVICE_HASH     MODULE     MODULE_HASH     ACTION     ACTION_HASH     SERIALIZABLE_ABORTS     OUTLINE_CATEGORY     CPU_TIME     ELAPSED_TIME     OUTLINE_SID     CHILD_ADDRESS     SQLTYPE     REMOTE     OBJECT_STATUS     LITERAL_HASH_VALUE     LAST_LOAD_TIME     IS_OBSOLETE     CHILD_LATCH     SQL_PROFILE     PROGRAM_ID     PROGRAM_LINE#     EXACT_MATCHING_SIGNATURE     FORCE_MATCHING_SIGNATURE     LAST_ACTIVE_TIME     BIND_DATA     TYPECHECK_MEM
    18965     8760     7880     0     1     0     0     0     2     0     2     0     2     2011-05-10/21:16:44     1     2     163270378     0     164295929     0     509739     0     3215857850     0     0     20142     6     ALL_ROWS     656     E289FB89A4E49800CE001000AEF9E3E2CFFA331056414155519421105555551545555558591555449665851D5511058555155511152552455580588055A1454A8E0950402000002000000000010000100050000002002080007D000000000002C06566001010000080830F400000E032330000000001404A8E09504646262040262320030020003020A000A5A000     4279923421     50     50     APPS     0     00000003CBE5EF50     00     1866523305     816672812     1937724149     0     SYS$USERS     0     01@</my.sql     -2038272289          -265190056     0          9468268067     10420092918          00000003E8593000     6     N     VALID     0     2011-05-11/10:23:45     N     5          0     0     1.57848E+19     1.57848E+19     5/12/2011 4:39          0
    1) how do i re-write this legacy script? and what should be done to improve performance?
    2) Should i use PL/sql to re-write it?
    3) Also help in understanding why a simple update statement is doing so many buffer gets and reading , Is this Read consistency Trap as i'm not committing anywhere in between or it is actually doing so much of work.
    (assume dept table has cols emp_name and emp_id also)

    update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);I guess that these are masked table names ? Nobody would have emp_name in a dept table.
    Can you re-format the output, using "code" tags ( [  or {  }
    Hemant K Chitale
    Edited by: Hemant K Chitale on May 12, 2011 12:44 PM

  • Need help in optimizing the query with joins and group by clause

    I am having problem in executing the query below.. it is taking lot of time. To simplify, I have added the two tables FILE_STATUS = stores the file load details and COMM table that is actual business commission table showing records successfully processed and which records were transmitted to other system. Records with status = T is trasnmitted to other system and traansactions with P is pending.
    CREATE TABLE FILE_STATUS
    (FILE_ID VARCHAR2(14),
    FILE_NAME VARCHAR2(20),
    CARR_CD VARCHAR2(5),
    TOT_REC NUMBER,
    TOT_SUCC NUMBER);
    CREATE TABLE COMM
    (SRC_FILE_ID VARCHAR2(14),
    REC_ID NUMBER,
    STATUS CHAR(1));
    INSERT INTO FILE_STATUS VALUES ('12345678', 'CM_LIBM.TXT', 'LIBM', 5, 4);
    INSERT INTO FILE_STATUS VALUES ('12345679', 'CM_HIPNT.TXT', 'HIPNT', 4, 0);
    INSERT INTO COMM VALUES ('12345678', 1, 'T');
    INSERT INTO COMM VALUES ('12345678', 3, 'T');
    INSERT INTO COMM VALUES ('12345678', 4, 'P');
    INSERT INTO COMM VALUES ('12345678', 5, 'P');
    COMMIT;Here is the query that I wrote to give me the details of the file that has been loaded into the system. It reads the file status and commission table to show file name, total records loaded, total records successfully loaded to the commission table and number of records that has been finally transmitted (status=T) to other systems.
    SELECT
        FS.CARR_CD
        ,FS.FILE_NAME
        ,FS.FILE_ID
        ,FS.TOT_REC
        ,FS.TOT_SUCC
        ,NVL(C.TOT_TRANS, 0) TOT_TRANS
    FROM FILE_STATUS FS
    LEFT JOIN
        SELECT SRC_FILE_ID, COUNT(*) TOT_TRANS
        FROM COMM
        WHERE STATUS = 'T'
        GROUP BY SRC_FILE_ID
    ) C ON C.SRC_FILE_ID = FS.FILE_ID
    WHERE FILE_ID = '12345678';In production this query has more joins and is taking lot of time to process.. the main culprit for me is the join on COMM table to get the count of number of transactions transmitted. Please can you give me tips to optimize this query to get results faster? Do I need to remove group and use partition or something else. Please help!

    I get 2 rows if I use my query with your new criteria. Did you commit the record if you are using a second connection to query? Did you remove the criteria for file_id?
    select carr_cd, file_name, file_id, tot_rec, tot_succ, tot_trans
      from (select fs.carr_cd,
                   fs.file_name,
                   fs.file_id,
                   fs.tot_rec,
                   fs.tot_succ,
                   count(case
                            when c.status = 'T' then
                             1
                            else
                             null
                          end) over(partition by c.src_file_id) tot_trans,
                   row_number() over(partition by c.src_file_id order by null) rn
              from file_status fs
              left join comm c
                on c.src_file_id = fs.file_id
             where carr_cd = 'LIBM')
    where rn = 1;
    CARR_CD FILE_NAME            FILE_ID           TOT_REC   TOT_SUCC  TOT_TRANS
    LIBM    CM_LIBM.TXT          12345678                5          4          2
    LIBM    CM_LIBM.TXT          12345677               10          0          0Using RANK can potentially produce multiple rows to be returned though your data may prevent this. ROW_NUMBER will always prevent duplicates. The ordering of the analytical function is irrelevant in your query if you use ROW_NUMBER. You can remove the outermost query and inspect the data returned by the inner query;
    select fs.carr_cd,
           fs.file_name,
           fs.file_id,
           fs.tot_rec,
           fs.tot_succ,
           count(case
                    when c.status = 'T' then
                     1
                    else
                     null
                  end) over(partition by c.src_file_id) tot_trans,
           row_number() over(partition by c.src_file_id order by null) rn
    from file_status fs
    left join comm c
    on c.src_file_id = fs.file_id
    where carr_cd = 'LIBM';
    CARR_CD FILE_NAME            FILE_ID           TOT_REC   TOT_SUCC  TOT_TRANS         RN
    LIBM    CM_LIBM.TXT          12345678                5          4          2          1
    LIBM    CM_LIBM.TXT          12345678                5          4          2          2
    LIBM    CM_LIBM.TXT          12345678                5          4          2          3
    LIBM    CM_LIBM.TXT          12345678                5          4          2          4
    LIBM    CM_LIBM.TXT          12345677               10          0          0          1

  • Need help in understanding the result logged in gateway log file

    I have installed unixODBC.x86_64 (2.2.14) and mysql-connector-odbc-5.3.4-linux-el6-x85-64 on Oracle Linux Server 6.5 64 bit with Oracle 12c and MySQL Community Server 5..6.14.  Oracle database character set is AL32UTF8 and MySQL database character set is latin1. I have copied the content of a gateway log file to the bottom of this entry and boldfaced the lines that I hope someone can explain to me what they mean and what should I do.
    Gateway init file has the following configuration:
    HS_FDS_CONNECT_INFO = myodbc5
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P15
    set ODBCSYSINI=/tmp/shared
    ODBC.ini located in /tmp/shared has the following configuration:
    [myodbc5]
    Driver          = /tmp/shared/mysql-odbc/lib/libmyodbc5w.so
    DATABASE        = peter
    DESCRIPTION     = MySQL ODBC 5.3 Unicode Driver
    SERVER          = localhost
    UID             = peter
    PASSWORD        = peter
    SOCKET          = /var/lib/mysql/mysql.sock
    Listener.ora has the following configuration:
    LISTENER =
      (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENER =
       (SID_LIST =
         (SID_DESC =
           (GLOBAL_DBNAME = PETER)
           (ORACLE_HOME = /opt/oracle/12c)
           (SID_NAME = PETER)
         (SID_DESC =
           (SID_NAME = mysqlodbc)
           (ORACLE_HOME = /opt/oracle/12c)
           (PROGRAM = dg4odbc)
    Tnsnames.ora has the following configuration:
    mysqlodbc =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP) (HOST=localhost) (PORT=1521)
    (CONNECT_DATA=
    (SID=mysqlodbc))
    (HS=OK)
    Gateway log file has the following content:
    Oracle Corporation --- TUESDAY   FEB 17 2015 14:08:39.306
    Heterogeneous Agent Release
    12.1.0.1.0
    Oracle Corporation --- TUESDAY   FEB 17 2015 14:08:39.306
        Version 12.1.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"
    setting HS_FDS_FETCH_ROWS to default of "100"
    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_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"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    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"
    Default value of 64 assumed 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 "mysqlodbc"
    Product-Info:
      Port Rls/Upd:1/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:12.1.0.1.0_0017, Instance:mysqlodbc
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=46
    HOCXU_DRV_NCHAR=873
    HOCXU_DB_CSET=873
    HS_LANGUAGE is AMERICAN_AMERICA.WE8ISO8859P15
    LANG=en_US.UTF-8
    HOCXU_SEM_VER=121000
    HOCXU_VC2_MAX=4000
    HOCXU_RAW_MAX=2000
    Entered hgolofn at 2015/02/17-14:08:39
    HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac07fe0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac08110
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac089d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac09d40
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac11c00
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac120a0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac148d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac15dd0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac16610
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18060
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18070
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac197c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1cb80
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1cf60
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1eb70
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1f800
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1fb80
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21af0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21f10
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23b20
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23960
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0a360
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0bc20
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac0f710
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac11470
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac12c00
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac15810
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac16f70
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac18400
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac19ec0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1a390
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1b5f0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1c320
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1d9c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1dcc0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac1e7c0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac20380
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac208d0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac20eb0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac21520
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac22210
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac24fb0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac23610
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac26910
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Entered hgolofns at 2015/02/17-14:08:39
    symbol_peflctx=0xac275e0
    hoaerr:0
    Exiting hgolofns at 2015/02/17-14:08:39
    Exiting hgolofn, rc=0 at 2015/02/17-14:08:39
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTERS" 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"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2015/02/17-14:08:39
    Entered hgolgon at 2015/02/17-14:08:39
    reco:0, name:peter, tflag:0
    Entered hgosuec at 2015/02/17-14:08:39
    Exiting hgosuec, rc=0 at 2015/02/17-14:08:39
    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_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 peter as default schema
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2015/02/17-14:08:39
    HS_FDS_CONNECT_INFO = "myodbc5"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2015/02/17-14:08:39
    dsn:myodbc5, name:peter
    optn:
    Entered hgocip at 2015/02/17-14:08:39
    dsn:myodbc5
    Exiting hgocip, rc=0 at 2015/02/17-14:08:39
    Exiting hgogenconstr, rc=0 at 2015/02/17-14:08:39
    Entered hgolosf at 2015/02/17-14:08:39
    Exiting hgolosf, rc=0 at 2015/02/17-14:08:39
    DriverName:libmyodbc5w.so, DriverVer:05.03.0004
    DBMS Name:MySQL, DBMS Version:5.6.14
    Exiting hgocont, rc=0 at 2015/02/17-14:08:39
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 192 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2015/02/17-14:08:39
    Entered hgoulcp at 2015/02/17-14:08:39
    Entered hgowlst at 2015/02/17-14:08:39
    Exiting hgowlst, rc=0 at 2015/02/17-14:08:39
    SQLGetInfo returns 0x0 for SQL_SCHEMA_USAGE
    TXN Capable:3, Isolation Option:0xf
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQL_SU_DML_STATEMENTS bit is not set. Schemas are not supported by FDS.
    SQLGetInfo returns 192 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 192 for SQL_MAX_PROCEDURE_NAME_LEN
    HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    Entered hgopoer at 2015/02/17-14:08:39
    Exiting hgopoer, rc=0 at 2015/02/17-14:08:39 with error ptr FILE:hgopoer.c LINE:195 ID:GetDiagRec error
    hgoulcp, line 2138: calling SQLFetch got sqlstate 00000
    3 instance capabilities will be uploaded
      capno:5964, context:0x00000000, add-info:        0
      capno:5989, context:0x00000000, add-info:        0
      capno:5992, context:0x0001ffff, add-info:        1, translation:"`"
    Exiting hgoulcp, rc=0 at 2015/02/17-14:08:39 with error ptr FILE:hgoulcp.c LINE:2140 ID:Translation text for Unicode literal not supported. Leaving HOACOPTTSTN1 capability off.
    Entered hgouldt at 2015/02/17-14:08:39
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2015/02/17-14:08:39
    Entered hgobegn at 2015/02/17-14:08:39
    tflag:0 , initial:1
    hoi:0xd991a328, ttid (len 24) is ...
      00: 50455445 522E3864 63666537 31332E31  [PETER.8dcfe713.1]
      10: 2E33312E 32303235                    [.31.2025]
                     tbid (len 21) is ...
      00: 50455445 525B312E 33312E32 3032355D  [PETER[1.31.2025]]
      10: 5B312E34 5D                          [[1.4]]
    Exiting hgobegn, rc=0 at 2015/02/17-14:08:39
    Entered hgodtab at 2015/02/17-14:08:39
    count:1
      table: mysql_table1
    Allocate hoada[0] @ 0x10b6300
    Entered hgopcda at 2015/02/17-14:08:39
    Column:1(dest): dtype:1 (CHAR), prc/scl:5/0, nullbl:1, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2015/02/17-14:08:39
    The hoada for table mysql_table1 follows...
    hgodtab, line 1079: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Exiting hgodtab, rc=0 at 2015/02/17-14:08:39
    Entered hgodafr, cursor id 0 at 2015/02/17-14:08:39
    Free hoada @ 0x10b6300
    Exiting hgodafr, rc=0 at 2015/02/17-14:08:39
    Entered hgopars, cursor id 1 at 2015/02/17-14:08:39
    type:0
    SQL text from hgopars, id=1, len=39 ...
         00: 53454C45 43542041 312E6064 65737460  [SELECT A1.`dest`]
         10: 2046524F 4D20606D 7973716C 5F746162  [ FROM `mysql_tab]
         20: 6C653160 204131                      [le1` A1]
    Exiting hgopars, rc=0 at 2015/02/17-14:08:39
    Entered hgoopen, cursor id 1 at 2015/02/17-14:08:39
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2015/02/17-14:08:39
    Entered hgodscr, cursor id 1 at 2015/02/17-14:08:39
    Allocate hoada @ 0x10b6300
    Entered hgodscr_process_sellist_description at 2015/02/17-14:08:39
    Entered hgopcda at 2015/02/17-14:08:39
    Column:1(dest): dtype:1 (CHAR), prc/scl:5/0, nullbl:1, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2015/02/17-14:08:39
    hgodscr, line 470: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Exiting hgodscr, rc=0 at 2015/02/17-14:08:39
    Entered hgoftch, cursor id 1 at 2015/02/17-14:08:39
    hgoftch, line 135: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    Performing delayed open.
    SQLBindCol: column 1, cdatatype: 1, bflsz: 6
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 5
    SQLFetch: row: 1, column 1, bflsz: 6, bflar: 5, (bfl: 5, mbl: 5)
    1 rows fetched
    Exiting hgoftch, rc=0 at 2015/02/17-14:08:39
    Entered hgoftch, cursor id 1 at 2015/02/17-14:08:39
    hgoftch, line 135: Printing hoada @ 0x10b6300
    MAX:1, ACTUAL:1, BRC:1, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY      NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
      1 CHAR Y          5          5   0/  0    0   0 200 dest
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2015/02/17-14:08:39
    Entered hgoclse, cursor id 1 at 2015/02/17-14:23:33
    Exiting hgoclse, rc=0 at 2015/02/17-14:23:33
    Entered hgodafr, cursor id 1 at 2015/02/17-14:23:33
    Free hoada @ 0x10b6300
    Exiting hgodafr, rc=0 at 2015/02/17-14:23:33
    Entered hgocomm at 2015/02/17-14:23:33
    keepinfo:0, tflag:1
       00: 50455445 522E3864 63666537 31332E31  [PETER.8dcfe713.1]
       10: 2E33312E 32303235                    [.31.2025]
                     tbid (len 21) is ...
       00: 50455445 525B312E 33312E32 3032355D  [PETER[1.31.2025]]
       10: 5B312E34 5D                          [[1.4]]
    cmt(0):
    Entered hgocpctx at 2015/02/17-14:23:33
    Exiting hgocpctx, rc=0 at 2015/02/17-14:23:33
    Exiting hgocomm, rc=0 at 2015/02/17-14:23:33
    Entered hgolgof at 2015/02/17-14:23:33
    tflag:1
    Exiting hgolgof, rc=0 at 2015/02/17-14:23:33
    Entered hgoexit at 2015/02/17-14:23:33
    Exiting hgoexit, rc=0
    Entered horcrces_CleanupExtprocSession at 2015/02/17-14:23:33
    Entered horcrpooe_PopOciEnv at 2015/02/17-14:23:33
    Entered horcrfoe_FreeOciEnv at 2015/02/17-14:23:33
    Exiting horcrfoe_FreeOciEnv at 2015/02/17-14:23:33
    Entered horcrfse_FreeStackElt at 2015/02/17-14:23:33
    Exiting horcrfse_FreeStackElt at 2015/02/17-14:23:33
    Exiting horcrpooe_PopOciEnv at 2015/02/17-14:23:33
    Exiting horcrces_CleanupExtprocSession at 2015/02/17-14:23:33

    Hi Matt,
    There is no error and data is returned.  It is just my curiosity to know about those lines in the log file and wonder whether they imply some underlying issues.
    Thanks,
    Peter

  • Need help about buying the month package (illustrator and photoshop) converting computers

    I currently pay for a package where I use
    illustrator and photoshop for £15/17 a month. Recently my Macbook is being repaired which is what it was brought/downloaded from but I still need to use the programs. I am currently using my dad's PC at the moment but not sure what to do because I have logged in to my account, but it doesn't recognise that I have already paid for it on this account. Any suggestions??

    download the cc desktop app to your dad's pc, Download Adobe Creative Cloud apps | Free Adobe CC trial
    (make sure you use the same adobe id used to pay for your subscription) and use the desktop app to install ps and ai

Maybe you are looking for

  • Multiple Comboboxes with single instance of Array Collection

    First off - thanks to everyone for their contributions.  This forum provides a lot of good information. I'm stuck on a particular problem and I suspect I'm not thinking about the issue correctly. I'm developing a dynamic module that instantiates comp

  • Unable to create data-domain in Endeca 3.0v

    Hi, I have installed Endeca 3.0 server in non-SSL mode. The verification URL http://localhost:7001/endeca-server/ws/manage?wsdl is opening up. I could login into the WebLogic Administration Console and could see that the oracle.endecaserver Web appli

  • ENUMS

    I have a few quick questions about using ENUMs - and why they are so good? After having read the documentation on them on sun.com, and my own textbook notes, I'm still not entirely clear about using them. I know you should use them when you have a fi

  • Mac OS X 10.6.8. Stickies

    On opening my Stickies, from the Dashboard, I found to my horror that a sticky containing some crucial info (not stored anywhere else in my house) has gone. Really stupid of me, I know, but now it has gone I really need to try and retrieve it. I have

  • Adobe ID error 2004

    I am trying to download a book from Overdrive and I can't activate Adobe. I keep getting error message 2004 ("This Adobe ID has been authorized too many times."). How do I unlock my ID?