CAN WE RUN DBMS_JOB WITHIN DBMS_JOB  ORACLE

hi Kamal
i have situation like this ---
Main JOB
calling proc1
Calling JOB 2
sample code
DECLARE
X NUMBER;
BEGIN
SYS.DBMS_OUTPUT.PUT_LINE('Job Number is1: ' || to_char(x));
SYS.DBMS_JOB.SUBMIT
( job => X
,what => 'COM_BATCH_PROCESS_PRC1;'
,next_date => to_date(sysdate,'dd/mm/yyyy hh24:mi:ss')
,interval => null
,no_parse => TRUE
COMMIT;
SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
DBMS_JOB.RUN(X);
END;
i m calling above code within proc1 for job2
i m getting error at line dbms_run(x)
is it really need to run that job or will get automatically run
i have some dbms_output statements within it(COM_BATCH_PROCESS_PRC1;) then can i see that output statremts when i m exec main job 1

What version are you using??
If 10g try using DBMS_SCHEDULER instead DBMS_JOB
Regards,
Paulo.

Similar Messages

  • How can i run Report in Web (Oracle 9i)

    I working with Report Developer 9i,
    How Can i run my report to web ?

    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Thanks
    Ratheesh

  • Can not run DBCA on Linux

    Hi,
    on 11g , Linux el5, can not run DBCA and receive :
    [oracle@localhost ~]$ dbca
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0x00002aaab748c9f1, pid=8789, tid=48011056844432
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_17-b03 mixed mode)
    # Problematic frame:
    # C  [libclntsh.so.11.1+0x62a9f1]  snlinGetAddrInfo+0x1b1
    # An error report file with more information is saved as hs_err_pid8789.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    AbandonAny idea.
    Thanks.

    thanks to all and sorry of being late. Suddenly occupied by another emergency.
    Any way for xhost+ :
    [root@localhost ~]# xhost +
    access control disabled, clients can connect from any host
    [root@localhost ~]#
    [oracle@localhost ~]$ xhost +
    access control disabled, clients can connect from any hostAnd for jvm ,
    how to upgrade your JVM like 1.5.0_22 & greater versions ?
    regards.

  • How to run a batch file from within an Oracle 9i Form?

    Hi, I would like to execute a batch file from within an oracle form - I'm assuming there's some PLSQL command I can use? I am not allowed to use any third party libraries, and I'm hoping I can get away without having to progam any C or Java to do it. I don't want to run my java program from my form, but my lecturer is insisting on it.
    Can anyone help?
    Thanx
    Adam

    Can u give me an example
    I need to run a batch files that does a series of step doing dir ( in 3 different folders)
    after each one it shows on screen with a pause & user press enter
    can this work out ?

  • Running an Oracle form within a Oracle 10g 10.1.2 Portal Portlet

    Anyone figure out how to register and run an 10g form fmx within an Oracle 10 10.1.4 portal portlet?

    I don't think you can register Forms as a portlet. We don't have support for that. You should be able to incorporate it into a frame of some sort or another. I am not so familiar with Portal but if there is a portlet type that takes a URL you should be able to supply a normal Forms URL and have it run in the frame.

  • Can I run 32 bit version of Oracle 10g grid  on Linux x86-64?

    Since Oracle did not release 64 bit version of Oracle 10g grid for Linux X86-64. Can I run 32 bit version of Oracle 10g grid on Linux x86-64? If so did anyone tried this? and also any known issues?

    All I had to do was use the 32bit version of "/usr/bin/gcc" and "/usr/bin/g++" to run the installation
    That is:
    bin]# cp -p /usr/bin/gcc /usr/bin/gcc_old
    bin]# mv /usr/bin/gcc /usr/bin/gcc323
    mv: overwrite `/usr/bin/gcc323'? y
    bin]# ln -s /usr/bin/gcc296 /usr/bin/gcc
    bin]# cp -p /usr/bin/g++ /usr/bin/g++_old
    bin]# mv /usr/bin/g++ /usr/bin/g++323
    mv: overwrite `/usr/bin/g++323'? y
    bin]# ln -s /usr/bin/g++296 /usr/bin/g++
    AFTER INSTALLATION REMEMBER TO
    move back the 64bit files to their former state.
    bin]#rm /usr/bin/g++
    bin]#rm /usr/bin/gcc
    bin]#mv /usr/bin/gcc_old /usr/bin/gcc
    bin]#mv /usr/bin/g++_old /usr/bin/g++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can you run Embedded PL/SQL Gateway and Oracle HTTP Server at the same time

    Hi,
    I know this will sound a bit odd but their is a business case for asking this. Can you run APEX via the Embedded PL/SQL Gateway and the Oracle HTTP Server at the same time? Would their be any security/stability/etc issues I'd need to worry about? I know that I'll need to run them on different ports.
    Thank you,
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

    I think I've done this in the past. Theres no technical reason why you can't do this as far as I know.
    I can't remember if I used different ports or same port.

  • Can i run all the SQL And PL/SQL in Oracle SQL Developer?

    hi all
    I have heard that Oracle Sql Developer is a free editor for Oracle DB from Oracle.
    Is it possible to run all the the procedres and functions in that editor
    is there any limitation for that ,can i run all the things that we can run on the SQL Plus
    if anybody knows please let me know
    thanks & regards

    Interesting way of putting it.
    When it comes to SQL and PL/SQL, SQLPlus and SQL Developer do not really 'run' very much.
    Most of the time, these things are just shells that pass the SQL and PL/SQL requests to the appropriate engine (database) which will run the command.
    The challenges are:
    - will the shell interpret the request as something to pass to an engine?
    - will the shell display the response from the engine appropriately?
    For answers to those questions, TongucY provided approriate links.

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server
    Mode?
    Regards
    Gaurav

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.
    Regards
    grant

  • Can not run forms in Oracle Form Builder

    I get FRM-10142: The HTTP listener is not running on computer1 at port 8890. Please start the listener or check your runtime preferences. When I try running a form in Oracle form builder.
    Can someone please help with a solution to this problem.

    Start the OC4J Instance first....
    Simon

  • Why the Oracle Coherence can not run successsfully?

    Why the Oracle Coherence can not run successsfully?
    When I run the costomized cache-server.cmd file, the following error message shows up:
    C:\coherence\examples\java> *contacts-cache-server.cmd*
    2009-10-22 10:57:10.609/0.563 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational configur
    ion from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational override
    from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration overri
    "/tangosol-coherence-override.xml" is not specified
    2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration overri
    "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.5.2/463
    Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    2009-10-22 10:57:11.062/1.016 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a): Loaded cache configurati
    from "file:/C:/home/oracle/coherence/Contacts/contacts-cache-config.xml"
    2009-10-22 10:57:12.078/2.032 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Service Cluster joined
    e cluster with senior service member n/a
    2009-10-22 10:57:15.328/5.282 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): Created a new cluster
    cluster:0xD3FB" with Member(Id=1, Timestamp=2009-10-22 10:57:11.734, Address=192.168.16.83:8088, MachineId=30803, Loca
    on=site:metsys.metex.com,machine:NECu10,process:3820, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, Cp
    ount=4, SocketCount=4) UID=0xC0A81053000001247CC05C3678531F98
    2009-10-22 10:57:15.375/5.329 Oracle Coherence GE 3.5.2/463 <D5> (thread=Invocation:Management, member=1): Service Man
    ement joined the cluster with senior service member 1
    2009-10-22 10:57:15.875/5.829 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:PartitionedPofCache, member=
    : Service PartitionedPofCache joined the cluster with senior service member 1
    2009-10-22 10:57:15.890/5.844 Oracle Coherence GE 3.5.2/463 <Info> (thread=DistributedCache:PartitionedPofCache, membe
    1): Loading POF configuration from resource "file:/C:/home/oracle/coherence/Contacts/classes/contacts-pof-config.xml"
    2009-10-22 10:57:15.906/5.860 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:PartitionedPofCache, memb
    =1): Terminating DistributedCache due to unhandled exception: com.tangosol.util.WrapperException
    2009-10-22 10:57:15.906/5.860 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:PartitionedPofCache, memb
    =1):
    (Wrapped) (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Failed to parse PO
    configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exception occurred during parsing: looking for id
    , found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0
    urier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
    {\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
            at com.tangosol.coherence.Component._newChild(Component.CDB:47)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onServiceStarted(
    stributedCache.CDB:99)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onServiceState(Grid.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.setServiceState(Grid.CDB:21)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$NotifyStartup.onReceived(Grid.CDB:
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(Distribu
    dCache.CDB:3)
            at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
            at java.lang.Thread.run(Unknown Source)
    Caused by: (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Failed to parse P
    configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exception occurred during parsing: looking for i
    9, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0
    ourier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
    {\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
            at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:49)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.instantiateFromBi
    ryConverter(DistributedCache.CDB:3)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext
    etClassLoader(DistributedCache.CDB:6)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext
    nInit(DistributedCache.CDB:2)
            at com.tangosol.coherence.Component._newChild(Component.CDB:41)
            ... 10 more
    Caused by: (Wrapped: Failed to parse POF configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exceptio
    occurred during parsing: looking for id=9, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\de
    ang4105{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
    {\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
            at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1311)
            at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:812)
            at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:762)
            at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:325)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:45)
            ... 14 more
    Caused by: java.io.IOException: Exception occurred during parsing: looking for id=9, found id=3((0,0,65) Character Dat
    Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fmodern\fcharset0 Couri
    -Bold;}{\f2\fswiss\fcharset0 Arial;}}....
    {code}
    The content of the contacts-cache-server.cmd file is shown here under:
    (its location is C:\coherence\examples\java
    {code}@echo off
    setlocal
    if (%COHERENCE_HOME%)==() (
    set COHERENCE_HOME=c:\coherence
    set CONFIG=C:\home\oracle\coherence\Contacts
    set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\coherence\Contacts\classes
    set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
    java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
    :exit{code}
    The contents of the contacts-cache-config.xml file is shown here under:
    (its location is C:\home\oracle\coherence\Contacts
    {code}<?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
      <caching-scheme-mapping>
        <cache-mapping>
            <cache-name>*</cache-name>
            <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
          </cache-mapping>
        </caching-scheme-mapping>
      <caching-schemes>
        <distributed-scheme>
          <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
          <service-name>PartitionedPofCache</service-name>
          <serializer>
            <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
              <init-params>
                <init-param>
                  <param-type>String</param-type>
                  <param-value>contacts-pof-config.xml</param-value>
                </init-param>
              </init-params>
           </serializer>
         <backing-map-scheme>
           <local-scheme>
             <!-- each node will be limited to 250MB -->
                 <high-units>250M</high-units>
                 <unit-calculator>binary</unit-calculator>
              </local-scheme>
           </backing-map-scheme>
           <autostart>true</autostart>
        </distributed-scheme>
      </caching-schemes>
    </cache-config>{code}
    The contents of the contacts-pof-config.xml file is shown here under:
    {code}
    <?xml version="1.0"?>
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
      <user-type-list>
        <!-- coherence POF user types -->
        <include>coherence-pof-config.xml</include>
        <!-- com.tangosol.examples package -->
        <user-type>
          <type-id>1002</type-id>
          <class-name>com.tangosol.examples.model.Contact</class-name>
        </user-type>
        <user-type>
          <type-id>1003</type-id>
          <class-name>com.tangosol.examples.model.Address</class-name>
        </user-type>
        <user-type>
            <type-id>1004</type-id>
          <class-name>com.tangosol.examples.model.Phone</class-name>
        </user-type>
      </user-type-list>
      <allow-interfaces>true</allow-interfaces>
      <allow-subclasses>true</allow-subclasses>
    </pof-config>  {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I have saved it as a XML documetent. it this OK?
    What the following error message shows us?
    Caused by: (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.UnsupportedClassVer
    sionError: Bad version number in .class file
            at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:49)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.instantiateFromBina
    ryConverter(DistributedCache.CDB:3)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext.s
    etClassLoader(DistributedCache.CDB:6)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext.o
    nInit(DistributedCache.CDB:2)
            at com.tangosol.coherence.Component._newChild(Component.CDB:41)
            ... 10 more
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:2969)
            at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1215)
            at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:973)
            at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:762)
            at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:325)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:45)
            ... 14 more
    2009-10-22 17:24:14.995/2.922 Oracle Coherence GE 3.5.2/463 <D4> (thread=ShutdownHook, member=2): ShutdownHook: stopping
    cluster nodeEdited by: junez on 22-Oct-2009 14:30

  • Can we run 2 versions of Apex on the same Oracle database ?

    Can we run both Apex 3.1 & Apex 4.0 versions on the same database ?
    Instead of upgrading my 3.1 to Apex 4.0, I wanted to know if I can run 2 versions of Apex on the same database simultaneously

    Hello,
    >> Can we run both Apex 3.1 & Apex 4.0 versions on the same database ?
    No you can’t. The APEX 4.0 installation script will automatically detect the 3.1 instance and it will be upgraded.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • How can i run one procedure at the fix time every day?

    Hi.
    I write a procedure.it can open a text file.Now, I'd like run it every day at 24:00.
    How can i do that?
    thanks alot.

    and on the other, other hand. If you are using Oracle, schedule it in the Oracle job queue. Look into the DBMS_JOB package (DBMS_JOB.SUBMIT more specifically).
    something like this would work:
    variable jobno number;
    variable instno number;
    begin
    select instance_number into :instno from v$instance;
    dbms_job.submit(:jobno, 'statspack.snap;', trunc(sysdate+1), 'trunc(SYSDATE+1)', TRUE, :
    instno);
    commit;
    end;
    That would schedule it at midnight I believe.

  • How Can I Run a SQL Loader Job from Schedular

    How Can I Run a SQL Loader Job from Schedular , So that It Runs every Day.

    Depends on a couple of factors.
    If you are on a UNIX platform, you can create a shell script and schedule it with cron.
    If you are on a Windows platform, you can create a batch file and schedule it with the Windows scheduler.
    Or, if you are on Oracle 9i or 10g, you could use the external table feature instead of SQL*Loader. Then you could write a stored procedure to process the external table and schedule it using the Oracle scheduler (DBMS_JOB). This would probably be my preference.

  • How Can I Run APEX_MAIL Outside of ApEx?

    We have a procedure running on our old server with htmldb 1.6 that uses htmldb_mail to send system status emails each morning.
    We have finally moved up to ApEx 3.1.2 on a new server. However, it appears that the new apex_mail package won't work outside of ApEx. I have written a new procedure on the new server to send email (a different email for a different purpose). When I try to test the procedure I get:
    ORA-20001: This procedure must be invoked from within an application session.
    ORA-06512: at "FLOWS_030100.WWV_FLOW_MAIL", line 285
    etc.
    The procedure on the old server is running just fine without any HTMLDB application.
    Is it no longer possible to invoke htmldb_mail or apex_mail from outside an application?
    Is it possible that some setting has been set to allow this on the old server but it is not set on the new server?
    Thanks,
    Grgegory

    Tony,
    I'm looking for details about smtp_mail. Can you point me to an Oracle document?
    Does smtp_mail provide attachment capabilities?
    Thanks,
    Gregory
    P.S. I just search the OTN Documentation library for 10g and 11g and there doesn't appear to b any reference to smtp_mail.
    I saw some documentation on utl_mail but it led me to doubt that it allows attachments.
    Edited by: Canis Polaris on Jun 10, 2009 3:37 PM

