PROC*C : error in running sample1

While trying to run the demo for pro*c
I get the following error :
$ sample1
ld.so.1: sample1: fatal: libucb.so.1: open failed: No such file or directory
The software is intalled on a SPARC Solaris 2.8
Thank you for help
null

Try adding the directories /usr/lib and /usr/ucblib to the LD_LIBRARY_PATH environment variable.
Dan Ferry ([email protected])

Similar Messages

  • Error while running converted JCL / proc from Tuxedo Workbench

    Hi , I am trying to convert and run a JCL / Proc and Cobol code through Oracle Tuxedo  Rehosting Workbench . I followed all the steps and deployed the components .
    This created .ksh components for JCL in ../deploy/JCL and  .proc component in /deploy/PROC.  But when iam running the Jobs its giving below error  and its not able to find the converted proc.
    Do I need to set any Environment variable so that its able to find the location of converted proc.
    ERROR    mi_ScriptExtend: The procedure called is not found
             EJR: Internal Error (mi_ScriptExtend "/root/workspace/Pravin7/deploy/BATCH_RT/../JCL/RU55RU55.ksh" "/root/workspace/Pravin7/00000001/EXEC/00000001.ksh") RC=123

    Hi:
    The error can be caused by the PROCLIB environment variable not being defined.
    There is a Tuxedo ART Workbench 12c fix (I think RP002) which does this in the BATCH_RT/setenv script.
    PROCLIB is set to the the directory for JCL Libs, procedures, and includes.
    Also the SYSIN environment variable should be set to the ${APPDIR}/Master-SYSIN
    Here is the doc link for the environment variables:
    Using Batch Runtime
    Regards,
    Bob Finan

  • Error while running adlnkoh.sh

    I am performing cloning of Oracle Apps R12 version 12.0.4
    Using cold backup single node to single node.
    I got an error and i checked the logfile i got this
    Error while running adlnkoh.sh.
    return code = .1.7.12.14.15.16.17.18.19.21.22.23.24.25.26.27.30.32.33.34.42.43.44.45.46.47.48.49.51.52.53.54.55.56.57.58.59.60.62
    Please check logfile located at /oracle/cloning/db/tech_st/10.2.0/appsutil/log/TEST1_zishan/make_12091249.log
    Then I had seen above logfile and i got this error
    running genclntsh...
    /oracle/cloning/db/tech_st/10.2.0/lib/libcore10.a: could not read symbols: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    Failed to generate client shared library on Thu Dec 9 12:49:07 IST 2010...
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.s /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.o
    Completed removing old executables on Thu Dec 9 12:49:07 IST 2010...
    /usr/bin/gcc -O2 -I/oracle/cloning/db/tech_st/10.2.0/rdbms/demo -I/oracle/cloning/db/tech_st/10.2.0/rdbms/public -I/oracle/cloning/db/tech_st/10.2.0/plsql/public -I/oracle/cloning/db/tech_st/10.2.0/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -c -o config.o config.c
    Completed relinking target config.o ...
    Completed linking target links on Thu Dec 9 12:49:09 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/precomp/lib
    Linking /oracle/cloning/db/tech_st/10.2.0/precomp/lib/proc
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    /bin/chmod: cannot access `/oracle/cloning/db/tech_st/10.2.0/precomp/lib/proc': No such file or directory
    make: *** [oracle/cloning/db/tech_st/10.2.0/precomp/lib/proc] Error 1
    Failed linking target relink on Thu Dec 9 12:49:10 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/rdbms/lib
    /usr/bin/ar cr /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/libknlopt.a /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/kkpoban.o
    /oracle/cloning/db/tech_st/10.2.0/lib//libcore10.a: could not read symbols: No more archived files
    collect2: ld returned 1 exit status
    make: *** [oracle/cloning/db/tech_st/10.2.0/rdbms/lib/oracle] Error 1
    Failed linking target oracle on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/network/lib
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1
    Failed linking targets nnfgt.o mkldflags client_sharedlib on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/sqlplus/lib
    make: *** [sqlplus] Error 1
    Failed linking target sqlplus on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/rdbms/lib
    /usr/bin/ld: cannot find -lclntsh
    collect2: ld returned 1 exit status
    make: *** [trcroute] Error 1
    Failed linking target install ((ins_net_client.mk) on Thu Dec 9 12:49:12 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/plsql/lib
    chmod 755 /oracle/cloning/db/tech_st/10.2.0/bin
    make: *** [ctxload] Error 1
    Failed linking target install on Thu Dec 9 12:49:13 IST 2010...
    /oracle/cloning/db/tech_st/10.2.0/sysman/lib
    make -f /oracle/cloning/db/tech_st/10.2.0/sysman/lib/ins_sysman.mk relink_sharedobj SHAREDOBJ=libnmemso
    Error found while relinking
    return code = .1.7.12.14.15.16.17.18.19.21.22.23.24.25.26.27.30.32.33.34.42.43.44.45.46.47.48.49.51.52.53.54.55.56.57.58.59.60.62

    No it is not packages problem i had check all the packages it is showing some relinking error.
    Please do help me out, I am sending u the log record of make file
    /oracle/cloning/db/tech_st/10.2.0/appsutil/log/TEST1_zishan/make_12091509.log
    running genclntsh...
    /oracle/cloning/db/tech_st/10.2.0/lib/libcore10.a: could not read symbols: File format not recognized
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    Failed to generate client shared library on Thu Dec 9 15:09:21 IST 2010...
    rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.s /oracle/cloning/db/tech_st/10.2.0/rdbms/lib/ksms.o
    Completed removing old executables on Thu Dec 9 15:09:21 IST 2010...
    /usr/bin/gcc -O2 -I/oracle/cloning/db/tech_st/10.2.0/rdbms/demo -I/oracle/cloning/db/tech_st/10.2.0/rdbms/public -I/oracle/cloning/db/tech_st/10.2.0/plsql/public -I/oracle/cloning/db/tech_st/10.2.0/network/public -DLINUX -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 -DSLTS_ENABLE -DSLMXMX_ENABLE -D_REENTRANT -DNS_THREADS -c -o config.o config.c
    Completed relinking target config.o ...
    make[1]: *** [oracle/cloning/db/tech_st/10.2.0/sysman/lib/nmccollector] Error 1
    make[1]: Leaving directory `/oracle/cloning/db/tech_st/10.2.0/sysman/lib'
    make: *** [nmccollector] Error 2
    Failed linking target collector on Thu Dec 9 15:09:34 IST 2010...
    The value of IS_RAC:false
    Error found while relinking
    return code = .1.7.12.14.15.16.17.18.19.21.22.23.24.25.26.27.30.32.33.34.42.43.44.45.46.47.48.49.51.52.53.54.55.56.57.58.59.60.62

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

  • Error while running a report

    Hi all,
    I am getting this particular error while running a report. The error is:
    <b>SQL Error: 604
    System error in program SAPLRRK0 and form RSRDR;SRRK0F30-01-
    Diagnosis
    This internal error is a targeted termination since the program has an
    incorrect status.
    Procedure
    Analyse the situation and inform SAP.
      Notification Number BRAIN 299 </b>
    Could anyone tell me what that means?
    Thanks In advance,
    Raj

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

  • Error While Running a page on JDeveloper

    Hi All ,
    I am getting the following error while running a page in Jdeveloper . Can any body help me?
    (AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier ; (Could not lookup message because there is no database connection) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862) at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.sql.SQLException: ORA-00904: "SERVERRESP_ENABLED_FLAG": invalid identifier at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2487) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1328) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getMultiSpecificProfileFromDB(ExtendedProfileStore.java:368) at oracle.apps.fnd.common.WebAppsContext.setProfileValues(WebAppsContext.java:4177) at oracle.apps.fnd.common.AppsContext.setDBEnv(AppsContext.java:3407) at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2508) at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2398) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2257) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2072) at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1976) at oracle.apps.fnd.profiles.Profiles.getConnection(Profiles.java:2494) at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1304) at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:384) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210) at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169) at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148) at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1147) at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1008) at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:977) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:944) at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:931) at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570) at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:873) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:858) at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:827) at oracle.apps.fnd.common.AppsContext.(AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:351) at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144) at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80) at runregion.jspService(runregion.jsp:96) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:534) ">

    check your DBC file, we have discussed this issue in the forum, search for SERVERRESP_ENABLED_FLAG

  • Error while running a KPI Watchlist in obiee 11g dashboard

    I am getting the following error while running a KPI Watchlist :
    *" Odbc driver returned an error (SQLExecDirectW) "*
    I added two KPI's (KPI 1 & KPI 2)into that Watchlist , one from the default "Sample Sales Lite" (sub 1) and another from sub 2 which have essbase as data source .
    KPI 1 (created from sub 1) is working fine , but while placing KPI 2 (created from sub 2 ) in the watchlist , its throwing the above error . However , while running KPI 2 individually , its showing meaningful results .
    Let me know if the problem statement is not clear .
    OBIEE version used : 11.1.1.5.0 .

    Could anyone reply this thread. I am also getting the same error . Even server logs are also not helping.

  • Error while running a customize report in oracle ebs

    Hi ..
    can anybody suggest how to solve the follwing error while running a customize report in oracle ebs?
    XXIFMS: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    Current system time is 03-JUN-2011 11:09:24
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_DATE_FROM='2010/04/01 00:00:00'
    P_DATE_TO='2011/06/03 00:00:00'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AL32UTF8
    stat_low = 9
    stat_high = 0
    emsg:was terminated by signal 9
    ld.so.1: rwrun: fatal: librw.so: open failed: No such file or directory
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program was terminated by signal 9
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 1068011.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 1068011 on node D0005 at 03-JUN-2011 11:09:24.
    Post-processing of request 1068011 failed at 03-JUN-2011 11:09:24 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-JUN-2011 11:09:24

    Please post the details of the application release, database version and OS.
    Is the issue with this specific concurrent program?
    Can you find any errors in the CM/OPP log files?
    Please see if these docs help.
    On R12.1.1/Solaris Platform While Generating Oracle Reports Files Failed With Error " ld.so.1: rwconverter: fatal: librw.so: open failed: No such file or directory [ID 1067786.1]
    Apps UPG Fail With Error Ld.So.1: Rwserver: Fatal: Librw.So [ID 961222.1]
    Thanks,
    Hussein

  • Error in running a function to convert coordinates in degrees to decimal for EXCEL VBA

    For your information, I have 3 cross-posts regarding this question - and all I can said there is still no firm solution regarding this error.
    1) http://stackoverflow.com/questions/27634586/error-in-running-a-function-to-convert-coordinates-in-degrees-to-decimal-for-exc/27637367#27637367
    2) http://www.mrexcel.com/forum/excel-questions/826099-error-running-function-convert-coordinates-degrees-decimal-excel-visual-basic-applications.html#post4030377 
    3) http://www.excelguru.ca/forums/showthread.php?3909-Error-in-running-a-function-to-convert-coordinates-in-degrees-to-decimal-for-EXCEL-VB&p=16507#post16507
    and the story of the error is as below:
    Currently I am working on VBA excel to create a widget to verify coordinates whether it lies under the radius of ANOTHER predefined and pre-specified sets of coordinates.
    In the module, I want to convert the coordinates from degrees to decimal before doing the calculation - as the formula of the calculation only allow the decimal form of coordinates.
    However, each and every time I want to run the macros this error (Run-time error '5', invalid procedure call or argument) will appear. Then, the debug button will bring me to below line of coding:
    degrees = Val(Left(Degree_Deg, InStr(1, Degree_Deg, "°") - 1))
    For your information, the full function is as below:
    Function Convert_Decimal(Degree_Deg As String) As Double
    'source: http://support.microsoft.com/kb/213449
    Dim degrees As Double
    Dim minutes As Double
    Dim seconds As Double
    Degree_Deg = Replace(Degree_Deg, "~", "°")
    degrees = Val(Left(Degree_Deg, InStr(1, Degree_Deg, "°") - 1))
    minutes = Val(Mid(Degree_Deg, InStr(1, Degree_Deg, "°") + 2, _
    InStr(1, Degree_Deg, "'") - InStr(1, Degree_Deg, "°") - 2)) / 60
    seconds = Val(Mid(Degree_Deg, InStr(1, Degree_Deg, "'") + _
    2, Len(Degree_Deg) - InStr(1, Degree_Deg, "'") - 2)) / 3600
    Convert_Decimal = degrees + minutes + seconds
    End Function
    Thank you.
    Your kind assistance and attention in this matter are highly appreciated.
    Regards,
    Nina.

    You didn't give an example of your input string but try the following
    Sub test()
    Dim s As String
    s = "180° 30' 30.5""""" ' double quote for seconds
    Debug.Print Deg2Dec(s) ' 180.508472222222
    End Sub
    Function Deg2Dec(sAngle As String) As Double
    Dim mid1 As Long
    Dim mid2 As Long
    Dim degrees As Long
    Dim minutes As Long
    Dim seconds As Double ' or Long if only integer seconds
    sAngle = Replace(sAngle, " ", "")
    mid1 = InStr(sAngle, "°")
    mid2 = InStr(sAngle, "'")
    degrees = CLng(Left$(sAngle, mid1 - 1))
    minutes = CLng(Mid$(sAngle, mid1 + 1, mid2 - mid1 - 1))
    seconds = Val(Mid$(sAngle, mid2 + 1, 10)) ' change 10 to 2 if only integer seconds
    Deg2Dec = degrees + minutes / 60 + seconds / 3600
    End Function
    As written the function assumes values for each of deg/min/sec are included with unit indicators as given. Adapt for your needs.
    In passing, for any work with trig functions you will probably need to convert the degrees to radians.

  • Error while running web application through JDEV (10.1.3.0.3) in OC4J

    Error while running web application through JDEV (10.1.3.0.3) in OC4J.
    Here is the error message.
    07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: javax.xml.bind.JAXBContext
         Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    07/10/02 14:45:28      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

    Hi,
    The guide you were refering was pointing to 10.1.2 wizards.
    For the latest 10.1.3 tutorial, please follow the below tutorial link :
    http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
    Hope this helps,
    Sunil..

  • I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
    Please enter a value and try to re-run Quick Pay.

  • 500 Internal server error while running sqlsrv_query in PHP

    Hello everyone I am having a problem with sqlsrv_query I will be grateful to you please provide some help.
    I am running a query through php:
    $ls_parcel_query = "select  * from  ParcelDetail order by ExtractDate";
    $result = sqlsrv_query($conn, $ls_parcel_query, array(), array("Scrollable"=>"keyset","QueryTimeout"=>300));
    $no_of_rows = sqlsrv_num_rows($result);
    echo "<br/>".$no_of_rows;
    It gives (After 30 seconds):
    500 - Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.
    I have php.ini settings like below:
    max_execution_time = 90
    memory_limit = 128M
    While running this query in SQL SERVER 2008 R2, it successfully gives result in some times in 1 minute and sometimes in 2 minutes.

    Hello,
    A 500 Error will be caused due to many reason.To troubleshooting this issue, you can try to check out the error log and get more information on what is causing the error.
    Reference :
    "500 Internal Server Error" while running PHP
    HTTP Error 500 Internal server for php pages and solution
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Error while running the Report

    Hi ,
    I am trying to run the Report in Bex Analyzer. and once I enter the value for the variable, it gives me message that "Element is not correctly define (please check query)" and when i click on the error it gives me detail message as below :
    <b><b>Diagnosis
    Additional elements that do not have the same dimension, such as quantities and amounts or amounts and ratios, are added to element Sales Qty Gallons .
    Procedure
    Check your definition.
    If you still want to use this addition, you can suppress the dimensionality of one or both subexpressions by using the 'NODIM' operator. The system then interprets this or these subexpressions as nondimensional numbers.
    In the executed query, you can use the Key Figure Definition function to analyze element Sales Qty Gallons .</b></b>
    Now the thing is I am already using "NODIM" operator to add those elements. and I m not sure why this error is coming up now because I have created this query a while ago and it wasnt giving me any error at that time but now I have make some changes into it and it;s giving me this error while running the Report. But the thing is I didnt change anything in the element for which it;s showing me error.
    Thanks,
    Naitik

    Naitik,
    There are two or more key figures in your report. They are defined by different dimensions and somewhere you have a formula with both these key figure.
    Edit your query and select the Check Query icon. It will tell you which calculation you have the problem with. Edit this calculation to see which key figures are present.
    If the formula is logically correct, best thing to do is to put a NODIM( ) on your key figures that make up the formula, and then change you formula to look at the NODIM( ) version.
    That will fix things for you,
    Regards
    Gill

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Error while running a test case in Jcaps 6 JDBC project

    I encountered an error while running the testcase for a JDBC BC project in Jcaps 6.
    BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure; Fault Data is null. Sending errors for the pending requests in the process scope before terminating the process instance
    Caused by: I18N: BPCOR-3023: Selection Failure occurred in BPEL({http://enterprise.netbeans.org/bpel/DBSample/Db}Db
    Kindly suggest a solution

    It seems to be a very common error. Try checking your map assignments when the source (from) is empty (null). These mappings with null values may produce the error you are facing...
    Good luck!

Maybe you are looking for