Running Pro*C on Oracle 10g

Hi
Recently, i installed Oracle 10g Express (XE) on Ubuntu 9.04.
I am a Pro*C and database developer. Now, I am facing the following issues :-
1. I saw Pro*C and other precompiler packages are not available in 10g XE.
Can i install these packages separately?
OR
Is Pro*C available in 10g Standard so that i can install that?
Does anybody has idea about Oracle Instant Client. I heard it has precompiler packages.
2. The Oracle services don't run automatically when i restart my laptop. How can i configure this?
I would be really grateful, if anybody can help me with this.
Thanks in advance,
Gurpreet

Hello,
1. You can download an OTN license version of Pro*C here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/precomp.html
2. Generally people create startup and shutdown scripts and then create softlinks in the appropriate directories. If you use your search engine of choice I'm sure you can find many examples. Tim Hall has a good example here:
http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
Regards,
Mark

Similar Messages

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • Pro*Cobol for Oracle 10g Express Edition is available?

    Hi to all, this is my first post here.
    I evaluating Cobol to Oracle products and I have find one it´s more
    We installed Oracle 10g Express Edition (Server and Client), to test compatibility of a Cobol product.
    This product requires the "rtsora" component, from Pro*Cobol, but we didn´t find it in any place in the instalation packages.
    The documentation show the precompilers to be at $ORACLE_HOME/precomp but there is only two folders (admin and lib) with "ottcfg" files. Nothing more
    Searching this and anothers foruns, I became to think if the precompilers facilities, like Pro*Cobol, may be available to the 10g Express Edition for Linux, OR, if this is a feature available only to the Standart Editions (or Windows)?
    The instalation and users manuals appears to don´t distinguish the 10g standart from the Express Edition. Also, the Express Edition doesn´t ask for any kind of "customization oprtions" as I read about in another topics.
    Edited:
    1 - We are using this on Linux Ubuntu.
    2 - The Windows 10g Express Edition appears to be more complete, but I need to run this on Express Edition.
    Thanks in advance!
    (sorry bad english)

    There is no official communication on 11G express edition release date .
    You will have to wait and watch Oracle Official website for that .
    Also check this :
    http://news.techworld.com/applications/3203909/oracle-stalls-over-11g-express-release/
    http://pcworld.about.com/od/businesscenter/Oracle-Mum-on-11g-Release-2-1.htm
    Regards
    Rajesh

  • Running Multiple queries in Oracle 10g Express Edition! Help Me!

    I am new to Oracle 10g Express Edition.
    I used my browser to navigated to http://127.0.0.1:8080/apex
    I saw the database page.. logged in.. went into the SQL section.. now am not able to run two or more queries at the same time.. i have given a screenshot too. Plz.. check it and reply me quickly..
    http://i71.photobucket.com/albums/i149/prasanna7287/546895215.jpg
    Help me plz..
    Prasanna.

    There are two possibilities:
    1) Run the SQL commands, one command at a time;
    2) Create a script of multiple commands, and run the script.
    These are discussed in some detail in the online documentation at http://www.oracle.com/pls/xe102/homepage
    In particular, look at
    http://download-east.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sql.htm#BJEIEIFJ
    Message was edited by:
    Hans Forbrich
    No ... wait ... please do not read the documentation! <g>

  • SYSTEM HANGS WHILE RUNNING EXP COMMAND IN ORACLE 10G

    WHEN WE ARE RUNNING THE EXP (EXPORT) COMMAND IN ORACLE 10G
    TO TAKE THE BACKUP IT GETS HANGED FOR A LONG TIME AND THEN IN THE LOG FILE WE FIND THE FOLLOWING ERROR MESSAGE.
    SOMETIMES AFTER RESTARTING THE SERVER WE ARE ABLE TO RUN THE EXP COMMAND.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user MANHAR
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user MANHAR
    About to export MANHAR's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    *********************************** AT THIS POINT THE SYSTEM HANGS FOR A LONG TIME.
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully
    THE EXP COMMAND THAT WE USE IS AS FOLLOWS:
    EXP MANHAR/MANHAR FILE=F:\BACKUP\MANHAR.DMP LOG=F:\BACKUP\MANHAR.LOG BUFFER=1000000 GRANTS=Y CONSTRAINTS=Y
    WE ARE RUNNING THE EXP COMMAND ON THE SERVER ITSELF.
    THE SERVER OPERATING SYSTEM IS WINDOWS 2003 SERVER.
    Kindly give us a solution at the earliest.

    You should ask Oracle support for help. There's only one entry for this error stack (Bug 3361288 - Export of XMLSCHEMA may fail with ORA-24324 in UTF8), but it should have been fixed for your DB version and , as far as I can see, you don't have a Unicode database.
    Werner

  • Running test.rdf in oracle 10g and ibm aix 5L

    Hi,
    I am trying to run a demo test.rdf from the browser. This is in Oracle 10g and IBM AIX 5L.The report server is in-process server.
    The url is
    http://ipaddr:7778/reports/rwservlet?server=rep_igtewfux01&report=test.rdf&userid=dbuserid/dbpwd@asdb&desformat=PDF&destype=cache
    Engine rwEng-0 crashes all the time. Below is a part of the exception . Please help.
    [2005/8/26 6:19:14:20] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 98
    [2005/8/26 6:20:9:64] Exception 50125 (org.omg.CORBA.TRANSIENT: vmcid: 0x0 minor code: 0 completed: No
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java(Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java(Compiled Code))
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Compiled Code))
         at oracle.reports.engine._EngineClassStub.run(_EngineClassStub.java:147)
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:784)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
         at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
         at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:568)
    ): Internal error org.omg.CORBA.TRANSIENT: vmcid: 0x0 minor code: 0 completed: No
    [2005/8/26 6:20:9:64] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
    [2005/8/26 6:20:9:66] Exception 50125 (org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x0 minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java(Compiled Code))
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java(Inlined Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java(Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java(Compiled Code))
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java(Compiled Code))
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java(Compiled Code))
         at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:341)
         at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1216)
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:826)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
         at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
         at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:568)
    ): Internal error org.omg.CORBA.OBJECT_NOT_EXIST: vmcid: 0x0 minor code: 0 completed: No
    [2005/8/26 6:20:9:66] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Shutdown
    [2005/8/26 6:20:9:66] Info 56047 (EngineManager:remove): Reports Server shut down engine rwEng-0
    [2005/8/26 6:20:9:66] State 56016 (JobManager:updateJobStatus): Job 98 status is: Terminated with error:
    REP-56048: Engine rwEng-0 crashed, job Id: 98
    [2005/8/26 6:20:9:66] Debug 50103 (JobManager:notifyWaitingJobs): Master job 98 notify its duplicated jobs.
    [2005/8/26 6:20:9:66] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 98
    [2005/8/26 6:20:9:67] Exception 56048 (): Engine rwEng-0 crashed, job Id: 98
    exception oracle.reports.RWException {
    oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {
    int errorCode=56048,
    java.lang.String errorString="Engine rwEng-0 crashed, job Id: 98",
    java.lang.String moduleName="REP"
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:861)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1557)
         at oracle.reports.server.JobManager.dispatch(JobManager.java:896)
         at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1166)
         at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:287)
         at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1627)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1481)
         at oracle.reports.rwclient.RWClient.doGet(RWClient.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:568)

    mmmh. Did you compared the select count(*) from your_table; in the two cases.
    If the result is not good and nobody has deleted rows between migration and your test, you migration need to be replayed.
    Which migration did you select, Transportable database or exp/imp...?
    Edited by: Dba Z on 16 août 2009 08:56

  • Running External jobs in Oracle 10g using a different user ID

    Hi,
    i would like to run an external job ( shell script ) in oracle scheduler using a Unix user id other than nobody and oracle. is it possible to do that? if so please provide more information. I am currently using oracle version 10.2.0.4.0

    Sure,
    no problem at all, if you have no problem with the fact that all jobs that run from your ORACLE_HOME use the same account. I would prefer to upgrade to 11.1.0.7 and use the new remote exteral jobs with credentials.
    For oracle 10g you have to modify $ORACLE_HOME/rdbms/admin/externaljob.ora and change the run_user and run_group to what ever you want to use.
    regards,
    Ronald
    (also see:
    http://www.packtpub.com/mastering-oracle-scheduler-in-oracle-11g-databases)

  • Problem Pro*C for Oracle 10g

    Hello,
    I am compiling pro*c code for Oracle 10g, it is successfully compiling for Oracle 9i. But with Oracle 10g libs it's giving problems.
    This following error msg I m getting while compiling
    /application/Build/code/booking/>mk test
    *.cpp: No such file or directory
    make_depend
    `/opt/oracle/10.2.0/lib/libclntsh.so' is up to date.
    cat: cannot open *.u
    proc ireclen=132 lines=yes iname=pcutils.pc oname=~pcutils.c
    Pro*C/C++: Release 10.2.0.2.0 - Production on Sat May 26 07:39:59 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /opt/oracle/10.2.0/precomp/admin/pcscfg.cfg
    cc -c -DBA_SUN -xCC -I. -I/application/Build/include -I/application/2.6Build/include -I/opt/ba/include - -I/opt/tux80/include ~pcutils.c
    "pcutils.pc", line 58: undefined struct/union member: sqlerrm
    "pcutils.pc", line 58: undefined struct/union member: sqlerrmc
    "pcutils.pc", line 58: warning: left operand of "." must be struct/union object
    "pcutils.pc", line 79: undefined struct/union member: sqlerrm
    "pcutils.pc", line 79: undefined struct/union member: sqlerrmc
    "pcutils.pc", line 79: warning: left operand of "." must be struct/union object
    cc: acomp failed for ~pcutils.c
    *** Error code 2
    make: Fatal error: Command failed for target `pcutils.o'
    Could you please suggest me, what should I do in order to build it.
    Inpreet

    To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
    After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
    The env.variable ORACLE_HOME should be set,
    export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1

  • Pro*C for Oracle 10g in Debian Linux

    Hi,
    I've downloaded and installed the Debian packages for Oracle 10g XE, and I'm trying to compile a local copy of CASTOR http://www.cern.ch/castor
    This software requires the Pro*C compiler. Where can I find/download it from?
    Thanks in advance!

    To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
    After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
    The env.variable ORACLE_HOME should be set,
    export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1

  • Purchase of pro*c for oracle 10g single user version

    Please guide me on purchase of pro*c for oracle 10 g single user/multiuser version since i am possessing licenced 10g database. Please guide me on this. I am residing at akola(maharashtra,india) and my email id is [email protected] and my cell no. is 8007146342.
    kindly guide on rough purchase price at my doorstep.

    To answer my own question, I'd say it's necessary to install the tarball, NOT the Debian files, for the Enterprise edition (perhaps to Standard is enough?).
    After installation at (for example) /usr/local/oracle, the "proc" precompiler should be at /usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1/bin
    The env.variable ORACLE_HOME should be set,
    export ORACLE_HOME=/usr/local/oracle/u01/app/oracle/oracle/product/10.2.0/db_1

  • Pro*Cobol in Oracle 10g

    Hi all,
    I don't find precompiler procob in $ORACLE_HOME/bin. I have installed Enterprise Edition 10g on Solaris10. Please help me, thanks.

    metalink note 339032.1 explains.

  • Number Dedicated Processes running in Oracle 10g R2

    Hi,
    How Do I Check How Many Dedicated Processes runs in my Database Oracle 10g R2?
    Regards.

    SELECT server, COUNT(*)
    FROM gv$session
    GROUP BY SERVER;Should give you the information that you seek.

  • May I run iptables script on Linux installed Oracle 10g?

    This is my iptables script in this linux server:
    #!/bin/sh
    iptables -F INPUT
    iptables -F FORWARD
    iptables -F OUTPUT
    iptables -F POSTROUTING -t nat
    iptables -F PREROUTING -t nat
    iptables -P INPUT DROP
    iptables -P FORWARD DROP
    iptables -P OUTPUT ACCEPT
    iptables -A INPUT -i lo -j ACCEPT
    iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
    iptables -A INPUT -p tcp --dport 1521 -j ACCEPT
    iptabls -A INPUT -p tcp --dport 5560 -j ACCEPT
    iptales -A INPUT -p tc --dpot 22 -j ACCEPT
    After run this script, does Oracle 10g can running normally?

    1. This configuration will be working for dedicated server only.
    2. It seems you are using 10g R1 as 5560 port is default for EM on 10g R1.
    3. Note as you didn't specify specific interface for incomming connections, rules will be applied on all interfaces available on your operating system.
    4. correct your commands:
    iptables -A INPUT -p tcp --dport 5560 -j ACCEPT
    iptables -A INPUT -p tcp --dport 22 -j ACCEPT
    5. If you are using Redhat or RH clones (OEL) then you don't neet to write the script.
    Just flush existing rules, execute your commands and execute:
    iptables-save > /etc/sysconfig/iptablesDuring init process (if iptables service is allowed) it will restore iptables settings from configuration file (location: /etc/sysconfig/iptables)

  • Oracle 10g consumes a lot of ram

    hello everyone,
    i'm a newbie to oracle,
    can someone solve my problem
    when oracle database is running , i can't run any other applications (on windows)
    task manager shows around 100 mb memory usage for oracle
    is there any solution to this problem...

    one solution can be:
    -add more memory to your XP Pro: 2GB and more
    -install a blank Virtual Machine [vmware.com] on your XP as a host
    -on the Virtual Machine install the guest OS: say Win Server 2003 [u can get it free from MSoft site], configure the Virtual Server as Active Directory, DNS, Server, DHCP Server. Use Static IP for the server.
    -install Oracle 10g on the Virtual server
    I did the same on my XP Pro system and Oracle 10g EE runs OK on it. My CPU is 2 GHz.

  • Oracle 8.0.6 to Oracle 10G Upgrade Query

    Hi,
    I have a customer that has Business Objects Release 5.1.x accessing an Oracle 8.0.6 database. They are planning to migrate the database to Oracle 10G Release 2.0
    Will Business Objects Release 5.1.x reports run off their upgraded Oracle 10G Release 2.0 database or will Business Objects have to be migrated as well ?
    Any pointers or links on this will be very helpful.
    Thx in advance
    Best Regards
    Ramdas

    Hi
    BO5.1 is not supported with Oracle10g so the user has to upgrade their BO version too.
    You can download the Product documentations from help.sap.com for detailed information.
    Regards
    Sourashree

Maybe you are looking for