NLS_LANG VARIABLE

HELLO, I WANT TO KNOW IF IT IS RIGTH TO INSTALL DEVELOPER 6i ENGLISH VERSION AND SET ITS NLS_LANG VARIABLE = LATIN AMERICAN IN REGEDIT, OR INSTALL DEVELOPER 6i SPANISH VERSION AND SET ITS NLS_LANG VARIABLE = ENGLISH, IS THAT WRONG?. WHAT COULD IT HAPPENS?.
THANKS.

Juan,
make sure that you have installed the language supplement files for the language that you want to run your Fors in. This is what would happen:
English supplement files installed
a) NLS_LANG English --> Forms runs with english menu, showing the Forms labels in teh language that the developer created them
b) NLS_LANG Spanish --> Forms runs with english menu labels, all other labels show spanish translations, only if application was translated to spanish before, or language strings defined by the developer
English and Spanish supplement files installed
a) NLS_LANG English --> Forms runs with english menu, showing the Forms labels in teh language that the developer created them
b) NLS_LANG Spanish --> Forms runs with spanish menu labels, all other labels show spanish translations, only if application was translated to spanish before, or language strings defined by the developer
regards Frank

Similar Messages

  • Changing NLS_LANG Variable

    Pls let me know of how to set the NLS_LANG Variable in my Toad Client. I have to do this since i am not able to view the chinese characters in the data

    Hi,
    Try changing NLS_LANG at your machine registry if you are using wondows and then reastart toad.
    On the Windows 2000 / NT environment variables are usually set in the Registry. Every ORACLE_HOME has its own entry in the form:
    HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> HOMEn
    HOMEn, is the value you took out of the Oracle.Key-File (eg: HOME2). To find out, which HOMEn is the correct one for the ORACLE_HOME your application uses, check the ORACLE.KEY file that is located in the $ORACLE_HOME/bin directory. This text file will contain an entry with the relevant HOMEn.
    Regards,
    Deep

  • ORA-02248 and NLS_LANG variable

    Hello,
    My database server environnment variable NLS_LANG is set to
    FRENCH_SWITZERLAND.WE8MSWIN1252
    My client environnment variable NLS_LANG is set to FRENCH_SWITZERLAND.WE8MSWIN1252
    When I try to connect in net managaer, I get the following error :
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02248: invalid option for ALTER SESSION
    If I change the client environnment variable NLS_LANG is to AMERICAN_AMERICA.WE8MSWIN1252
    then the connection in Net Manager works correctly.
    Can someone explain me why I should set "AMERICAN_AMERICA" whereas the server is set to "FRENCH_SWITZERLAND"?
    Thanx!

    This is bug #4598613.
    Fix: upgrade your clients to 10.2.0.3
    Workaround 1: set NLS_LANG to FRENCH_FRANCE and then set ALTER SESSION NLS_TERRITORY=SWITZERLAND inside the program.
    Workaround 2: if you do not need numeric group separator to be single-quote, set NLS_NUMERIC_CHARACTERS to ".," (dot comma) along with NLS_LANG.
    -- Sergiusz

  • PB12.5 - Oracle 11g conenction issue - Failed to get local NLS_LANG charset ID

    Hi Everyone,
    We have recently migrated our OS to windows 7 and orcle client to 11g since then I am getting error "Failed to get local NLS_LANG charset ID" while connecting to Oracle using the IDE. I tried to connect using O10 Oracle 10g and ORA Oracle interface as I dont see anything for 11g; result was same in both cases. Can someone please help to resolve this issue?
    Following are the system details
    OS - Windows 7 62 Bit
    PB - 12.5 Build 2511
    Oracle Client - 11g 32 bit
    Thanks,
    Robin

    Hi Jacob,
    Here is the entry fronm trace log:
    /*                 3/18/2014  14:17                  */
    (2a922fc): DIALOG CONNECT TO TRACE ORA ORACLE:
    (2a922fc): LOGID=dev_testid
    (2a922fc): SERVER=TESTSRV
    (2a922fc): DBPARM=PBCatalogOwner='dev_testid',DisableBind=1,TrimSpaces=1(DBI_DIALOG_CONNECT) (21.246 MS / 21.246 MS)
    (2a922fc): *** ERROR 999 ***(rc -1) : Failed to get local NLS_LANG charset ID.
    (2a922fc): SHUTDOWN DATABASE INTERFACE:(DBI_SHUTDOWN_INTERFACE) (0.001 MS / 21.247 MS)
    NLS_LANG variable set under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\KEY_OraClient11g_home1
    Value in Registry: AMERICAN_AMERICA.WE8MSWIN1252
    Value in SQL PLUS:
    SQL> SELECT USERENV ('language') FROM DUAL;
    USERENV('LANGUAGE')
    AMERICAN_AMERICA.WE8ISO8859P1
    Thanks,
    Robin

  • REP-56048 and NLS_LANG=AMERICAN_AMERICA.UTF8 in Oracle Reports (repost)

    Hello All,
    We're encountering REP-56048 when running any report (including a report consisting of only simple text with chinese characters, no retrieval from any database).
    Before we can run the report but the chinese character cannot be displayed (displayed as inverted "?").
    We then installed locales EN_US and EN_US.UTF-8. We also added export NLS_LANG=AMERICAN_AMERICA.UTF8 in .profile. This is when we encountered the REP-56048 Engine rwEng-0 crashed error.
    Some things to note:
    - we added Tk2Motif*fontMapCs:iso8859-1=UTF8 in Tk2Motif.rgb
    - the font file MING.ttf is in $ORACLE_HOME/reports/printers which is included in the REPORTS_PATH
    - in uifont.ali, we already have a mapping for the font used for chinese characters in font subset section
    - we have set the DISPLAY environment variable in reports.sh, also checked that it is working
    - set REPORTS_DEFAULT_DISPLAY=NO in reports.sh
    - set NLS_LANG variables to AMERICAN_AMERICA.UTF8 in other config files such as opmn.xml
    We have already read metalink document 285281.1(Comprehensive REP-56048 Troubleshooting and Overview Guide). And we're still getting the errors.
    Any help would really be greatly appreciated.
    ( Sorry for the report. I was unsure where to post my problems.)

    This looks like a bug. I'd suggest that you follow up with Oracle Support.
    Regards,
    Danny

  • How to find NLS_LANG parameters are valid

    Hi,
    I have Oracle Application Server 10g installed in Linux machine A.
    and i have installed Oracle Database 10g installed on linux machine B.
    now i have Developer Suite installe in my Windows XP machine and i have developed a fmb file. now i want to compile the fmb file in linux machine A and run the fmx file so the form can access data from database from machine B.
    now i get errors while trying to compile the fmb file and i believe it is because NLS_LANG parameters are not set correctly on either or both machine A, B
    how can i find whether the NLS_LANG are valid.
    and if not valid, how to fix it and fix them to what valid values?
    Can someone help me please.
    Thanks in advance,
    Philip.

    Try this:
    Applies to:
    Oracle Forms - Version: 9.0.4.0
    HP-UX PA-RISC (32-bit)
    Symptoms
    Using f90gen to compile Forms modules generates errors:
    FRM-91500: Unable to start/complete the build.
    F90genm compiles without errors.
    Cause
    The problem is caused by Bad Magic Number for a Shared Library and the missing NLS_LANG variable in the f90gen.sh.
    Solution
    Steps
    ~~~~~
    1. cd $ORACLE_HOME/bin
    chatr +s enable f90gen
    Basically, "chatr" enables or disables LD_LIBRARY_PATH and SHLIB_PATH for the executables.
    2. Set LD_LIBRARY_PATH as follows :
    $ORACLE_HOME/lib:$ORCLE_HOME/jdk/jre/lib/PA_RISC/server:/usr/lib/X11R6:/usr/dt/lib:/usr/lib/
    Set SHLIB_PATH as follows :
    $ORACLE_HOME/lib32:$ORACLE_HOME/forms90/lib:$ORCLE_HOME/jdk/jre/lib/PA_RISC/server:/opt/java1.4/lib:/usr/lib:/usr/dt/lib
    The installation of 10g on HP-UX 64 bit contains two "lib" areas.
    $ORACLE_HOME/lib32 - 32 bit libs
    $ORACLE_HOME/lib - 64 bit libs
    Both of these directories contain libraries of the same name. To ensure that 32 bit executables will be used : Search the 32 bit library directory and set:
    $LD_LIBRARY_PATH - includes $ORACLE_HOME/lib, but not $ORACLE_HOME/lib32
    $SHLIB_PATH - includes $ORACLE_HOME/lib32, but not $ORACLE_HOME/lib
    3. Set a valid value for the NLS_LANG variable.
    eg:
    $export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    4. Verify that the TERM and ORACLE_TERM are set to vt220. If not, set these variables:
    $export TERM=vt220
    $export ORACLE_TERM=vt220
    References
    Note 266731.1 - Troubleshooting FRM-91500 When Compiling/ Generating Forms Modules
    Francois

  • REP-56048 and NLS_LANG=AMERICAN_AMERICA.UTF8

    Hello All,
    We're encountering REP-56048 when running any report (including a report consisting of only simple text with chinese characters, no retrieval from any database).
    Before we can run the report but the chinese character cannot be displayed (displayed as inverted "?").
    We then installed locales EN_US and EN_US.UTF-8. We also added export NLS_LANG=AMERICAN_AMERICA.UTF8 in .profile. This is when we encountered the REP-56048 Engine rwEng-0 crashed error.
    Some things to note:
    - we added Tk2Motif*fontMapCs:iso8859-1=UTF8 in Tk2Motif.rgb
    - the font file MING.ttf is in $ORACLE_HOME/reports/printers which is included in the REPORTS_PATH
    - in uifont.ali, we already have a mapping for the font used for chinese characters in font subset section
    - we have set the DISPLAY environment variable in reports.sh, also checked that it is working
    - set REPORTS_DEFAULT_DISPLAY=NO in reports.sh
    - set NLS_LANG variables to AMERICAN_AMERICA.UTF8 in other config files such as opmn.xml
    We have already read metalink document 285281.1(Comprehensive REP-56048 Troubleshooting and Overview Guide). And we're still getting the errors.
    Any help would really be greatly appreciated.
    Alex

    We are on database version 10.2.0.3
    Solaris 5.10
    #check for character corresponding to a code point
    bash-3.00$ echo '\0351'
    \0351
    select * from nls_database_parameters
    where parameter = 'NLS_CHARACTERSET';
    PARAMETER VALUE
    NLS_CHARACTERSET AL32UTF8
    This is my shell script
    ENV=$1
    # Source oracle's profile
    . /oracle/app/oracle/.profile
    . /oracle/app/oracle/envsettings.sh $ENV
    # set environment
    NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
    FILEDIR=/apps/prod/download/data
    WORKDIR=/oracle
    SQLDIR=/apps/prod/sql
    CTLDIR=/apps/prod/ctl
    USER=prod
    PW=${ORACLE_HOME}/.pw
    # This script creates a fixed length text file
    sqlplus ${USER} @${SQLDIR}/test.sql < $PW
    This is my SQL File test.sql
    set escape \
    set echo off
    set pagesize 0
    set newpage none
    set pause off
    set heading off
    set feedback off
    set space 0
    set term off
    set linesize 2000
    set wrap off
    set tab off
    col code format a2
    col type format a4
    col fund_long_name format a60
    col ratio format 9.99
    col amount format 9.99
    spool KAT.DAT
    select rpad(code,2) code,
    rpad(type,4) type,
    rpad(fund_long_name,60) fund_long_name,
    LPAD(to_char(nvl(ratio,'0'),'FM0.00'),4) ratio
    from test;
    exit
    ~
    $locale -a
    C
    POSIX
    en
    en_CA
    en_CA.ISO8859-1
    en_CA.UTF-8
    en_US
    en_US.ISO8859-1
    en_US.ISO8859-15
    en_US.ISO8859-15@euro
    es
    es_MX
    es_MX.ISO8859-1
    fr
    fr_CA
    fr_CA.ISO8859-1
    iso_8859_1

  • Forms 9i and NLS_LANG

    I cann't run Forms Developer 9i (9.0.2.7.0) with NLS_LANG=AMERICAN_AMERICA.CL8MSWIN1251 and NLS_LANG=RUSSIAN_CIS.CL8MSWIN1251.
    I get FRM-91111 and FRM-10039.
    If NLS_LANG is unset Forms Developer runs, but I cann't use cyrillic text.
    Help me please.
    Oracle 9i DS 9.0.2 for Linux

    Does the problem occur in the Forms development environment or when deploying on teh Web?
    1. Forms development environment
    Forms uses the character set defined in teh NLS_LANG variable. if this does nt exist, then the default character set is used. If a string that shows correct on the database but wrong when rendered in Forms, then this obviously points to a mismatch in the character sets, which leads to Forms trying to show the string with teh character set found on the Forms server.
    2. Forms deployment
    Forms uses Java fonts that are mapped to existing fonts on the server. So if a font is not available in Java, then you must map this font to an equivalent font known by Java. Have a look into the forms90/java/oracle/forms/registry/registry.dat file for more information
    Frank

  • NLS_LANG Issue

    All,
    I installed Oracle 10g v10.1 on to a Windows 2000 server w/ SP4. I can tnsping the database, however when I try to attach to it, I get the following error:
    java.sql.SQLException: ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-553: character set name is not recognized
    I've set the NLS_LANG variable in the following locations:
    Registry --
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1
    NLS_LANG = American_America.WE8MSWIN1252
    Environment Variable -- System Variable
    NLS_LANG = American_America.WE8MSWIN1252
    If I run "SELECT * from NLS_SESSION_PARAMETERS" in sqlplus, I see the correct values.
    PARAMETER
    VALUE
    NLS_LANGUAGE
    AMERICAN
    NLS_TERRITORY
    AMERICA
    NLS_CURRENCY
    $
    PARAMETER
    VALUE
    NLS_ISO_CURRENCY
    AMERICA
    Is there anything I am missing?
    Thanks,

    OK, thin client doesn't read environment variables, you need to verify that the correct drivers are available on CLASSPATH:
    $ORACLE_HOME\jdbc\lib\classes12.zip if JDK 1.2.x or 1.3; $ORACLE_HOME\jdbc\lib\ojdbc14.jar if JDK 1.4 and 5.0; and $ORACLE_HOME/jlib/orai18n.jar ( NLS classes for use with JDK 1.2, 1.3, 1.4, and 5.0)
    From Readme.txt ($ORACLE_HOME/jdbc):
    The JDBC Server-side Internal Driver provides complete NLS support.It does not require any NLS extension jar file. Discussions in this
    section only apply to the Oracle JDBC Thin and JDBC OCI drivers.
    The basic jar files (classes12.jar and ojdbc14.jar) contain all the
    necessary classes to provide complete NLS support for:
    - Oracle Character sets for CHAR/VARCHAR/LONGVARCHAR/CLOB type data
    that is not retrieved or inserted as a data member of an Oracle
    Object or Collection type.
    - NLS support for CHAR/VARCHAR data members of Objects and
    Collections for a few commonly used character sets. These
    character sets are: US7ASCII, WE8DEC, WE8ISO8859P1, WE8MSWIN1252,
    and UTF8.
    Users must include the NLS extension jar file
    ([ORACLE_HOME]/jlib/orai18n.jar) in their CLASSPATH if utilization of
    other character sets in CHAR/VARCHAR data members of
    Objects/Collections is desired. The new orai18n.jar replaces the
    nls_charset*.* files in the 9i and older releases.>
    Enrique

  • NLS_LANG question

    Even I have read a couple of articles about how to set up NLS_LANG variable, but still not very clear how to set it up.
    For example, if I am doing an exp on a NT machine, what should I set it to.
    If I am doing an exp on HP-UX, what it should be set to then? I understand this variable should be decided by the machine on which you are doing the work, but how to find out which character set for which machine?

    You should look at the client character set... this determines what you should use for the char set part of NLS_LANG. It really depends on the app or the data input/output expected.
    For export you should generally use the char set of the server (database) all the way, as to minimize the number of conversions oracle has to do. (From 9i I think this is done automatically for non-dictionary data.)
    I recommend that you read the NLS_LANG FAQ!

  • Printer- custom report not printing

    HI,
    Apps 11.5.10.2
    RDBMS 9i
    Am able to get print from appliaction for stanadard reports.
    If i give custom report.. its printing but content is not same as output..
    OUTPUT is coming in one line..
    %PDF-1.1
    1 0 OBJ
    << 0
    /Creator (Developer 2000)
    etc
    Thanks

    HI,
    Am getting output like follwing
    Please run the test in (Note: 264118.1 - 11i : Pasta Pasta Printing Setup Test) to verify that PASTA is configured properly.------------- Test Result Summary -------------
    Total Tests: 1
    Success Count: 0
    Error count: 1
    Test Names Status
    oracle.apps.izu.fnd.diag.FNDPastaDiag Succeeded with Warnings
    ----------- End Test Result Summary -----------
    ============= Test Result =============
    Test Class Name: oracle.apps.izu.fnd.diag.FNDPastaDiag
    Application Code: FND
    Group Name: Setup
    Status: Succeeded with Warnings
    Time: 2010-07-06 11:57:07.0
    Time Consumed: 8154
    Test Version: 115.8
    Tool Version: 115.131
    Install Version: Base: none Upgrade: none
    Mode: 1
    Index: 1
    Tested Class Name Tested Class Version
    oracle.apps.izu.fnd.diag.FNDRequestIDLov 115.4
    oracle.apps.jtf.regress.qatool.base.DBUtility 115.1
    oracle.apps.jtf.regress.qatool.base.DiagBase 115.2
    oracle.apps.jtf.regress.qatool.base.FileUtility 115.1
    oracle.apps.jtf.regress.qatool.base.HRInfo 115.0
    oracle.apps.jtf.regress.qatool.base.OSUtility 115.5
    oracle.apps.jtf.regress.qatool.base.SessionHelper 115.0
    oracle.apps.jtf.regress.qatool.fnd.FNDUtility 115.10
    Input Names Input Values
    Responsibility ID 50300
    Request Id 320444
    Diagnostic Test Executed By SYSADMIN
    Dependent Class Names
    Report:
    Oracle Diagnostics Information Product Installation Status and Patchset Level Parameters
    Generic Tests Language Information Pasta Driver Settings
    Concurrent Node Environment Variables Pasta Viewer Settings to View Bi-Directional Reports Bi-Directional Specific Settings
    Retrieving Log and Configuration Files for Support References
    Database Information [Top]
    Server = rofdbs5
    Version = Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    Name/SID = STAGE
    Language = AMERICAN
    Character Set = US7ASCII
    Application Information [Top]
    Release = 11.5.10.2
    Application = Projects (275) with status of INSTALLED
    Responsibility = RI_Projects Superuser (50300)
    MultiOrg Flag = Y
    Operating Unit = RI Operating Unit (104)
    Security Group = Standard
    Oracle Diagnostics Information [Top]
    Patch Oracle Diagnostics 2.5 RUP A (5914893) is installed
    Patch Oracle E-Business Suite 11i Diagnostic Tools, Nov 2008 - 8.11 (7530017) is installed
    Metalink Document Id = 264118.1
    Product Installation Status and Patchset Level [Top]
    Application Short Name Id Installation Status Patch Level
    Application Object Library FND 0 Installed 11i.FND.H
    Applications DBA AD 50 Shared 11i.AD.I.6
    System Administration SYSADMIN 1 Installed Not Available
    XML Publisher XDO 603 Not Installed 11i.XDO.H
    4 rows retrieved
    Parameters [Top]
    Username = SYSADMIN
    Responsibility = RI_Projects Superuser (50300)
    Request Id = 320444
    Generic Tests [Top]
    Node Information
    Tiers = Admin, Web, Forms, Concurrent
    Pasta Executable Version
    Version = 3.0.4.0(patch
    Oracle Reports Version
    Detected version 6.0.8.28.0 is >= expected version 6.0.8.18
    Language Information [Top]
    Installed Languages
    Language Code Installed Flag NLS Language
    US Base AMERICAN
    1 row retrieved
    Database Character Set
    Database character set = US7ASCII
    Pasta Driver Settings [Top]
    Printer Name = CD1230
    Printer Style = PORTRAIT
    WARNING - Driver PORTRAITHPLJ3-A4 is not defined for pasta printing
    ACTION - For pasta printing please modify printer driver PORTRAITHPLJ3-A4 to have FNDPSTAX as program.
    Reference: Oracle Applications System Administrator's Guide
    Pasta PrintForms
    The printforms feature is not used. To insert a company logo or background image in a concurrent report please refer to PASTA 3.0 Release Information
    Pasta Configuration File
    The pasta executable chooses the non default configuration file defined as a driver argument '-F' using the following rules (in the following order):
    1. Configuration file associated to the specific printer
    2. Configuration file for all the printers
    Current settings
    The PASTA variable is not set
    The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta_CD1230.cfg' does not exist
    The file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' exists
    Configuration file in use = /stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg
    Concurrent Node Environment Variables [Top]
    NLS_LANG Variables
    Database = AMERICAN_AMERICA.US7ASCII
    OS environment = AMERICAN_AMERICA.US7ASCII
    Concurrent Request = AMERICAN_AMERICA.US7ASCII
    Pasta Environment Variables
    LANG =
    PASTA =
    IX_PRINTING =
    IX_RENDERING =
    APPLLCSP Environment Variable for Bitmap Report Printing
    APPLLCSP =
    Pasta Viewer Settings to View Bi-Directional Reports [Top]
    Bi-Directional Mime Type
    WARNING - The mime type 'apps/bidi' is missing
    ACTION - Create a new mime type as mentioned in the PASTA Users Guide 3.0. See also PASTA 3.0 Release Information
    Profile Options
    Viewer: Application for Text (FS_MIME_TEXT) = null
    Viewer: Text (EDITOR_CHAR) = Browser
    Bi-Directional Specific Settings [Top]
    The current database character set does not require bi-directional settings
    Retrieving Log and Configuration Files for Support [Top]
    Adding file '/stageAPP/stageappl/fnd/11.5.0/resource/pasta.cfg' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    This test cannot get the IX Library configuration file (ixlib.cfg) because environment variable IX_PRINTING is not set. For more information see note Oracle Reports 6i Setup Guide for Oracle Applications 11i
    This test cannot collect the IX Display configuration file (ixlib.cfg) because environment variable IX_RENDERING is not set. See note Oracle Reports 6i Setup Guide for Oracle Applications 11i
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uiprint.txt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/Tk2Motif.rgb' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageora/8.0.6/guicommon6/tk60/admin/uifont.ali' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stageappl/fnd/11.5.0/reports/HPP.prt' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stagecomn/admin/log/STAGE_rofdbs5/l320444.req' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Adding file '/stageAPP/stagecomn/admin/out/STAGE_rofdbs5/o320444.out' to '/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip'
    Please upload the generated output file (/stageAPP/stageappl/izu/11.5.0/out/PastaPrinting.zip) when creating the service request
    References [Top]
    Note 239196.1 PASTA 3.0 Release Information
    Note 240864.1 Activating and Configuring IX Library
    Note 189708.1 Oracle Reports 6i Setup Guide for Oracle Applications 11i
    If you are experiencing any issues regarding this diagnostic test, please use Metalink to log an iTAR (Service Request) for product "Support Diagnostics Project" (ID=1332).
    If you have any question related to support diagnostic tools (installation, execution, usage or availability), you can ask us using the Support Diagnostics Project forum on Metalink.
    We would also appreciate your feedback regarding the usefulness of this test, however, there will be no replies to feedback emails.
    Error Message: 0 errors and 2 warnings were found.
    Fix Info: Please review the test summary for more information.
    ============ End Test Result ============

  • SQL query not retrieving special characters in like O', M÷ and û

    Hi,
    I have a sql script to query database. The output is a string. When I execute this script through a Korn shell script to send the query result to a .csv file, it is showing some characters of the output as below.
    The characters O’ is displayed as ?
    The characters M÷ is displayed as ?
    The characters û is displayed as u
    I am able to retrieve the data as it is while running the script through SQL * Plus and spooling the output to a .csv file.
    If anybody is having solutions for this please reply.
    Thanks in advance for your kind help
    Regards,
    Sreesha
    Edited by: user530278 on Oct 18, 2008 2:56 PM

    user530278 wrote:
    Hi,
    I have a sql script to query database. The output is a string. When I execute this script through a Korn shell script to send the query result to a .csv file, it is showing some charcters of the output as below.
    The characters O’ is displayed as ?
    The characters M÷ is displayed as ?
    The characters û is displayed as uThis sounds like an NLS client setting issue.
    Note that there are scenarios where the data is "incorrectly" stored in the database but can be retrieved "successfully" from some clients. This is the case if you specify the same character set at your client as you have as database character set and this client character set setting is wrong, which means you ought to have specified a different client character set than you have in the database.
    Specifying the same character set on client and server prevents any conversion from taking place, so as long as the database can store the data (e.g. multi-byte characters won't be stored correctly in single-byte character set database no matter what you do) it will be stored "as is". If you now retrieve the data using the same setting, it looks correct, but if you use a client with a different character set setting that requires conversion the data will be mangled.
    The database character set can be identified using the dictionary view NLS_DATABASE_PARAMETERS, parameter "NLS_CHARACTERSET".
    The client character set can be identified by issuing the following at the SQL*Plus prompt:
    SQL> @[%NLS_LANG%]You'll get a message similar to:
    "Unable to open file [AMERICAN_AMERICA.WE8MSWIN1252]"
    The string after the dot represents the client character set.
    If you get this:
    Unable to open file "[%NLS_LANG%]"
    then the NLS_LANG client setting is undefined.
    Please follow this very useful link regarding client NLS issues and how to resolve them, in particular to determine what is your correct client NLS_LANG setting:
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    I am able to retreive the data as it is while running the script through SQL * Plus and spooling the output to a .csv file.You mean that when using SQL*Plus interactively the data is shown/spooled correctly, whereas if you run a script non-interactively then the data is mangled?
    Note that if you e.g. use "cron" to schedule/execute your script that you need to take care of the Oracle specific environment variables yourself because no logon scripts are executed when cron forks the process to run. May be you need to define the NLS_LANG variable explicitly or call/source the corresponding script to define your default Oracle environment that includes the NLS_LANG setting.
    It probably depends on your environment, operating system, etc. and how you set the Oracle specific settings, e.g. environment variables under Unix, registry settings under Windows etc.
    Use the above mentioned check regarding NLS_LANG setting in the different cases that you encounter to get started.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Oracle 8.1.7 + RedHat 7.3 installation success

    After several days of work, I succeded in installing Oracle 8i on RedHat 7.3.
    1)You can proceed like usual for the account + groups creation.
    2)Make the oracle directory.
    3)This is what i add in my /home/oracle/.bash_profile
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    unset LANG
    unset LC_CTYPE
    unset RC_TYPE
    export LD_ASSUME_KERNEL=2.2.5
    source /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
    ORACLE_HOME=/u01/app/oracle/product; export ORACLE_HOME
    LD_LIBRARY_PATH=/u01/app/oracle/product/lib; export LD_LIBRARY_PATH
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_SID=LNX; export ORACLE_SID
    ORACLE_TERM=vt100; export ORACLE_TERM
    export NLS_LANG=french_france.WE8ISO8859P15
    PATH=$PATH:/u01/app/oracle/product/bin; export PATH
    4)This is the package you MUST have!! (there are all on CDS - 7.3. On my computer there were already installed except the third)
    compat-libstdc++-6.2-2.9.0.16
    compat-glibc-6.2-2.1.3.2
    compat-libs-6.2-3
    compat-egcs-6.2-1.1.2.16
    5) You must edit your file /etc/hosts and add the line of your global database name. My SID is LNX so my global database name is LNX.mathias.pc because mathias.pc is my domain. This is my /etc/hosts:
    [root@lnx math]# more /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 lnx.mathias.pc lnx localhost.localdomain localhost LNX.mathias.pc
    192.168.0.2 LNX.mathias.pc
    6) I also download jre_1.1.6-v5-glibc-x86.tar.gz and install it in /usr/local.
    7) I runed the installer under oracle. Choosed custon installation and didn't select "oracle intermedia component" because it's buguy.
    8)Installation OK
    9)Link OK
    10)Net-8 assistant (default choice) OK
    11)execute patchset in $ORACLE_HOME OK
    12)Type "dbassist" under oracle to create your database (choosed default copy from cdrom) OK
    END
    If you do not proceed like this you'll get error ORA-03113 or ORA-03114 & file control error during the database creation assistant.
    Have a nice day
    Mathias From France

    I figured this out by reading the 6.1 installation guide. However, the NLS_LANG variable is not correct for 8.1.7 as the guide was written for 8.1.5.
    Looks like I was missing the ORACLE_TERM, ORA_NLS33 variables.
    Hope this helps someone else!
    Tige

  • Problem Creating Oracle Database

    I installed Oracle 8.1.5.0.1 on intel Linux Red Hat 6.2.
    When I go to server manager and I run by create database script I get an error Oracle
    not logged on.
    If somebody cab help me out of these, its highly appreciated.
    Thanks
    deba

    Once I get to Configuration Tools - Oracle Database Configuration Assistant, there is an error ... NLS_LANG environment variable incorrectly defined. Remove the variable from the environment or set it to a correct value. I originally had NLS_LANG='english_united kingdom.we8iso8859p1' then I changed it to NLS='AMERICAN.AMERICA.US7ASCII', finally I completely removed the NLS_LANG variable - still I get the same error message. Any help would a greatly appreciated =)

  • Viewing Chinese Characters / Encoding setting in SQL Developer

    Hi all,
    I am new to SQL Developer 1.1. I have just downloaded the tool yesterday.
    I have a table where there "should" be chinese characters in a NVARCHAR2 column. But I see only inverted question marks when displaying that data in SQL Developer.
    I know from a ressource on the web, that SQL Developer is able to display chinese characters ( see http://awads.net/wp/2006/07/06/sql-developer-and-utf8/ ).
    The NLS_NCHAR_CHARACTERSET is set to AL16UTF16; the NLS_CHARACTER_SET is set to WE8ISO8859P1.
    The encoding under Tools->Preferences->Environment is set to "Cp1252".
    What is actually the influence of this Encoding setting and do I have to make changes to that to view the data?
    In addition I have to admit, that we actually do not really know if the data entered the DB correctly, that is as chinese characters. Maybe there have occured conversion errors that were made in a application that writes the data into the database. Actually I want to verify that. So, if I have the right settings configured which should be fine to see chinese characters and then I see only inverted question marks I can conclude that the data actually entered the database corrupted and the error is not an display issue with SQL Developer but rather an error in the application that writes the data to the database.
    Thanks to any answers in advance!
    Regards,
    Philipp Hinnah

    Hi,
    Am able to view chinese characters in VARCHAR2, FUNCTIONS & PROCEDURES.
    My Settings are :
    1. Developer encoding is X-ORACLE-AL32UTF8.
    2. Control Panel :
       Regional& Language Options:
                Standard & Format = English (US)
                Location                 = US
                Under Advanced = China (PRC)
            System :
                Environmental Varaibles
                  Variable Name  = NLS_LANG
                  Variable Value = SIMPLIFIED CHINESE_CHINA.ZHS16GBK 3. Windows Registry for oracle's NLS_LANG all using
    SIMPLIFIED CHINESE_CHINA.ZHS16GBK.
    4. Oracle database when creating using SIMPLIFIED CHINESE_CHINA.ZHS16GBK
    and AL32UTF8.
    HTH
    Zack

Maybe you are looking for

  • Unit CS is not created in EN error

    Hi Gurus, After activating the datasource and trying to preview the data I got the ff error: Unit CS is not created in EN Can anyone pls help how to go round this issue. Also I would be grateful  if   someone can help me to create a routine to multip

  • Compaq Presario SR1235IL Installation Problem

    Sir, I am using Compaq Presario SR1235IL Desktop PC from last few years.  Present Display Chip problem in Mother Board I have install new Display Card, After install the Display Card trying to system is install new OS, but, after coping the system fi

  • Problem completely uninstalling Photoshop  Elements 10

    How do I completely uninstall Photoshop Elements 10?  I have already gone to the uninstall program, and it uninstalled it, however it is stil on my computer.  When I go to Adobe it is still there, when I try to delete it, this is the message that I g

  • HT203180 Cannot watch video on Dropbox on iPad

    I cannot get my Dropbox video that was shared to me to work. Any help or suggestions please

  • Gray applet background

    This question as been posted numerous times, but noone one has provided a solution that works. It has to do with getting rid of the infamous gray background when initially loading an applet. the setbackground() function only changes the background af