Issue with database characterset

Hi All,
Database Version:11gR2
Developer complained that they are trying to insert Japanese characters and they are able to insert but while displaying its not actually dispalying Japanese characters. So i checked the database characterset.
SELECT * FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET';
PARAMETER VALUE
NLS_CHARACTERSET WE8ISO8859P15For 'Japanese' i know that the characterset required is AL32UTF8. The above one supports French i believe.
So here are my questions.
1. Is there anyway i can insert and view Japanese characters properly in the above characterset database?
2. Is there anyway i can change the characterset of the database(i believe we cannot, but just confirming it)
3. If i create AL32UTF8 and import the database from above characterset, will that work?
Thanks,
Arun

Arun wrote:
1. Is there anyway i can insert and view Japanese characters properly in the above characterset database?Not in CHAR, VARCHAR2 or CLOB data types. This should be possible with NCHAR, NVARCHAR2 or NCLOB data types that are using the national character set.
2. Is there anyway i can change the characterset of the database(i believe we cannot, but just confirming it)Yes but this may require a lot of work.
see approaches in http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#CEGDHJFF.
3. If i create AL32UTF8 and import the database from above characterset, will that work? Yes: should be easy with Data Pump.
>
Thanks,
Arun

Similar Messages

  • Issue with Database Commit

    Hello All,
    I have two include in my user exit of the sales order.
    In one include I am doing some validation on the Order quantity of the sales order depending upon the order quantity in one of my Z table. If every validation is OK then I am exporting this order quantity to memory ID.
    In the second include I am importing this Order Quantity and updating this Quantity in my database in my same Z table.
    If I process one order at a time then everything is working fine but when I try to create two sales order at the same time then only second order is getting validated and order quantity is getting updated whereas for the first order no validation is performed and also order quantity is not getting updated in the Z table.
    I really do not know is this issue related to database commit or something else.
    Kindly help.
    Regards
    Sachin yadav

    Sachin,
    I guess i am getting to understand your requirement a little bit,
    In validation I am modify the records in the Ztable as well I mean to say for each order created I am updating the Quantity in my Z table.
    So you are just updating the quantity fields in the Z table, and this doesn't have any affect on the actual order quantity what soever, is that right or is the order quantity changed or modified based on the entry in the Z table?
    So for the next order the validation should be done depending upon the new order quantity not the old order quantity.
    Now this is a little tricky, now by next order do you mean the next order with respect to the number range or the next order in general?
    For ex: Orders 1234, 1235, 1236 in order, or let us say there are 10 people around the world creating order simultaneously depending on the sequence in which their orders are saved.
    I mean to say for the first order the validation should be done depending upon the old Qty and for the second order validation should be done by new order Qty.
    When I am saving the two order at same time validation on both the order is done by old qyt bcoz new oder Qty from the first order is not yet upadated in the database when second order try to fetch the data from the Z table as i am saving both the order at same time.
    This is what will happen most probably, even though you use the lock concept, let me try and explain...once you save the order in the user exit you are locking the object with enqueue and dequeue...something like below.
    Order 1
    userexit_save_doc.
    enqueue ztable
    select from Z table
    validate based on the entries from z table
    update/modify the z table with udpated values
    dequeue ztable
    end of userexit.
    Now by the above code it doesn't mean that your changes are available in the Z table immediately, the table will actually be updated by the update modules along with other standard tables. Now in the mean time if an other order that hits userexit_save_doc before the update module of the previous order is complete it will still be looking at the old values.
    Now in order to overcome the above sitauation you might need to add a COMMIT WORK AND WAIT in the userexit. But this will compromise the data integrity of the order and IS NOT SUGGESTED.
    So you see, by locking the table you still haven't achieved your results.
    Now, you need to confirm if the entries in the Z table are used only for validation and updating of data in the Z table or does it have any kind of affect on the Order quantity or any other Order specific values in general.
    If it is only to track the quantity in the Z Table, and there is no affect on the order data in general, then i suggest that you create a  Z program and get all the orders that have been created/changed in a given period and then update the Z Table quantity accordingly, you can have this scheduled as a background job in the non business hours.
    Let me know if i was completely off track in getting your requirement
    Regards,
    Chen

  • Performance issue with database server

    Hello,
    We have installed ECC 6.0 on HP UX 11.23 OS with Oracle as database.
    We have cluster environment in our production severs.
    One server as DB-CI installed and other as Dialogue Instance installed.
    After installation, the dialogue instance (Application server))works fine but if we login into DB server and execute any t-code It takes too much time or just stuck.
    and after that if I go to application and execute that t-code it works fine and after that if I go to database and execute that t-code now even in DB it works fine.
    Kindly guide me.
    Thanks,
    Chandresh Pranami.

    Hi Chandresh,
    Check below things for your Database server.
    SM50 - Workprocess status busy or wait
    ST04 - Data buffer hit ratio
    SM37 - Any background job running there.
    Normally even if you are login through a diffrent app server the database side execution will happen in db server only.Application server will do the execution but the data read and to be updated will happen in db server only.When the sql request will go to db server may select update..types of sql then it willalways will be processed by db server.
    So there will be lot of load already thereIg you execute your work here it will take more time because more load for the application will be there.
    Regards
    Ashok

  • Issue with Database table adapter

    Hi,
    Iam working on OIM 9.1.0.1
    I login as an end user & self request the DB table which is configured.
    User can assign & the xelsysadm approves ..
    The approval task is completed as seen in the End User page. In the Task Assignment History -->Task status is Pending
    Can anyone help me out on this issue.
    Error seen on console.
    ERROR,19 Feb 2011 16:00:01,421,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUse
    rOperationsBean/updateUserData encounter some problems: maoErrors:An error occur
    red while retrieving process information null
    ERROR,19 Feb 2011 16:00:01,437,[XELLERATE.SCHEDULER.TASK],Class/Method: tcTskUsr
    Provision/checkPolicyUpdateFlags encounter some problems: An error occurred whil
    e retrieving process information null
    Thor.API.Exceptions.tcAPIException: An error occurred while retrieving process i
    nformation null
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unk
    nown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown
    Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown
    Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(t
    cUserOperations_voj9p2_EOImpl.java:4747)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy51.updateUser(Unknown Source)
    at com.thortech.xl.schedule.tasks.tcTskUsrProvision.checkPolicyUpdateFla
    gs(Unknown Source)
    at com.thortech.xl.schedule.tasks.tcTskUsrProvision.execute(Unknown Sour
    ce)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionActi
    on.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown S
    ource)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
    ava:477)
    Running GENERICADAPTER
    Target Class = com.thortech.xl.gc.runtime.GCAdapterLibrary

    It's a new error now..
    The Create User task is Rejected with the below error in console.
    Running GENERICADAPTER
    Target Class = com.thortech.xl.gc.runtime.GCAdapterLibrary
    ERROR,21 Feb 2011 17:45:42,171,[XELLERATE.APIS],
    java.lang.NullPointerException
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getModelFromConnectorD
    efinition(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperationsSession.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperations_do1ndy_EOImpl.lookup(GCOperati
    ons_do1ndy_EOImpl.java:576)
    at Thor.API.Operations.GCOperationsClient.lookup(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy79.lookup(Unknown Source)
    at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unkn
    own Source)
    at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .GENERICADAPTER(adpMY_NEWTESTUSERS_GTC.java:125)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .implementation(adpMY_NEWTESTUSERS_GTC.java:70)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown
    Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unkno
    wn Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(
    Unknown Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Sourc
    e)
    at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.autoDOBSave(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(Unkn
    own Source)
    at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.checkApproved(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.approve(Unknown Source)
    at com.thortech.xl.dataobj.tcRequestObject.handleApprovalLaunch(Unknown
    Source)
    at com.thortech.xl.dataobj.tcREQ.launchObjectApprovals(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.checkRequestReceived(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
    sMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageHandlerMDB.onMessa
    ge(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:46
    6)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
    istener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
    327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:505
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,21 Feb 2011 17:45:42,250,[XELLERATE.APIS],An exception occurred while crea
    ting the GenericConenctor Model from the Connector Definition file
    ERROR,21 Feb 2011 17:45:42,250,[XELLERATE.APIS],An exception occurred while gene
    rating Generic Connector model from the connector definition xml of the connecto
    r 'MY_NEWTESTUSERS'
    com.thortech.xl.gc.exception.ConnectorDefinitionOperationsException: An exceptio
    n occurred while creating the GenericConenctor Model from the Connector Definiti
    on file
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getModelFromConnectorD
    efinition(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperationsSession.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperations_do1ndy_EOImpl.lookup(GCOperati
    ons_do1ndy_EOImpl.java:576)
    at Thor.API.Operations.GCOperationsClient.lookup(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy79.lookup(Unknown Source)
    at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unkn
    own Source)
    at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .GENERICADAPTER(adpMY_NEWTESTUSERS_GTC.java:125)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .implementation(adpMY_NEWTESTUSERS_GTC.java:70)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown
    Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unkno
    wn Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(
    Unknown Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Sourc
    e)
    at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.autoDOBSave(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(Unkn
    own Source)
    at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.checkApproved(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.approve(Unknown Source)
    at com.thortech.xl.dataobj.tcRequestObject.handleApprovalLaunch(Unknown
    Source)
    at com.thortech.xl.dataobj.tcREQ.launchObjectApprovals(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.checkRequestReceived(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
    sMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageHandlerMDB.onMessa
    ge(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:46
    6)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
    istener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
    327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:505
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    ... 76 more
    ERROR,21 Feb 2011 17:45:42,312,[XELLERATE.GC.FRAMEWORKPROVISIONING],An exception
    occurred while generating Generic Connector model from the connector definition
    xml of the connector 'MY_NEWTESTUSERS'

  • Rebate related issue with database table VKDFS & VBAK

    Hi everybody,
    I am facing the problem with the tables VKDFS and VBAK.
    In my program the report has to display the details of the agrement numbers concerning to the sale or billing doucmnets later on it has to create a credit memo for that particular customer.
    In the coding the program in very beging step, it is fetching all sales documents from VKDFS as per selections like following.
      select        * from  vkdfs into table ivkdfs
             where  fktyp  in r_fktyp
             and    vkorg  in s_vkorg
             and    fkdat  in s_fkdat
             and    kunnr  in s_kunnr
             and    fkart  in s_fkart
             and    vbeln  in s_vbeln
             and    faksk  in s_faksk
             and    vtweg  in s_vtweg
             and    spart  in s_spart
             and    netwr  in s_netwr
             and    waerk  in s_waerk.
    After this whatever the sales orders fetched here, for those all again its fetching from VBAK table as following.
    SVBAK[] = IVKDFS[]
    select * from vbak into table ivbak
      for all entries in svbak
      where vbeln = svbak-vbeln
      and   knuma in s_knuma
      and   auart in s_auart
      and   submi in s_submi
      and  (vbak_wtab).
    So, its filtering from VBAK.
    But the exact issue is that, there is one sales order which is available in VBAK but does not available in VKDFS table.
    So, my program fails to display the report regarding to that agreement number.
    As per my analysis I came to know that there are no entries in VKDFS table against to the sales orders in VBAK concerning agreement numbers.
    VKDFS-SD index: billing initiator table.
    I want to know how come this VKDFS table is updating against to VBAK table. If possible how to make this entry in that table against to the values in VBAK. But it should not effect other tables.
    Please let me know the solution if you people have any .
    Its an urgent and sev 1 tickets
    eagerly waiting for solution or some information.
    Thanks&Regards.
    J.

    Hi everybody,
    I am facing the problem with the tables VKDFS and VBAK.
    In my program the report has to display the details of the agrement numbers concerning to the sale or billing doucmnets later on it has to create a credit memo for that particular customer.
    In the coding the program in very beging step, it is fetching all sales documents from VKDFS as per selections like following.
      select        * from  vkdfs into table ivkdfs
             where  fktyp  in r_fktyp
             and    vkorg  in s_vkorg
             and    fkdat  in s_fkdat
             and    kunnr  in s_kunnr
             and    fkart  in s_fkart
             and    vbeln  in s_vbeln
             and    faksk  in s_faksk
             and    vtweg  in s_vtweg
             and    spart  in s_spart
             and    netwr  in s_netwr
             and    waerk  in s_waerk.
    After this whatever the sales orders fetched here, for those all again its fetching from VBAK table as following.
    SVBAK[] = IVKDFS[]
    select * from vbak into table ivbak
      for all entries in svbak
      where vbeln = svbak-vbeln
      and   knuma in s_knuma
      and   auart in s_auart
      and   submi in s_submi
      and  (vbak_wtab).
    So, its filtering from VBAK.
    But the exact issue is that, there is one sales order which is available in VBAK but does not available in VKDFS table.
    So, my program fails to display the report regarding to that agreement number.
    As per my analysis I came to know that there are no entries in VKDFS table against to the sales orders in VBAK concerning agreement numbers.
    VKDFS-SD index: billing initiator table.
    I want to know how come this VKDFS table is updating against to VBAK table. If possible how to make this entry in that table against to the values in VBAK. But it should not effect other tables.
    Please let me know the solution if you people have any .
    Its an urgent and sev 1 tickets
    eagerly waiting for solution or some information.
    Thanks&Regards.
    J.

  • Transperant Data Encryption issue with database startup

    Hi, I am trying to implemete TDE in oracle databse and have create encryption successfully too.
    All the steps went on fine and encryption is working successfully.
    now, I have an issue everytime when database shutdown and startup.
    for which I have created a procedure to open the wallet and a trigger to open the wallet on DB startup.
    here is the example : tde_proc.sql
    1 create or replace procedure open_wallet
    2 as
    3 wallet_open exception;
    4 pragma exception_init(wallet_open,-28354);
    5 v_stmt varchar2(100);
    6 v_password varchar2(20);
    7 begin
    8 v_password:='abcdef1' ;
    9 -- edit the following line to store your secret wallet password
    10 v_stmt :='ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY "'||v_password||'"';
    11 execute immediate v_stmt ;
    12 exception
    13 when wallet_open then
    14 null;
    15 end;
    16 /
    @wrap iname=tde_proc.sql
    Processing tde_proc.sql to tde_proc.plb
    SQL> @tde_proc.plb
    Procedure created.
    TRIGGER :
    create or replace trigger open_tde_wallet
    after startup on database
    begin
    -- call wrapped pl/sql pocedure
    open_wallet;
    end open_tde_wallet;
    SQL> @open_wal.trg
    Trigger created.
    when I startup the database, alert log is showing the below error.
    Errors in file /opt/oracle10/admin/bmp10/udump/bmp10_ora_18396.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28353: failed to open wallet
    ORA-06512: at "SYS.OPEN_WALLET", line 11
    ORA-06512: at line 3
    Thu Jul 23 17:36:41 2009
    Completed: ALTER DATABASE OPEN
    Please give me some solution to resolve the issue.

    Hi..
    Thanks for your reply.
    1. yes variable v_password and wallet passwords are same. I had double checked after reading your reply. variable pwd
    and encryption wallet passwords are same.
    2. the entryof ENCRYPTION_WALLET_LOCATION in the SQLNET.ORA is also added.
    here is the sqlnet.ora
    ENCRYPTION_WALLET_LOCATION =
    (SOURCE =
    (METHOD = FILE)
    (METHOD_DATA =
    (DIRECTORY = /opt/oracle10/admin/tstbmp10/encrypt)
    Thanks,
    Krishna

  • Issue with database startup

    hi,
    getting below error on database startup.
    log is attached from alert log file.
    Wed Nov 16 14:24:20 2011
    ALTER DATABASE MOUNT
    Wed Nov 16 14:24:20 2011
    ORA-00202: control file: '/oradata2/ctftdb2/data/controlctftdb201.ctl'
    ORA-27086: unable to lock file - already in use
    SVR4 Error: 11: Resource temporarily unavailable
    Additional information: 8
    Additional information: 5457
    Wed Nov 16 14:24:20 2011
    ORA-205 signalled during: ALTER DATABASE MOUNT...

    user12052679 wrote:
    SID is ctftdb2
    bash-3.00$ ps -ef | grep pmon
    oracle 5992 1 0 14:24:19 ? 0:07 ora_pmon_ctftdb2
    oracle 1680 1 0 May 25 ? 193:47 ora_pmon_hddb
    oracle 5445 1 0 Jul 19 ? 287:57 ora_pmon_ctftdb2
    oracle 14334 28506 0 16:28:22 pts/3 0:00 grep pmonyour instance is already up, why trying to start again? are you not aware as it is already running?
    First shutdown the current instance which you facing errors to mount database
    export ORACLE_SID=ctftdb2
    sqlplus / as sysdba
    select name,open_mode from v$database;Might it is already either mounted or opened. post output here

  • Install HRCS 9.0 R5 with Linux Issue: upgrade Database HRCS 9.0 from PT8.52 to PT8.53

    Folks,
    Hello. I have been installing HCM and Campus Solution 9.0 with PeopleTools8.53. Server machine is Oracle Linux 5.10 and client machine is Windows XP.  My internet architecture is WebLogic11g/Tuxedo11g/OracleDatabase 11gR1. Peopletools 8.53 runs correctly in browser.
    In Oracle Linux 5.10 Database Server machine, I run the scripts "createdb10.sql, utlspace.sql, hrcddl.sql, dbowner.sql, psroles.sql, psadmin.sql and connect.sql" one by one. Then I use Data Mover to load data from Windows XP into Oracle Linux 5.10 DB instance HRCS90. The Data Mover script hrcs90ora.dms completes successfully in Windows XP. Configuration Manager is set up correctly.  But when I login into Application Designer, I cannot login and get the message as below:
    "Security Table Manager (Get): The database is at release 8.52.  The PeopleTools being run require databases at release 8.53."
    I have been following the document http://docs.oracle.com/cd/E37306_02/psft/acrobat/PeopleTools-8.53-Upgrade_02-2013.pdf to upgrade HCM and Human Resources 9.0 Revision 5 Database Instance HRCS90 in Oracle Database Server with Linux. I have been following chapter 4 task by task to do. Actually, I have run 4 scripts into HRCS90 as below:
    Task 4-3-5: run rel853.sql at SQL> in Linux.
    Task 4-3-6: run grant.sql at SQL> in Linux.
    Task 4-5-3: run ddlora.dms in Windows XP Data Mover into HRCS90.
    Task 4-6: run msgtlsupg.dms in Windows XP Data Mover into HRCS90.
    Then need to run Task 4-7 to copy project ppltls84cur Project in Application Designer. When login into Application Designer with Database HRCS90 and UserID and pwd PS, I get the same error message as below:
    "The database is at release 8.52. The PeopleTools being run require Database at release 8.53."
    Application Designer is supposed to login by Task 4-7 to copy projects but it cannot. I have tried to fing out what's wrong as below:
    In task 4-1-3: I cannot run script dbtsfix.sqr in Linux and Windows XP.
    In task 4-1-9: script ptupgibdel.sql does not have the string "End of PT8.53". There is no script ptupgibdel853.sql to run.
    In task 4-3-6: when run script grant.sql, table PSSTATUS and PSACCESSPRFL don't exist. There is only PSOPRDEFN table.
    I continue to do task by task in chapter 4 until task 4-27 that's the end, but Application Designer still cannot login. All of Application Engine Programs and SQR Programs cannot run.
    My questions are:
    First, does Oracle Database HRCS90 has table PSOPRDEFN only without table PSSTATUS and PSACCESSPRFL ?
    Second, what's the error by task 4-7 when Application Designer still cannot login ?
    Third, why Application Designer still cannot login a the end of doing chapter 4 task 4-27 ? How to solve the issue ?
    Thanks.
    Thanks.

    I'm not quite sure what you are missing, but it looks like you missed a script which could cause problems.  You need to look through your logs for errors. Are you running rel853 as the AccessID user?  I don't know how you would trash PSSTATUS in this process.
    You don't mention running this.
    Task 4-3-2:  Creating Tablespaces
    This step runs the PTDDLUPG script, which builds new tablespaces as part of the upgrade to the new PeopleSoft release.
    It creates tablespace PSIMAGE2, which doesn't exist in the datamover load you did.  Oracle moves and puts around 208 tables here when you run rel853 from what I see.
    The first line of rel853 is
    UPDATE PSSTATUS SET TOOLSREL='8.53',
                      LASTREFRESHDTTM = SYSDATE
    This is what changes the tools release, sometimes people just run this one update to gain quick and dirty access to a different version.
    I pulled this download and ran through it myself without incident doing all the steps you say, adding in 4-3-2 which you seemed to have skipped.  I built a system database.
    My hcengs.log shows
    Importing  PSSTATUS
    Creating Table  PSSTATUS
    Import  PSSTATUS  1
    Building required indexes for PSSTATUS
    Updating statistics for PSSTATUS
    Records remaining: 7686
    After import, PSSTATUS is
    SQL> select toolsrel from sysadm.psstatus;
    TOOLSREL
    8.52
    After running rel853n it's now
    SQL> COMMIT
      2  ;
    Commit complete.
    SQL> SPOOL OFF
    SQL> select toolsrel from sysadm.psstatus;
    TOOLSREL
    8.53
    I ran the other 3 quick scripts.  Not sure if it was necessary, but I reset the passwords and re-encrypted them with the new 8.53 datamover for the new salted encryption and fired up app designer.  It works.  By the way, you should probably run rel853n, it utilizes "newer" (for PeopleSoft that is) data-types than just rel853.sql that were delivered with the 9.0 application line.  Since this is a new 9.0 based app build it should be used.

  • Issue with changing database location at runtime

    I am having a similar issue to:
    Re: Issue with changing database location at runtime
    where I am using Crystal Reports 2008 SP 3 fix pack 3.3 and a OLE DB connection to a SQL 2008 R2 server. Running on a computer on the network where the report can see the original development server is fast, other computers where that server is not available are hanging 20 seconds before coming up.
    I am using the same code from the Crystal Sample app to change the connection on each table. I found that the slowness comes the first time the ReportDocument object is accessed to get the collection of database tables, before the connection info is set.
    Fix pack 3.4 was mentioned in that post.  Does fix pack 3.4 fix that issue? I don't see fix pack 3.4 on the downloads page (https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/bobj_download/main.htm)

    I just found on the reports that were having the issue there was a SQL Expression.  Per this thread:
    Re: Report load is slow after changing database servers
    There was an issue with that and the fix is not out til the end of Feb so I found a way not to use the SQL Expression and the speed is much better.
    However, your information provided led me to this post:
    Cannot Change Table Location, but Only for One Report
    And I am also experiencing an issue where the table location is not changing on one subreport and I will look into that as a possible solution.
    Thanks so much for your help.

  • Uk date format issue with ASP and Access Database

    I have an Asp form which updates records in an Access
    database. Problem is
    that the date format in the database record is dd/mm/yyyy
    (UK), when
    the record is displayed on the form it is mm/dd/yyyy(US)
    which after I
    update the record in the database the date has changed to the
    new format.
    I have tried everything I can to change the format but to no
    avail...anyone any ideas how I can resolve this issue?
    Thanks
    Steve

    stevo.s wrote:
    > Hi
    >
    > I have tried changing the format on the date field on
    the server behaviours
    > panelto ddmmyyy. Also have tried to set the form field
    format to ddmmyy. I have
    > also tried to use a function I got from a posting
    somehwere on the net to no
    > avail. <%function ddmmyyyy(varDate)
    > ddmmyyyy = Day(DateValue(varDate)) & "/" &
    Month(DateValue(varDate))
    > & "/" & Year(DateValue(varDate))
    > end function
    >
    > I believe that this is a recognised issue with
    Dreamweaver and Access but
    > can't seem to grasp the work around! Problem being I am
    teaching myself through
    > books and internet articles and can be weeks at a time
    without being able to
    > look at the issue..each time I come back to it it is
    like starting all over
    > again! I was hoping that somewhere out there there is a
    simple solution the
    > issue perhaps a date picker with the built in
    functionality to address the
    > issue...I am keen to understand how to deal with the
    issue rather than just
    > change my database date field to fudge the problem as I
    am in the UK and when I
    > eventually start to use the application I would like
    there to be some
    > consistency with dates and that users are familiar with
    the format.
    >
    > Any help gratefully received!
    Its not Dreamweaver, or Access, its your servers locale, its
    set to US
    format, not the UK.
    On your page at the top use:
    <% Session.LCID = 2057 %>
    This will force the page into using UK formatted dates. Use
    it on any
    page that needs to format the page correctly.
    Dooza
    Posting Guidelines
    http://www.adobe.com/support/forums/guidelines.html
    How To Ask Smart Questions
    http://www.catb.org/esr/faqs/smart-questions.html

  • Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database

    Hi All
    We have oracle discoverer 4i with portal db (oracle 8i).
    We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
    External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
    Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
    But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
    We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
    Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
    Can any one advise if this is the case and if there is any workaround for this?
    Regards,
    Raj

    Are you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
    See MOS Doc 207303.1
    HTH
    Srini

  • Database access issue with EXECUTE AS with impersonated User account

    Hello,
    I have been facing one issue with EXECUTE AS option in SQL Server 2008 R2. Following is the scenario:
    I have two databases TestDB1 and TestDB2 on the same SQL Server instance. I have SQL Admin level permissions on the server. I have written a stored procedure in TestDB1 which will execute the scripts(SELECT Statement) againest the table from TestDB2(using
    three part query). To execute the proc from TestDB1 I have used EXECUTE AS option with a user (User1) having select permissions on table from TestDB2. The same proc working fine when I use table from TestDB1 but not working on TestDB2 database. Thorwing error
    saying permission denied. I have tried enabling the Ownership chains on both the databases but no luck.
    Please help me with the situation here.
    Thanks!
    Swami A Polnati.

    You can also use EXECUTE AS. But then you need to set the database trustworthy, which is not good for security reasons.
    Enabling cross-database chaining will not help, since you are using dynamic SQL.
    Dan was kind to point you to my article. I recommend that you read it, and learn to embrace the technique with certificates. Yes, it is a long article and I understand that you are impatient to get a solution quickly. However, the article is written from
    the point of view that the reader is interested in learning for the future and not only get a solution for the moment. Certificate-signing as a technique is very very useful in several contexts.
    The article does also discuss EXECUTE AS, and I discuss in more detail why setting the database trustworthy may be a security risk. (And as long you don't fully understand what I'm talking about, it is a security risk.)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Multiple oracle database instances with different characterset on  the same server

    Hello,
    Is it possible to have 2 database instances running with different charactersets,one with AL32UTF8 and the other with WE8MSWIN1252.?
    Are there any setup requirements to be performed prior to setting up the database instances?
    The 3rd party utility that we want to use does not support AL32UTF8 and insists on using a database with character set WE8MSWIN1252.
    Kindly help.
    Thanks,
    Ram.

    Hello Zhe,
    I guess I posted my question in a wrong forum.  I tried my best to find a suitable forum and thought this was the best and closest I found.  Apparently not.  Can you please let me know the right forum for my question?
    The below is the breif of what we are currently facing:
    We are in the process of finalizing plans to install Automic for our Retail applications to schedule jobs.  In the process came to know that Automic does not support AL32UTF8.
    Right now we have RMS and UC4 (now called Automic) run on the database server as UC4 supports AL32UTF8 and schema for UC4 is inside the RMS database.
    Going forward it is recommended to have a separate database instance on the same server as that of RMS database and with a different characterset which is WE8MSWIN1252.
    Please let me know what forum to post in, I will repost the question.
    Thanks,
    Ram.

  • Security issues with connecting pdf to database

    I have a pdf form that is being called from a webform as part
    of a web application. The PDF has two dropdown lists that I was
    populating from a SQL Server Database. I had created a special user
    that had select access only to the tables for the dropdowns.
    My question is are there any known security issues with
    regard to allowing a pdf to connect to a database this way. The PDF
    is being called from a secure connection but I don't know if
    opening this database connection to populate these dropdowns
    exposes a security hole of any sort. If it does, do you have a
    solution to make this secure? I am asking because another developer
    on the project brought up the issue of this design creating a
    security risk and I haven't been able to find anything online
    discussing it either way.
    Thanks!
    Maureen

    Hello Maureen,
    Thanks for posting, but I'm not sure I see if your question
    relates to Acrobat.com
    Are you using any of the Acrobat.com Services as any part of
    your workflow?
    Thanks!
    Pete

  • Issues with simple cron job to query database

    Hi all,
    This is really a mix, of both a database issue and a Linux issue, so I thought I'd post it here to get the most visibility. I have been looking into this, and also had a couple other DBA's at my company help, and we are not able to figure it out, so I thought I'd post it here. Basically, I have a simple shell script that is just doing a sqlplus connection to the database and querying V$INSTANCE. When I run the script from the command line, it runs fine, but for the life of me, I can't get it to run from the crontab.
    I'm running Oracle 10.1.0.3.0 on a RedHat ES Linux release 3 (Red Hat Enterprise Linux AS release 3 (Taroon Update 5) server. This is all local on the server - the database is on this server, and this is also where I'm running the script.
    I've made the script as simple as possible, like this:
    #!/bin/sh
    sqlplus / as sysdba <<EOF
    Select * from v\$instance;
    EOF
    When I run this script from the command line, it is running fine. But then I put it in a crontab entry like this:
    00 * * * * /home/oracle/scripts/cron_test.sh > /home/oracle/scripts/cron_test.log 2>&1
    And I am seeing this in the logfile:
    Connected to an idle instance.
    SQL> SQL> Select * from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    SQL> SQL> Disconnected
    At first glance, it seems like a simple issue with environment variables not being set properly, but I have tested this to exhaustion. I've put in all of the environment variables into the shell script to duplicate what I have on the command line, but it still won't work. I've checked on just about anything else I could think of - looked at the tnsnames and listener config, looked at the profile from the crontab in /etc/profile, nothing works...
    And on any other server that I test this on, it all works fine and as expected. So I'm trying to figure out why I'm only having this issue on this one particular server?? Some kind of server config or setting that could be causing it?
    I appreciate any comments or tips!!
    Thanks,
    Brad

    Done. Here is the output from the command line:
    AGENT_HOME=/u01/app/oracle/product/10.2.0/agent10g
    _=/bin/env
    G_BROKEN_FILENAMES=1
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=rlldb.celgene.com
    INPUTRC=/etc/inputrc
    JAVA_HOME=/usr/java/j2re1.4.2_08/
    LANG=en_US.UTF-8
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LL_ALL=en_US
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    MANPATH=:/opt/IBM/director/man
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    ORACLE_SID=rlldb
    PATH=/u01/app/oracle/product/10.1.0/Db_1/bin:/usr/java/j2re1.4.2_08//bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/IBM/director/bin:/home/oracle/bin:/sbin://u01/app/oracle/product/10.1.0/Db_1/OPatch:/u01/app/oracle/dbvisit/dbvisit:/u01/app/oracle/product/10.1.0/Db_1/bin
    PWD=/home/oracle/scripts
    SHELL=/bin/bash
    SHLVL=2
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_CLIENT=10.20.241.84 2988 22
    SSH_CONNECTION=10.20.241.84 2988 10.20.1.29 22
    SSH_TTY=/dev/pts/4
    TERM=xterm
    USER=oracle
    And the output from the cron run:
    HOME=/home/oracle
    LOGNAME=oracle
    ORACLE_HOME=/u01/app/oracle/product/10.1.0/Db_1
    ORACLE_SID=rlldb
    PATH=/usr/bin:/bin:/u01/app/oracle/product/10.1.0/Db_1/bin
    PWD=/home/oracle
    SHELL=/bin/sh
    SHLVL=2
    _=/usr/bin/env
    And the diff of the 2:
    1,4d0
    < AGENT_HOME=/u01/app/oracle/product/10.2.0/agent10g
    < _=/bin/env
    < G_BROKEN_FILENAMES=1
    < HISTSIZE=1000
    6,11d1
    < HOSTNAME=rlldb.celgene.com
    < INPUTRC=/etc/inputrc
    < JAVA_HOME=/usr/java/j2re1.4.2_08/
    < LANG=en_US.UTF-8
    < LESSOPEN=|/usr/bin/lesspipe.sh %s
    < LL_ALL=en_US
    13,16d2
    < LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    < MAIL=/var/spool/mail/oracle
    < MANPATH=:/opt/IBM/director/man
    < ORACLE_BASE=/u01/app/oracle
    19,21c5,7
    < PATH=/u01/app/oracle/product/10.1.0/Db_1/bin:/usr/java/j2re1.4.2_08//bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/opt/IBM/director/bin:/home/oracle/bin:/sbin://u01/app/oracle/product/10.1.0/Db_1/OPatch:/u01/app/oracle/dbvisit/dbvisit:/u01/app/oracle/product/10.1.0/Db_1/bin
    < PWD=/home/oracle/scripts
    < SHELL=/bin/bash
    PATH=/usr/bin:/bin:/u01/app/oracle/product/10.1.0/Db_1/bin
    PWD=/home/oracle
    SHELL=/bin/sh23,28c9
    < SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    < SSH_CLIENT=10.20.241.84 2988 22
    < SSH_CONNECTION=10.20.241.84 2988 10.20.1.29 22
    < SSH_TTY=/dev/pts/4
    < TERM=xterm
    < USER=oracle
    _=/usr/bin/env-----
    I've even gone to the extreme, of taking every single environment variable from my command line environment, and putting all of them into the shell script. but still no luck... I've also contacted my Linux SysAdmins, to see if they have any thoughts/input on this.

Maybe you are looking for