RMAN SET NLS PARAMETERS

Hi all,
while restoring the database to point in time does we need to set NLS_LANG and NLS_DATE_FORMAT parameters, is these are mandatory parameters..?
My database restore to point in time is not getting successful. it's restore everything. Please let me know about these paramters...
Thank you!

Setting NLS Environment Variables
Before invoking RMAN, set the NLS_DATE_FORMAT and NLS_LANG environment variables. These variables determine the format used for the time parameters in RMAN commands such as restore, recover, and report.
The following example shows typical language and date format settings:
NLS_LANG=american
NLS_DATE_FORMAT='Mon DD YYYY HH24:MI:SS'
Specifying Dates in RMAN Commands
When specifying dates in RMAN commands, the date string can be either:
A literal string whose format matches the NLS_DATE_FORMAT setting.
A SQL expression of type DATE, for example, 'SYSDATE-10' or "TO_DATE('01/30/1997', 'MM/DD/YYYY')". Note that the second example includes its own date format mask and so is independent of the current NLS_DATE_FORMAT setting.
Following are examples of typical date settings in RMAN commands:
backup archivelog from time 'SYSDATE-31' until time 'SYSDATE-14';
restore database until time "TO_DATE('12/20/98','MM/DD/YY')";
Specifying the Database Character Set
If you are going to use RMAN to connect to a non-mounted database and then mount the database later while RMAN is still connected, set the NLS_LANG variable so that it also specifies the character set used by the database.
A database that is not mounted assumes the default character set, which is US7ASCII. If your character set is different from the default, then RMAN returns errors after the database is mounted. To avoid this problem, set the NLS_LANG to specify the target database's character set. For example, if the character set is WE8DEC, you can set the NLS_LANG parameter as follows:
NLS_LANG=american_america.we8dec.
Note:
You must set both NLS_LANG and NLS_DATE_FORMAT for NLS_DATE_FORMAT to be used.
This is the snippet from the following link:
http://docs.oracle.com/cd/A84870_01/doc/server.816/a76990/preparer.htm
What exact error you are getting?

