Pro*C using Oracle 11g - ld: 0711-317 ERROR: Undefined symbol: .sqlcxt

Hi
We we are migrating from oracle 10g to 11g and AIX 5.3 to AIX 6.1. When I run the make file I get the following link errors. Note the 10g system is running using 32bit libs, and the new system is runing the 64bit libs.
makegmake -f Makefile.all all SYSTEM=rs6k CC="cc_r" LINKER="cc_r"
cc_r -lclntsh -L/wfm/usr/oracle/product/11.2.0/db/lib /home/Builds/CommonLib/Lib/AIX/cuCommonLib.a TagCommonLib/tagCommonLi
b.a ObjFiles/TagDailyStats.o ObjFiles/TagCreate.o ObjFiles/EventLogMessageFormat.o ObjFiles/TagHeartBeatMsg.o ObjFiles/TagWriteTimingLog.o ObjFiles/Ta
gGenMain.o -o TagTG
ld: 0711-317 ERROR: Undefined symbol: .sqlcxt
ld: 0711-317 ERROR: Undefined symbol: .sqlglm
ld: 0711-317 ERROR: Undefined symbol: .sqlbuft
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake: *** [TagTG] Error 8
make: 1254-004 The error code from the last command is 2.
After reading some of the ideas on the web, I added the following options, -lsql11 -I/wfm/usr/oracle/product/11.2.0/db/precomp/public, but got the same error.
> make
gmake -f Makefile.all all SYSTEM=rs6k CC="cc_r" LINKER="cc_r"
cc_r -lclntsh -lsql11 -I/wfm/usr/oracle/product/11.2.0/db/precomp/public -L/wfm/usr/oracle/product/11.2.0/db/lib /home/Buil
ds/CommonLib/Lib/AIX/cuCommonLib.a TagCommonLib/tagCommonLib.a ObjFiles/TagDailyStats.o ObjFiles/TagCreate.o ObjFiles/EventLogMessageFormat.o ObjFiles
/TagHeartBeatMsg.o ObjFiles/TagWriteTimingLog.o ObjFiles/TagGenMain.o -o TagTG
ld: 0711-317 ERROR: Undefined symbol: .sqlcxt
ld: 0711-317 ERROR: Undefined symbol: .sqlglm
ld: 0711-317 ERROR: Undefined symbol: .sqlbuft
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake: *** [TagTG] Error 8
make: 1254-004 The error code from the last command is 2.
Can anyone please suggest to me what I am doing wrong .
Thanks,
Jim