Maybe you are looking for

  • Calling a method in a public web dynpro DC from EP

    Hi all, I have a public web dynpro DC which exposes some methods. I want to call these methods from an EP application (JSP Dynpage). IS this possible to do? Any info on this would be of great help. Regards, Narahari

  • Brand new 10.6.3 snow leopard disc installation always fails on MacBook pro

    So I ask, is the only thing left to do here to buy a new hard drive? I figured I would ask as I feel I have tried everything. I have a 17 inch 2.4 ghz intel core 2 duo MacBook pro with 4 gb ram and a 500 gb hitachi 7200 rpm hard drive that was instal

  • Profit center issue

    Hi one of our billing documnet has got cash pricing procedure assigned to it. Accordingly, when a billing document is created, certain G/L is getting debited instead of customer account. We are also crediting same G/L account thru VKOA settings. e.g.

  • Data Carriers and Data carrier type

    Hi Sap Gurus, Pls let me know is there any necesssity of defining any new Data Carrier types other than PC, if so at what circumstances and requirements, also pls throw some light about data Carriers, when is the new data carriers required to be crea

  • Current date should be populated when executing the hierachy variable.

    Hi bw Pro's I have a customer hi-erachy.For that hierachy i created a variable. The variable name is hieraachy date. the variable will be executed with  user entry/default value. the characteristic i used for thata variable is date. Now the requireme