Similar Messages

  • How to Set NLS parameters in SqlDeveloper for current and future connection

    Hi
    I've downloaded sqldeveloper version 1.5.4(build main-5940)
    when I try to set NLS parameters as following it is thrwoing following error
    TOOLS->PREFERENCES->DATABASE-->NLS parameters
    on right side pane
    I've changed
    SORT----->BINARY_CI
    COMP----->LINGUISTIC
    then it is generating following log file
    SEVERE     43     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:ORA-00600: internal error code, arguments: [qctosop:like transform], [], [], [], [], [], [], []
    SEVERE     44     114     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     45     7     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     46     9     oracle.dbtools.db.DBUtil     
    SEVERE     47     1     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     48     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     49     5     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     50     0     oracle.dbtools.db.DBUtil     
    SEVERE     51     1     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     52     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     53     5     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     54     0     oracle.dbtools.db.DBUtil     
    SEVERE     55     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     56     1     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     57     4     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     58     0     oracle.dbtools.db.DBUtil     
    SEVERE     59     1     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     60     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     61     4     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     62     1     oracle.dbtools.db.DBUtil     
    SEVERE     63     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     64     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     65     5     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     66     0     oracle.dbtools.db.DBUtil     
    SEVERE     67     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     68     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     69     6     oracle.dbtools.db.DBUtil     Closed Connection
    SEVERE     70     0     oracle.dbtools.db.DBUtil     
    SEVERE     71     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    SEVERE     72     0     oracle.dbtools.raptor.nls.OracleNLSProvider     Error loading nls:Closed Connection
    please help me to set NLS parameters for current and future connections.
    thanks,
    harry

    Hi -K-
    actually I want to make SqlDeveloper to make case insensitive search.
    when I google, I've found to make oracle as case insensitive I need to set NLS_SORT to Binary_CI and NLS_COMP to LINGUISTIC
    Default SQLDEVELOPER NLSParmeters values are as NLS_SORT---->Binary and NLS_COMP--->Binary
    Now I want to make these as NLS_SORT---->Binary_CI and NLS_COMP--->LINGUISTICS.
    thanks,
    harry

  • How to change NLS parameters in SQL Developer?

    I think that Oracle National Language Support is quite confusing. How can I easily change NLS parameters for SQL Developer (for all connections) to match exactly those that my database is using?

    Hello,
    SELECT 5/8 x FROM dual;F9 -> 0.625
    Change decimal separator in preferences
    F9 -> 0,625
    It is different when I execute a query/script with F5, then I always get 0.625
    SELECT * FROM nls_session_parameters
    WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
    PARAMETER                      VALUE
    NLS_NUMERIC_CHARACTERS         .,
    SELECT 5/8 x FROM dual;
             X
         0.625
    Change settings
    SELECT * FROM nls_session_parameters
    WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
    PARAMETER                      VALUE
    NLS_NUMERIC_CHARACTERS         ,.
    SELECT 5/8 x FROM dual;
             X
         0.625Even changing the settings with ALTER SESSION makes no difference
    ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ',.';
    SELECT * FROM nls_session_parameters
    WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
    PARAMETER                      VALUE
    NLS_NUMERIC_CHARACTERS         ,.
    SELECT 5/8 x FROM dual;
             X
         0.625
    ALTER SESSION SET NLS_NUMERIC_CHARACTERS = '.,';
    SELECT * FROM nls_session_parameters
    WHERE parameter = 'NLS_NUMERIC_CHARACTERS';
    PARAMETER                      VALUE
    NLS_NUMERIC_CHARACTERS         .,
    SELECT 5/8 x FROM dual;
             X
         0.625It seems the script output does not care about my settings :-(
    Regards
    Marcus

  • NEW 9I RMAN: PERSISTENT CONFIGURATION PARAMETERS - INTRODUCTION

    제품 : RMAN
    작성날짜 : 2001-11-09
    NEW 9I RMAN: PERSISTENT CONFIGURATION PARAMETERS - INTRODUCTION
    ===============================================================
    오라클 9i 부터는 RMAN 에서 항상 사용되는 파라미터 세팅을 고정적으로 할 수 있게
    되어 매번 파라미터를 주어야 하는 수고를 하지 않아도 된다.
    Persistent Configuration Parameters 기능은 RMA 에 다음과 같은 변화를 주었다:
    * RMAN 에서 파라미터의 디폴트를 DBA 가 커스터마이징 할 수 있게 되어 사용이 편리해졌다.
    * 한번 커스터마이징한 파라미터는 모든 Job 에 적용이 된다.
    * DBA 는 'BACKUP DATABASE' 명령어 하나만으로 RMAN 에서 데이터베이스 백업을 수행
    할 수 있게 되었다.
    * 오라클 9i 의 CONFIGURE 명령어는 RMAN 의 default setting 을 영구적으로 바꾸어 준다.
    * 파라미터의 값은 컨트롤파일에 저장이 되며 필요한 경우에는 리커버리 카다로그와 맞추어
    주는 과정이 필요하다.
    오라클 9i RMAN 에서는는 'show' 명령어로 현재의 파라미터 세팅을 확인 할 수 있다.
    SHOW show_operand [,show_operand ...];
    show_operand: RETENTION POLICY |
    EXCLUDE |
    BACKUP COPIES |
    CHANNEL |
    DEFAULT DEVICE TYPE |
    DEVICE TYPE |
    SNAPSHOT CONTROLFILE |
    ALL
    'show all' 명령어로 현재의 모든 세팅을 확인 한다.
    RMAN> show all;
    using target database controlfile instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/beta/app/oracle/product/9.0.1/dbs/snapc
    f_V901.f'; # default
    이렇게 Persistent Configuration Parameters 를 세팅하기 위해서는 스크립트를 만들어
    수행 하는 것이 좋다:
    run {
    # Use the configure commands to create your backup policy.
    # When complete these will be the new persistent
    # configuration parameters for RMAN in the controlfile
    # of the target datbase.
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '/proj/SME9i/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/proj/SME9i/backup/snapf_prod9.f';
    이렇게 스크립트를 수행 한 후에 결과를 확인 하기 위해서는:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '/proj/SME9i/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/proj/SME9i/backup/snapf_prod9.f';
    결과는 위와 같다.
    --------------THE END------------------------------------------------------

    Search button?!?!
    Re: seek some good documents on Recovery MANager  to start with
    Aron

  • Unable to set  kernel parameters using solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

  • Unable to set kernel parameters using Reource Control

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
    As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
    prctl -n process.max-msg-messages  -r -v 64k 2221
    bash-3.00# prctl 2221
    process: 2221: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -And now to make this persist across reboots...
    So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
    bash-3.00# projadd -p 115 -U testuser \
    -K "process.max-msg-messages=(priv,64K,deny)" \
    -K "process.max-msg-qbytes=(priv,64K,deny)" \
    user.me This creates the following /etc/project:
    (note the last line is all on one line in the real file minus the \.)
    placer% cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    user.me:115::testme::\
    process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
    placer% prctl $$
    process: 419: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -
    process.max-sem-ops
            privileged        512       -   deny                                 -
            system          2.15G     max   deny                                 -
    ...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
    Cheers,
    ~~sa

  • Unable to set kernel parameters using Reource Control in solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

  • Using SET GET parameters in ITS

    Hi All,
    Is it possible to use set get parameters in ITS. We want to set some parameters in a BADI and read the value in ITS Template .
    Or is there any other method to do this?
    Thanks,
    Anubhav

    Sure. In your abap program use the following code
    *  ITS macros
    INCLUDE avwrtcxm.
    GET PARAMETER ID 'YOUR_PARAMETER' FIELD SAVE_PARAMETER.
    field-set u2018~YOUR_PARAMETERu2019 1 SAVE_PARAMETER.
    field-transport.
    in the template you can now use ~YOUR_PARAMETER.
    regards,
    Klaus
    Edited by: Klaus Layer on Feb 3, 2009 5:05 PM

  • Problem with SET GET parameters

    Hi all,
    I am facing a problem using SET and GET parameters.
    There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
    Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
    SET PARAMETER ID 'QLS' FIELD lv_prueflos.
    Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
    Example: Inspection Lots : 4100000234
                                               4100000235
                                              4100000236
    Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
    Could you pls help me in solving this issue.
    Thanks,
    Aravind

    Hi,
    Problem with SET GET parameters
    Regarding on your query. Follow this below link.
    It will help you.
    Re: Problem with Set parameter ID
    Re: Problem in Set parameter ID
    I Hope it will helps to you.
    Regards,
    Sekhar

  • How to use SET & GET Parameters in Module Pool

    Hi Friends,
    Can anyone please tell how to use SET / GET parameters and PARAMETER ID for a text box (Input / Output field ) in module pool? What is the purpose and where do we need to do coding for it?
    Note : I will definitely give the marks for good responses.
    Thanks in advance,
    Pradeep

    Hi Pradeep,
    You can save values in the SAP memory using a parameter ID. These
    are user and terminal-session specific, but available to all internal and
    external sessions.
    SET Parameter copies the corresponding field contents into the SAP
    System memory in the PAI processing block.
    GET Parameter copies the corresponding field contents from the SAP
    memory at the end of the PBO processing block, after data has been
    transferred from the program, if the screen field still has its initial value
    You can link an input/output field to an area of the SAP memory in the
    ABAP Dictionary.
    When you use an input/output field that is defined in the ABAP
    Dictionary, its parameter ID is displayed in the Dictionary attribute
    Parameter ID in the Screen Painter.
    Usage
    SET PARAMETER ID: ’CAR’ FIELD space,
    ’CON’ FIELD space,
    ’DAY’ FIELD space.
    Here is the link that explains the usage of GET/SET in detail
    <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm</a>
    Regards,
    Sharadha

  • Problem in setting the parameters for an OASingleSelectionBean

    Hi,
    I have created an advanced table, for which I have to allow single selection or mutliple selection according to my requirements ie dynamically. So, for single selection, I have created a OASingleSelectionBean dynamically and add this to my advanced table bean.
    I also want to set Action for the single selection option. I have set the action using
    setPrimaryClientAction() which takes an argument of oracle.cabo.ui.action.FirePartialAction class. Now I also want to pass certain parameters when the single selection event happens.
    For that, I have taken an object of FirePartialAction class and but using the FirePartialAction class .setParameters(oracle.cabo.ui.collection.Parameter[]) function. I am setting the parameters using
    Parameter class object.setKey
    Parameter class object.setValue
    But my problem is that I want the value for the parameters at runtime, for which I intend to use SPEL. But I am not able to use SPEL using the setValue method.
    So it goes like this in short:
    OAAdvancedTableBean.setTableSelection(OASingleSelectionBean)
    OASingleSelectionBean.setPrimaryClientAction(FirePartialAction)
    FirePartialAction.setParameters(Parameter[])
    Parameters.setKey(String)
    Parameters.setValue(String) --- In case of value I want to give SPEL as an argument as I get the value at rutime
    Is that any other way in which I can set the value for the parameters using SPEL?

    Hi,
    I got ur point.
    Although i have never tried.........Can you try using method
    Parameters.setValueBinding(new OADataBoundValueViewObject(<single selectionbean>,<vo attr>))
    In this way without the use of SPEL, you will be able to achieve the functionality!
    Try this and get back to me!
    --Mukul
    Message was edited by:
    Mukul Gupta

  • How does one set databse parameters in Tomcat to run a servlet?

    Hi, I am trying to run a applet-servlet code, downloaded from the web. According to the installation instructions, the following is stated:
    Database Parameters. You can provide different database parameters to the servlet. These parameters are set during the administration of the servlet.
    dbDriver - name of the database driver class name (default = sun.jdbc.odbc.JdbcOdbcDriver)
    dbURL - complete database URL (default = jdbc:odbc:StudentDatabase)
    userid - user id (default = <none>)
    passwd - password (default = <none>)
    I am running TOMCAT on a Windows2000 machine. My question is how to does one set the parameters in TOMCAT. What is the default userid and password for TOMCAT.
    Any help/advise is appreciated in advance. Thanks.Regards.

    May be parameters must be set in web.xml in your war

  • Need help on  ORA-02074: cannot SET NLS in a distributed transaction

    Hi All,
    I am Writing a plsql Code like this
    DECLARE
    op_job_id NUMBER;
    op_object_version_number NUMBER;
    x_job_definition_id NUMBER;
    op_name VARCHAR2(1000);
    L_VERIFY_FLAG VARCHAR2(1);
    l_error_message VARCHAR2(2000);
    BG_ID NUMBER;
    lv_job_group_id APPS.per_job_groups.job_group_id@SYSTEM_LINK_VISMA%TYPE;
    CURSOR C1 IS SELECT * FROM EBS_PER_JOBS_STG;
    BEGIN
    FOR H1 IN C1
    LOOP
    BEGIN
    IF H1.BUSINESS_GROUP_NAME IS NOT NULL THEN
    SELECT BUSINESS_GROUP_ID,job_group_id INTO BG_ID,lv_job_group_id
    FROM APPS.PER_JOB_GROUPS@SYSTEM_LINK_VISMA
    WHERE DISPLAYED_NAME=H1.JOB_GROUP_NAME;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    L_VERIFY_FLAG := 'E';
    l_error_message := 'Entered Job Group Name is Wrong';
    END;
    -->> JOB GROUP ID <<--
    APPS.hr_job_api.CREATE_JOB@SYSTEM_LINK_VISMA
    (p_business_group_id => BG_ID
    ,p_date_from => H1.DATE_FROM
    ,p_approval_authority => H1.APPROVAL_AUTHORITY
    ,p_emp_rights_flag => H1.EMP_RIGHTS_FLAG
    ,p_benchmark_job_flag => H1.BENCHMARK_JOB_FLAG
    ,p_job_group_id => lv_job_group_id
    ,p_job_information1 => H1.JOB_INFORMATION1
    ,p_job_information2 => H1.JOB_INFORMATION2
    ,p_job_information3 => H1.JOB_INFORMATION3
    ,p_job_information4 => H1.JOB_INFORMATION4
    ,p_job_information5 => H1.JOB_INFORMATION5
    ,p_job_information6 => H1.JOB_INFORMATION6
    ,p_job_information7 => H1.JOB_INFORMATION7
    ,p_segment3 => H1.JOB_CODE --JOB_CODE
    ,p_segment6 => H1.JOB_NAME --JOB_NAME
    ,p_job_id => op_job_id
    ,p_object_version_number => op_object_version_number
    ,p_job_definition_id => x_job_definition_id
    ,p_name => op_name);
    dbms_output.PUT_LINE('OUTPUT JOB NAME CREATED : '||op_name);
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.PUT_LINE('Error Message Is: '||SQLERRM);
    END;
    i am running it in Another database Using database link connecting to Apps.
    when i am running it am getting the following Error:
    Error Message Is: ORA-02074: cannot SET NLS in a distributed transaction
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 2423
    ORA-06512: at "APPS.HR_KFLEX_UTILITY", line 2380
    ORA-06512: at "APPS.PER_JBT_UPD", line 468
    ORA-02074: cannot SET NLS in a distributed transaction
    ORA-06512: at "APPS.HR_JOB_API", line 878
    Please help me on this, this is quite urgent to me.
    thanks
    sri

    Please see these docs.
    ORA-02074: Cannot SET NLS in a Distributed Transaction [ID 556391.1]
    Portal Used To Call PO_CHANGE_API1_S: ORA-20001: ORA-02074: Cannot SET NLS In A Distributed Transaction [ID 561246.1]Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    ORA-02074 when Executing set_nls over a DB Link [ID 132679.1]
    Thanks,
    Hussein

  • TO_NUMBER and NLS parameters......don't understand

    I am trying to get my head around the use of format elements and NLS parameters with TO_NUMBER and TBH am at my wits end. So I'm going to start with something simple. I've never bothered or had to bother with the third parameter 'nls params' for NLS settings and now that I have I really regret it.
    This works even though the '.' and ',' characters are not in their normal positions....
    SQL> SELECT TO_NUMBER(  '17.000,23', '999G999D99', 'nls_numeric_characters='',.'' ') FROM DUAL;
    TO_NUMBER('17.000,23','999G999D99','NLS_NUMERIC_CHARACTERS='',.''')
                                                               17000.2
    So why is this version throwing up an error?   (I should say all I've changed is the order of ',' and '.' in the string)
    SQL> SELECT TO_NUMBER(  '17,000.23', '999G999D99', 'nls_numeric_characters='',.'' ') FROM DUAL;
    SELECT TO_NUMBER(  '17,000.23', '999G999D99', 'nls_numeric_characters='',.'' ') FROM DUAL
    ERROR at line 1:
    ORA-01722: invalid number
    Also does the order of characters matter here  'nls_numeric_characters='',.'' ')  ?
    I apologise but when marking code in my spl*plus CLI and trying to paste here as 'SQL insert' lines ended up missing or wrapping or line spacing changing seconds later. I ended up with one line written over the other and the missing lines only being visible when highlighted!!!

    Also does the order of characters matter here  'nls_numeric_characters='',.'' ')  ?
    Of course the order is important. How would you tell the meaning of each character if it wasn't?
    First character is the decimal separator, and the second is the thousand separator.
    Your first query is OK because the decimal separator used in the input string is '.' and the thousand separator is ',', which matches exactly the characters specified in the NLS parameter.
    The second query failed for the opposite reason.

  • How to set oracle parameters

    Hi all,
    how to set oracle parameters in my sap 4.7 server. I need to know the procedure of parameter tune.
    Regards,.
    satish.
    Edited by: satish k on Jun 17, 2008 5:07 AM

    Hi
    Please try this link.
    http://oracle.basisconsultant.com/oracle_tuning_parameters.htm
    http://www.orafaq.com/wiki/Oracle_database_Performance_Tuning_FAQ
    But before doing this, check for all the probabilities as it requires lots of data and traces to do the parameter tuning.

Maybe you are looking for