Hi,
I'm experiencing the same problem, thank you for your 32 bit tip.
I installed InstantClient for 64bit and didn't find any of the sql??? functions.
http://download.oracle.com/otn/linux/instantclient/112010/oracle-instantclient11.2-precomp-11.2.0.1.0-1.x86_64.zip
After that I installed the 64 bit client with universal installer, sql*plus, programmer and OCI packets, got lots of errors, cause I have not the official distribution and scripts are partly wrong.
T24-SMS-1:/usr/lib# uname --all
Linux T24-SMS-1 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010 x86_64 GNU/Linux
Then again I searched for sql??? functions sqlcxt I took and found them: (Note: they were not present with the instantclient distri with proc libraries
T24-SMS-1:/usr/lib# find /home/sms/instantclient_11_2/lib -type f -exec grep -H -i sqlcxt {} \; | grep Binary
Binary file /home/sms/instantclient_11_2/lib/libsql11.a matches
Binary file /home/sms/instantclient_11_2/lib/liborasdk.so.11.1 matches
Binary file /home/sms/instantclient_11_2/lib/libsrvmhas11.so matches
Binary file /home/sms/instantclient_11_2/lib/libclntsh.so.11.1 matches
Binary file /home/sms/instantclient_11_2/lib/libsqlplus.a matches
After that I again got the same errors. I will try the 32 bit distribution and I hope I will find some header file with sql??? functions in it.

Similar Messages

  • JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..

    JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
    I am getting below error when i m trying to access oracle db using oracle 11g client. It works with earlier oracle client versions. how do i resolve this. is there any issue with version of ojdbc6.jar that i am using??? I cant use thin driver since its an old application for which i dont have source files.
    Apr 6, 2013 1:00:59 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at PettyCash.SysDate.getSysSubSys(SysDate.java:232)
    at org.apache.jsp.PettyCash.index_jsp._jspService(org.apache.jsp.PettyCash.index_jsp:186)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Code is as follow for reference
    import oracle.jdbc.driver.*;
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    conn = DriverManager.getConnection ("jdbc:oracle:oci8:@" + database,db_user, db_pass);
    eNVIRONMENT VARIABLES set are as follows:
    classpath
    C:\Program Files\apache-tomcat-5.5.12\common\lib\servlet-api.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\classes12.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\ojdbc6.jar;
    JAVA_HOME
    C:\Program Files\Java\jdk1.5.0_04
    PATH
    C:\Program Files\Java\jdk1.5.0_04\bin
    ORACLE_HOME
    D:\Oracle11\product\11.2.0\client_1\BIN

    Apr 8, 2013 5:24:06 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at org.apache.jsp.abc.index_jsp._jspService(org.apache.jsp.abc.index_jsp:280)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

  • Connect to Oracle 9i server using oracle 11g client

    Hi,
    my oracle 9i server is on unix machine.
    I got new Window 7 64 bit machine for .NET code development(framework 4.0).It is having Oracle 11G installed.I am getting oracle connection error while running .NET application.
    what changes (connection string/tnsnames.ora/others) will I have to do to connect Oracle 9i server using oracle 11g client ?

    Hi,
    Please post the complete error stack you are getting.
    Regards
    Yoonas

  • Can I use Oracle 11g Developer tools with 10G and XE

    Hi, I want to use Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio with 10g and Xe . Will there be any issues. I want to do so because I am not able to see Oracle Database project in Visual Studio when I install Oracle 10 g developer tools wherein I see that in Oracle 11g developer tools. Please suggest.

    No there are no issues. Just be sure to install ODT in a separate location than where XE is installed.

  • Using Oracle 11g How to change the Log mode from NoArchieve to Archieve Log

    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandana

    user11225122 wrote:
    Hi,
    I currently using oracle 11g How can I change database from NoArchivelog node to Archivelog node using spfile.
    And where exactly the spfile will be located?
    My instance is EPM11 in my local oracle is present in D folder where can i found the pfile?
    In this path i found 1 pfile in my Local Machine
    "D:/Oracle/Product/11g/admin/epm11/pfile" .I have added the following commands in this pfile
    # Archive Log Destinations -benr(10/15/04)
    log_archive_dest_1='location=/u02/oradata/cuddle/archive'
    log_archive_start=TRUE
    Then i have ran the shutdown command.
    Database instance is showtdown.
    After that i am not able to perform startup.
    So please suggest me how to change the mode using SPfile and tell me the path where spfile and pfile should be located?
    And also do i need to set the "Oracle_Home" path in my environment variables"
    Thanks In Advance,
    Chandanaremove log_archive_start=TRUE from pfile (it is depricated from 10g onwards)
    SQL>startup nomount pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>Create spfile from pfile="D:/Oracle/Product/11g/admin/epm11/pfile/initYOUR_SID_NAME.ora"
    SQL>SHUT IMMEDIATE;
    SQL>STARTUP MOUNT
    SQL>ALTER DATABASE ARCHIVELOG;
    SQL>ALTER DATABASE OPEN;
    SQL>ARCHIVE LOG LIST;
    SQL>SHOW PARAMATER SPFILE;
    YOU WILL FIND THE LOCATION OF SPFILE
    SQL>

  • Not able to debug procedure using oracle 11g & toad 9.0.1.8

    hi..
    i m using oracle 11g & toad 9.0.1.8 ..i want to debug procedure , i set parameter, but not able to debug procedure , there is 'debug' option, but that option is disable..
    can u plz help me regarding this..
    can u suggest me another tool where i can debug my procedure..
    thanx..
    Edited by: user10502250 on Jun 22, 2009 4:15 AM

    "Help, About" should list the installed options, and "Debugger" should be in the list otherwise you'll need an expensive upgrade or a change of IDE.
    In TOAD you have to open the source code editor, at which point the debugging options should be accessible. You can either set a breakpoint and hit the 'Execute' lightening symbol, or place the cursor at a suitable point in the code and press F12.
    I'm not completely sure how you are supposed to pass runtime parameters but it may be to do with right-click, Action Console, Execute, which brings up a 'Set Parameters' dialog. However this won't run in debug mode, it just runs and remembers the arguments. I don't really get it. As you can probably tell I'm not a great fan of the product. Have you looked at PL/SQL Developer?

  • Displaying Chinese Character in Oracle Form 6i using Oracle 11g Database

    Hi,
    Please, can anyone send me the solution for displaying the Chinese characters in Oracle Form 6i using Oracle 11g database and also
    the configuration that has to be implemented.Its urgent.
    Thank You,
    Sridhar.T

    displaying the Chinese characters in Oracle Form 6i using Oracle 11g database I'm afraid you might have problems... see Implementing Chinese language in Oracle 11g

  • Pro*C with Oracle 11g

    Hi !
    I didn't find a forum specific to pro*c, so here i am because i was told this forum had a bit of pro*c activity....
    I've downloaded Oracle 11g and recompiled our applications using pro*c
    We currently precompiling without any problem our sources against Oracle 7, 8, 9, 10.
    With Oracle 11g, it doesn't work !
    every EXEC SQL followed by a command works.
    every EXEC SQL followed by a query generates the same error.
    Example :
    char *oracle_date_courante()
    static char buf[SIZE_ORADATE+1];
    EXEC SQL SELECT sysdate into :buf from DUAL;
    if(ORA_SQLERROR())
    oracle_error("sélection date courante");
    buf[0]=0;
    return buf;
    PRO*C output :
    Erreur Ó la ligne 105, colonne 2 dans le fichier src\oracle.pc
    EXEC SQL
    .1
    PLS-S-00000, SQL Statement ignored
    erreur sÚmantique Ó la ligne 105, colonne 2, fichier src\oracle.pc:
    EXEC SQL
    .1
    PCC-S-02346, PL/SQL a trouvÚ des erreurs sÚmantiques
    So, we investigated... And found that thoses errors come when we use the option sqlcheck=semantics.
    If we use an inferiour check level, it works but because we use PL/SQL keywords, pro*c prints errors and wants us to provide the 'semantics' sqlcheck level !
    So, it's a vicious circle !
    Any ideas ?
    Thanks...
    Vincent

    Adding the option common_parser=yes removes the errors !
    But brings errors linked to the PL/SQL parser such like
    CSF-S-00000, ORA-06544: PL/SQL : erreur interne, arguments : [55916], [], [], []
    1>, [], [], [], []
    1>ORA-06553: PLS-801: erreur interne [55916]
    Really vicious..and still not precompiling !
    By the way : Server is 10.2.0.1... and i guess thoses errors are normal since the common parser is not available in this version...
    So bye bye option common_parser and i'm back to my orignals errors.
    Message was edited by:
    Vicenzo

  • Image not displaying in pdf report using XSL-FO and using Oracle 11g databa

    Good Afternoon,
    I have created over 15 reports using XSL-fo, with the following syntax to display an image on the pdf:
    fo:block margin-left="0.24cm" margin-right="0.27cm" margin-top="0.0cm" ><fo:external-graphic content-width="scale-to-fit" content-height="scale-to-fit" width="1.73cm" height="1.57cm" >
    <xsl:attribute name="src">'url("http://readiness:7780/i/marforcom_symbol_rpts.gif")'</xsl:attribute></fo:external-graphic>
    </fo:block>
    This syntax works fine when using Oracle 10g, now my database has been upgraded to 11g and my image no longer displays in the reports. I have already upload the image into the database as a workspace image.
    I have tried to point the image @ the image by using url(#WORKSPACE_IMAGE#marforcom_symbol_rpts.gif)
    or <img src ="#IMAGE_PREFIX#marforcom_symbol_rpts.gif")
    and it still doesn't work.
    I have searched this forum trying to come up with a solution that will fix my problem and am unable to.
    Current config: Oracle 11g, using pl/sql gateway.
    I need to know how to point the xsl-fo file to the database, where the image now resides.
    Thanks,
    Mary
    Edited by: MaryM on Jul 25, 2012 3:15 PM
    Edited by: MaryM on Jul 25, 2012 3:51 PM

    Hi,
    I think you need load images to database XDB virtual directory /i/ and then use #IMAGE_PREFIX# substitution.
    This might help to access /i/
    http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html
    Or use this to load images
    http://oracleinsights.blogspot.fi/2012/05/loading-images-into-oracle-xdb.html
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Is it alright to use Oracle 11g DB for Oracle Service Registry 10.3 ?

    Hi,
    I have setup Oracle Service Registry 10.3 with Weblogic Server 10.3 and Oracle database 11g.
    I used the ojdbc6.jar as the jdbc driver.
    Installation went smoothly, and I have done the necessary post-installation modification to the startWeblogic.sh
    However when I start the weblogic server, it throws
    org.idoox.wasp.WaspInternalException: java.lang.RuntimeException: Updates to config files not supported
    at com.systinet.wasp.WaspImpl.boot(WaspImpl.java:399)
    at org.systinet.wasp.Wasp.init(Wasp.java:151)
    at com.systinet.transport.servlet.server.Servlet.init(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    Truncated. see log file for complete stacktrace
    java.lang.RuntimeException: Updates to config files not supported
    at com.idoox.config.xml.XMLConfigurator.updateConfigFile(XMLConfigurator.java:720)
    at com.idoox.config.xml.XMLConfigurator.prepareConfigFile(XMLConfigurator.java:570)
    at com.idoox.config.xml.XMLConfigurator.init(XMLConfigurator.java:420)
    at org.idoox.config.Configurator.init(Configurator.java:64)
    at com.systinet.wasp.WaspImpl.boot(WaspImpl.java:357)
    Truncated. see log file for complete stacktrace
    When i tried to access the console (http://[host:port]/registry/uddi/web), it returns 500 error, along with the above error message.
    Did I miss something or OSR 10.3 cannot be used with 11g db?
    Thank you in advance,
    yee thian

    For questions like this you should always consult the certification matrix: http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html

  • Error running universall installer using Oracle 11g on Windows server 2003

    Hi,
    I want to uninstall Oracle 11g on Windows server 2003 and when I run universall installer I receive the following error
    Checking swap space: 0 MB available, 500 MB required.
    Please advise how to resolve this error and the procedure to uninstall Oracle 11g on Windows server 2003
    Thanks,
    Ant

    Hi;
    For swap problem, please check:
    Swap space problem on Windows XP
    http://www.pcnineoneone.com/howto/swpfile1.html
    For remove process please check:
    Oracle 11g on Windows Srv 2003
    WIN: Manually Removing all Oracle Components on Microsoft Windows Platforms [ID 124353.1]
    Regard
    Helios

  • Oracle 11G javaw Universal Installer error

    Hey all,
    I'm trying to install Oracle 11G on XP Pro and I'm having all sorts of problems. I downloaded the complete installer:
    <b>Oracle Database 11g Release 1 (11.1.0.6.0)</b>
    and I receive the following error when I attempt to install:
    <b>The Java RunTime Enviroment was not found at bin/javaw.exe. Hence, the Oracle Universal Installer cannot be run. Please visit http://www.javasoft.com and install JRE version 1.3.1 or higher and try again.</b>
    I installed JRE 1.4.2.18 rebooted the computer and tried to install again and still recieved the same error.
    I checked the path to javaw.exe in the Java Control Panel and the path is there. I even disabled the one that was created with the install and still no luck.
    I saw something in the fourms about the need to disable your firewall because the Oracle Installer writes to the registry. I am running Macafee and have disabled my firewall and still no luck.
    Finally, back to the Java Control Panel. Under the "Java tab" --> then clicking the "view" button under the "Java Application Runtime Settings" there are two tabs, "User" and "System" that show paths for the Java software location on the system. Under the "user" tab there are two entries for the JRE 1.4 and 1.6 platforms, but only one entry (1.6) under the "system" tab, with no way for me to add a path to that tab. Please note I am using an Administrator account
    Thanks for any assistance

    Hmmm...you downloaded the entire .zip file and checked the length?
    You unzipped the file with directory structures intact?
    You ran the setup file at the top of the unzipped directory strucure?
    You read the installation manual and made sure all prerequisites for installation are met?

  • Windows 7, Oracle 11g Client Post-Installation Error

    Hello all--
    Background Info:
    - I have installed Oracle 11g Client (32-bit) on my Windows 7 Professional (32-bit) workstation.
    - The ORACLE_HOME directory (in my case C:\Oracle\Ora11g) is in the PATH environment variable.
    - I have created TNS_ADMIN as an environment variable that points to a network folder that contains our tnsnames.ora and sqlnet.ora.
    - I can tnsping our servers and sqlplus connects without issue.
    - I am logged in as a regular network user (added into the local Administrators group on my machine).
    The problem is that I cannot connect using a user or system DSN in the Microsoft ODBC Administrator, BUT, I can connect with a DSN when I am logged in with the local Administrator account. I have verified the DSNs are setup correctly. The error I get is the ORA-12154 error.
    Here is the exact error as it appears:
    Unable to connect
    SQLState=08004
    [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
    If I copy the tnsnames.ora file from the network to my machine and remove/redirect TNS_ADMIN to the %ORACLE_HOME%\NETWORK\ADMIN folder, it works with my user account.
    Any thoughts?
    Thanks!
    Matt

    Hi All--
    I figured out what the problem was and I wanted to share what our solution was.
    Basically, when you open the Microsoft ODBC Administrator in Windows 7, it has to run with elevated privileges and loads the Administrator profile. Our tnsnames.ora and sqlnet.ora files are on a network share that we map to a drive letter for all users across our organization. The Administrator profile does not have this drive mapping. So I created the TNS_ADMIN environment variable with the full UNC path and I was able to test DSNs successfully.
    Regards,
    Matt

  • Oracle 11g installation Kernel version  error

    Hi
    We are inprocess of installing oracle 11g on solaris 5.10. Our current Solaris 10 is with kernel version (5.10-2008.03.24.13.19). . It requires kernel version (5.10-2008.10). What patch need to be installed for us to achieve this. Please advice.
    The following are the operating system requirements for Oracle Database 11g Release 2 (11.2):
    * Solaris 10 U6 (5.10-2008.10)
    When I check with my OS team they says the currently have kernel patch ID 142909-17, which already Solaris 10 U9.Thus this Domain already fulfill the requirement

    You could post to the Installation forum : Database Installation
    But you should also log an SR with Oracle Support.
    Hemant K Chitale

  • Forms 10g - Oracle 11g DB - Date Format Error - Urgent

    Hi All,
    We are migrating forms 6i to forms 10g.Data Base is 9i to 11g Migration.
    In 10g forms pre-form trigger ,i have statement
    :head.yr_st_dt := to_date(sc.get_property('ps.yr_st_dt'),'MON DD YYYY HH:MI:SSPM');
    In 6i ,it is working fine,the :head.yr_st_dt=22-SEP-09.
    In 1og forms with 11g Database, I am getting the below error
    frm-40735:PRE-FORM trigger raised unhandled exception ORA-01843
    It seems invalid month.
    In 9i ,the NLS_DATE_FORMAT is DD-MON-RR.In 11g also same.
    Thanks in Advance,
    Regards,
    Shan

    user642745: In the list of forum topics, the fourth topic down is this:
        Before posting on this forum please read.   Within that post there is a recommendation:   "Also read the 10 Commandments on OTN forum posting." with this link:   http://blogs.oracle.com/shay/2007/03/02
    Please read and follow step 6, "Get a name".
    You now have 101 posts to your "user642745" name. When you write, it is difficult to distinguish between your post and the original poster's since you both have a similar number as your names.
    user648338: It is clear you do not understand how Oracle handles dates. Depending on the NLS_DATE_FORMAT and NLS_LANG for the session you are running, you will get different results when you display your sc.get_property('ps.yr_st_dt') output.
    The fact that you are even trying to execute the command:
    select to_date('01-MAY-09','MON DD YYYY HH:MI:SSPM') from dual;shows that you do not understand standard date processing.
    Internally, Oracle stores ALL dates in a 7-byte format that includes both date AND time.
    The fact that you are getting results like 01-MAY-09 just means that your session is running with NLS_DATE_FORMAT set to DD-MON-YY. It does NOT mean that the date is stored that way.
    Your entire problem is caused by the fact that the system on which your old Oracle 9i -- Forms 6i environment has its NLS_DATE_FORMAT (and possibly NLS_LANG) set differently than on your Oracle 11g -- Forms 10g environment.
    If you can set your new environment the same as the old, your trouble will go away. Here is how you determine what the values of those environment variables are. Run this in SQL Plus:
    select * from nls_session_parameters
      where parameter in('NLS_LANGUAGE','NLS_TERRITORY',
                         'NLS_DATE_FORMAT','NLS_DATE_LANGUAGE');Be aware, though, that it is possible for your Forms environment to change the settings only for the Forms sessions, so what you get from SQL Plus may not be the same.
    Edited by: Steve Cosner on Sep 23, 2008 11:13 AM

Maybe you are looking for

  • How to share one Itunes account between computers

    I'm trying to figure out how to actually move music in Itunes from one computer to another. I have the same account set up on both my desktop and laptop and I can access music from one on the other when they are both signed into Itunes. However, I wo

  • Send an error instead on malformed data

    I am wondering if I am able to dequeue an incoming message and verify the data, before i insert it into a table, then send an error message back if the data is not valid. Right now my B2B just sends an acknowledgment back, but doesn't insert the data

  • Calling FM in update task

    Hi,    I read SAP document saying that if we call an update function module like    CALL FUNCTION <FM_NAME> IN UPDATE TASK.......   we can have a log of parameters passed to the function module in VBLOG table.   I Created an update FM and I am passin

  • Making a timesheet for work?

    I've searched and searched and all I can really find is people trying to make timesheets for their actual employees to punch in and out. Basically, I just started a new job and it uses fingerprint identification but it scores you at the end, and I ju

  • Problem getting the height of a UIScrollView

    hi, i am setting the size of a UIScrollView in viewDidLoad: but when I try to get the height of it, i am getting 0 in the console here is my code: - (void)viewDidLoad { [scrollView setContentSize:CGSizeMake(320,500)]; NSLog(@"scrollView: %@", scrollV