Schedule a job in oracle database

Hi All,
DB:11G
OS:RHEL
I have to schedule a job in oracle DB where in which i have to call a procedure which is used to transfer some selected tables from one schema to another.
I want to know if we can do the same without using a cron job and how to do it?
BR
Sphinx

Hi Veeresh,
I am trying to execute a job for every 2 minutes and below is the Job.It is executed only first time and after that it does not execute.
Can you please suggest what could be the problem?
DBMS_SCHEDULER.CREATE_JOB(job_name => 'SAMPLE_STORE_PROCEDURE_'||V_FROM_RNUM||'_'||V_TO_RNUM,
job_type => 'STORED_PROCEDURE',
JOB_ACTION => 'TEST_PROC',
number_of_arguments => 2,
start_date => SYSDATE,
repeat_interval => 'freq=minutely; interval=2;',
end_date => SYSDATE + INTERVAL '6' MINUTE,
enabled => FALSE,
comments => 'Executed for Rownum Between '||V_FROM_RNUM||' AND '|| V_TO_RNUM );
DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE(job_name => 'SAMPLE_STORE_PROCEDURE_'||V_FROM_RNUM||'_'||V_TO_RNUM,argument_position => 1,argument_value => V_FROM_RNUM);
DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE(job_name => 'SAMPLE_STORE_PROCEDURE_'||V_FROM_RNUM||'_'||V_TO_RNUM,argument_position => 2,argument_value => V_TO_RNUM);
DBMS_SCHEDULER.ENABLE('SAMPLE_STORE_PROCEDURE_'||V_FROM_RNUM||'_'||V_TO_RNUM);
DBMS_SCHEDULER.RUN_JOB('SAMPLE_STORE_PROCEDURE_'||V_FROM_RNUM||'_'||V_TO_RNUM);
Thanks,

Similar Messages

  • How to handel a Batch job in oracle database

    How to handel a Batch job in oracle database?
    Regards
    alok

    Alekh wrote:
    lists of jobs execute concurrently.Thats a definition we all aware of ;), I meant do you want to execute the jobs in a sequence? is there any dependency? is it more like scheduling?
    And What kind of jobs you are talking about? running PL/SQL programs? or stats collection? or DB backup?
    Regards,
    Prazy

  • Scheduling a job in Oracle

    Hi ,
    how can i schedule a job from Oracle ??
    this is what i declared
    create or replace PROCEDURE myjob
    IS
    v_job number;
    begin
    dbms_job.submit(v_job,
    'PLSQL_program_I_want_to_run;',
    sysdate,
    'sysdate+1/24');
    end;
    ques :
    1. how shld i schedule it to run every 15 minutes ? i saw from somewhere that 1/144 ==> 10 minutes ? i dun quite understand
    if 1/24 equals 1 hr
    then for 15 minutes
    can i do this ((1/60)*15)/24 ??
    2. once i execute this procedure manually , it shld be running as per the next sheduled dates ?
    3. can this procedure somehow be set in such a way that if oracle db is up after being down for some reasons , this procedure can auto kickoff by itself ?
    appreciate ur advise
    tks & rdgs

    Hi,
    If you are using Oracle release 10g or higher you should be using dbms_scheduler instead of dbms_job for several reasons.
    1) Scheduling every 15 minutes is much easier with dbms_scheduler e.g.
    begin
    dbms_scheduler.create_job(
    job_name=>'myjob',
    job_type=>'plsql_block',
    job_action=>'scott.mypackage.myproc(3);',
    repeat_interval=>'freq=hourly;byminute=0,15,30,45;bysecond=0',
    enabled=>true
    2) Now that jobs have real user-specified names, killing them is easier
    exec dbms_scheduler.stop_job('myjob')
    This will run the job at X:00, X:15, X:30, X:45 as long as the database is running (even after restarts) and you can pick any job_name you want.
    This should meet all your requirements. Hope this helps.
    -Ravi

  • Scheduling a job in oracle 10g

    I would like to run the procedure everyday at 11.00PM in oracle 10g
    procedure name: Report_schema owner name: BI
    Please provide the steps to schedule the job in oracle 10g OS version sun solaris

    when all else fails Read The Fine Manual
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#ARPLS138
    why should we write here what is already documented there?

  • Scheduled job in oracle database 10g release 2

    I have scheduled a batch job job to run once a day at 8.30 in the morning
    but the program runs twice a day, onca at acheduled time and once in the evening 18.30.
    I am unable to find any reference to the batch program in the job any where.
    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    Operating system version: HP-UX B.11.11

    This job is scheduled through dba_jobs.
    JOB     LOG_USER     PRIV_USER     SCHEMA_USER     LAST_DATE     LAST_SEC     THIS_DATE     THIS_SEC     NEXT_DATE     NEXT_SEC     TOTAL_TIME     BROKEN     INTERVAL     FAILURES     WHAT
    7353     FPCDBA     FPCDBA     FPCDBA     01/03/11 08:31:08     08:31:08               02/03/11 08:31:08     08:31:08     29118     N     SYSDATE+ 1     0     FRB05101;

  • How to schedule dependent job in oracle

    I would like to schedule a job which should be dependent on the completion of previous job. How is it achieved in oracle 10g

    refer to this examples about DBMS_SCHEDULER.CREATE_CHAIN to form job dependency.

  • How to schedule a JOB in oracle

    hi experts,
    i dont know why the following job has not run between the time from '25/MAR/2009 03:45 PM' to '25/MAR/2009 03:46 PM'.
    i have kept the repeat_interval => 'FREQ=SECONDLY'. so i believe this job has to run 60 time, but its not running. please check this and guide me the right direction.
    create table temp1(id number,value varchar2(25));
    begin
    dbms_scheduler.create_job(
    job_name => 'SCHE_TEST'
    ,job_type => 'PLSQL_BLOCK'
    ,job_action => 'begin INSERT INTO temp1 VALUES (1, ''TEST'') end; '
    ,start_date => '25/MAR/2009 03:45 PM'
    ,end_date => '25/MAR/2009 03:46 PM'
    ,repeat_interval => 'FREQ=SECONDLY'
    ,enabled => TRUE
    ,comments => 'Demo for job schedule.');
    end;
    My ORACLE version is 10g
    thanks
    nidhi
    Edited by: knidhi on Mar 25, 2009 4:21 PM
    Edited by: knidhi on Mar 25, 2009 4:23 PM

    hi Keith,
    it is working fine when i modified the code as follows
    declare
    l_start_date date := TO_date('30/MAR/2009 10:17:00',
    'DD/MON/YYYY HH24:MI:SS');
    l_end_date date := TO_date('30/MAR/2009 10:18:00',
    'DD/MON/YYYY HH24:MI:SS');
    begin
    dbms_scheduler.create_job(
    job_name => 'SCHE_TEST1'
    ,job_type => 'PLSQL_BLOCK'
    ,job_action => 'begin INSERT INTO temp1 VALUES (1, ''TEST''); commit; end; '
    ,start_date => l_start_date
    ,repeat_interval => 'FREQ=SECONDLY'
    ,end_date => l_end_date
    ,enabled => TRUE
    ,comments => 'Demo for job schedule.');
    end;
    thanks
    Kalanidhi

  • Can I use DB13C for central backup scheduling of MaxDB and Oracle databases

    Hello,
    we have installed Solution Manager 7.0 on Windows with MaxDB. We want to use DB13C to schedule and Monitor our database backups. We have 8 systems with Oracle Database and 7 systems with MaxDB database, 1 DB2 and 1 MS-SQL Server . Due to QAS issues we can´t migrate to one database system. Is there a possibility to handle all database systems from our Solution Manager ?
    Thank you
    Heiko

    You can use DBACOCKPIT for that purpose. Import the systems from the SLD.
    Markus

  • Error occurred while scheduling the job.

    Hi Tim,
    I am getting following error when ever I use any other option than 'Run Immediately' I am getting following error.
    Please help me.
    oracle.apps.xdo.servlet.scheduler.ProcessingException: Error occurred while scheduling the job.
    at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.getDateObject(SchedulerServlet.java:2202)
    at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1603)
    at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:289)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Thanks,
    Vara

    Hi Vara
    You have the scheduler set up now right? Can you schedule for the future ? Im assuming not but worth asking :)
    Are there any other errors in the stack. Upon starting the server does the Quartz piece initialize OK - you'll see it when starting the j2ee container
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • [INS-20802] Oracle Database Configuration Assistant failed

    I am trying to install Oracle 11g R2 on my windows 7 Professional, 64bit computer. After 42% of installation, it started showing some files are missing. Few of them are:
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\owb.tmp
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\setowbenv.tmp
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\system-application.xml
    And the final pop up winow says:
    Database configuration Assistant:Info
    *"Template General_Purpose.dbc does not exists. Please specify an exixting template for database creation"*
    *"[INS-20802] Oracle Database Configuration Assistant failed"*
    Details:
    Cause:- The plug-in failed in its perform method
    Action:- Refer to the logs or contact Oracle Support Services.
    Following are the last few lines of the log file. Can anyone please help me to fix this problem?
              Oracle Advanced Security 11.2.0.1.0
              Oracle Internet Directory Client 11.2.0.1.0
              HAS Files for DB 11.2.0.1.0
              Oracle Net Listener 11.2.0.1.0
              Oracle Net Services 11.2.0.1.0
              Oracle Text 11.2.0.1.0
              Oracle Database 11g 11.2.0.1.0
              Oracle COM Automation Feature 11.2.0.1.0
              Oracle OLAP 11.2.0.1.0
              Oracle Spatial 11.2.0.1.0
              Oracle Partitioning 11.2.0.1.0
              Enterprise Edition Options 11.2.0.1.0
              Oracle Database 11g 11.2.0.1.0
    INFO: OiicSaveInvWCCE:After saving the inventory. This is an Install session.
    INFO: SaveInvWCCE JRE files in Scratch :0
    INFO: Aggregate Name as given in the action for additional utility tools: oracle.rdbms.util
    INFO: Aggregate Location as given in the action for additional utility tools: C:\app\User\product\11.2.0\dbhome_1/install/config
    INFO: checking if the file C:\app\User\product\11.2.0\dbhome_1/install/config\oracle.rdbms.util.xml is present?
    INFO: Can proceed with additional utility processes ? : true
    INFO: Copying C:\app\User\product\11.2.0\dbhome_1\install\config\oracle.rdbms.util.xml to C:\app\User\product\11.2.0\dbhome_1\inventory\ContentsXML\ConfigXML\oracle.rdbms.util.1_0_0_0_0.xml with the permissions og-rwx
    INFO: cf session will be created for OH: C:/app/User/product/11.2.0/dbhome_1\ TLAggr: oracle.rdbms.util instancePath: inventory\ContentsXML\ConfigXML\
    INFO: cf session for OH: C:/app/User/product/11.2.0/dbhome_1\ TL Aggr: [oracle.rdbms.util] instancePath: inventory\ContentsXML\ConfigXML\
    INFO: No of Tools: 1
    INFO: Starting to execute the additional tools
    INFO: Executing utility tool: ADR Setup Utility
    INFO: Executing utility tool: ADR Setup Utility
    INFO: Command = C:\Windows\system32\cmd /c call C:\app\User\product\11.2.0\dbhome_1/bin/diagsetup.bat basedir=C:\app\User oraclehome=C:\app\User\product\11.2.0\dbhome_1
    INFO: Successfully executed utility tool: ADR Setup Utility
    INFO: Successfully executed utility tool: ADR Setup Utility
    INFO: All the tools have been executed Successfully
    INFO: Complete execution of additional tools
    INFO: oracle.installer.installUpdates property is set to false, so skipping the checking of updates
    INFO: Config Initialize JRE files in Scratch :0
    INFO: stage loc: C:/Users/User/AppData/Local/Temp/OraInstall2013-02-27_05-27-24AM\
    INFO: Copying Aggr XML for: Oracle Configuration Manager
    INFO: stage loc: C:/Users/User/AppData/Local/Temp/OraInstall2013-02-27_05-27-24AM\
    INFO: Copying Aggr XML for: HAS Common Files
    INFO: stage loc: C:/Users/User/AppData/Local/Temp/OraInstall2013-02-27_05-27-24AM\
    INFO: Copying Aggr XML for: Oracle Netca Client
    INFO: stage loc: C:/Users/User/AppData/Local/Temp/OraInstall2013-02-27_05-27-24AM\
    INFO: Copying Aggr XML for: Oracle Enterprise Manager Console DB
    INFO: stage loc: C:/Users/User/AppData/Local/Temp/OraInstall2013-02-27_05-27-24AM\
    INFO: Copying Aggr XML for: Database Configuration and Upgrade Assistants
    INFO: stage loc: C:/Users/User/AppData/Local/Temp/OraInstall2013-02-27_05-27-24AM\
    INFO: Copying Aggr XML for: Oracle Database 11g
    INFO: The Top level Aggreage File = C:\app\User\product\11.2.0\dbhome_1\inventory\ContentsXML\ConfigXML\oracle.server.11_2_0_1_0.xml
    INFO: OUI_CAPlugIn is not found in XML
    INFO: no. of tools to supress: 0 for comp: Oracle Enterprise Manager Console DB
    INFO: processing tool: Launch browser
    INFO: removing plugin invocation for: Launch browseras it doesnt support clone mode
    INFO: removing plugin invocation for: Launch browseras it doesnt support add node mode
    INFO: Namespace prefix 'agg' used but not declared.
    INFO: cf session will be created for OH: C:/app/User/product/11.2.0/dbhome_1\ TLAggr: oracle.server instancePath: inventory\ContentsXML\ConfigXML\
    INFO: cf session for OH: C:/app/User/product/11.2.0/dbhome_1\ TL Aggr: [oracle.server] instancePath: inventory\ContentsXML\ConfigXML\
    INFO: aggr ref length : 6
    INFO: cf session hashcode: 1847125318
    INFO: cf session saved with key: OraDb11g_home1 oracle.server
    INFO: cf session is ok
    INFO: created and saved cf session for oh: OraDb11g_home1
    INFO: passing params to cf
    INFO: Handling the storing of variables for aggr name oracle.sysman.ccr
    INFO: This variable s_OPSNodeInfoString is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable b_createResponseFile is not added to the global context map
    INFO: This variable s_ps is not added to the global context map
    INFO: This variable s_oraName is not added to the global context map
    INFO: This variable s_ccrJarDestination is not added to the global context map
    INFO: This variable b_localInstall is not added to the global context map
    INFO: This variable b_doConfigCCR is not added to the global context map
    INFO: This variable b_ccrUpgrade is not added to the global context map
    INFO: This variable s_rspFilePath is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: for oracle.has.common no aggregate found by cf: no configuration
    INFO: Handling the storing of variables for aggr name oracle.assistants.netca.client
    INFO: This variable s_swingallName is not added to the global context map
    INFO: This variable s_shareName is not added to the global context map
    INFO: This variable s_runtimeLib is not added to the global context map
    INFO: This variable s_runTimeJar is not added to the global context map
    INFO: This variable s_responseFileName is not added to the global context map
    INFO: This variable s_operatingSystem is not added to the global context map
    INFO: This variable s_netcfgName is not added to the global context map
    INFO: This variable s_netcahelpName is not added to the global context map
    INFO: This variable s_netcaUpgradeFlag is not added to the global context map
    INFO: This variable s_netcaClass is not added to the global context map
    INFO: This variable s_netCA_Args is not added to the global context map
    INFO: This variable s_netCAInstalledProtocols is not added to the global context map
    INFO: This variable s_netAPIName is not added to the global context map
    INFO: This variable s_ldapclnt9 is not added to the global context map
    INFO: This variable s_ldapclnt11 is not added to the global context map
    INFO: This variable s_ldapclnt10 is not added to the global context map
    INFO: This variable s_jreLocation is not added to the global context map
    INFO: This variable s_jreJarFile is not added to the global context map
    INFO: This variable s_jreJar is not added to the global context map
    INFO: This variable s_jewtName is not added to the global context map
    INFO: This variable s_installTypeForLaunchNETCA is not added to the global context map
    INFO: This variable s_icebrowserName is not added to the global context map
    INFO: This variable s_helpName is not added to the global context map
    INFO: This variable s_ewtcompatName is not added to the global context map
    INFO: This variable s_ewtName is not added to the global context map
    INFO: This variable s_ewtFile is not added to the global context map
    INFO: This variable s_ewtCompat is not added to the global context map
    INFO: This variable s_cfgMethod is not added to the global context map
    INFO: This variable s_caHelpZhTwJar is not added to the global context map
    INFO: This variable s_caHelpZhCnJar is not added to the global context map
    INFO: This variable s_caHelpPtBRJar is not added to the global context map
    INFO: This variable s_caHelpKoJar is not added to the global context map
    INFO: This variable s_caHelpJar is not added to the global context map
    INFO: This variable s_caHelpJaJar is not added to the global context map
    INFO: This variable s_caHelpItJar is not added to the global context map
    INFO: This variable s_caHelpFrJar is not added to the global context map
    INFO: This variable s_caHelpEsJar is not added to the global context map
    INFO: This variable s_caHelpDeJar is not added to the global context map
    INFO: This variable s_authAdaptors is not added to the global context map
    INFO: This variable ps_netCA_Args_OverRide is not added to the global context map
    INFO: This variable b_net8ServerInstalling is not added to the global context map
    INFO: This variable b_javavmIsInstalling is not added to the global context map
    INFO: This variable b_isWindows is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable b_cmanIsInstalling is not added to the global context map
    INFO: This variable b_anoIsInstalling is not added to the global context map
    INFO: This variable s_xmlparservLoc is not added to the global context map
    INFO: This variable s_ouiJlibDir is not added to the global context map
    INFO: This variable s_opsmJlib is not added to the global context map
    INFO: This variable s_ntwkTools is not added to the global context map
    INFO: This variable s_netjlibDir is not added to the global context map
    INFO: This variable s_netcahelpLocation is not added to the global context map
    INFO: This variable s_netcaJlibDir is not added to the global context map
    INFO: This variable s_netcaDocDir is not added to the global context map
    INFO: This variable s_netPropertiesFile is not added to the global context map
    INFO: This variable s_netCA is not added to the global context map
    INFO: This variable s_net8caFileToInstantiate is not added to the global context map
    INFO: This variable s_jre15Location is not added to the global context map
    INFO: This variable s_jlibDir is not added to the global context map
    INFO: This variable s_inventoryPrereqOui is not added to the global context map
    INFO: This variable s_emdwLibDir is not added to the global context map
    INFO: This variable s_caHelpDir is not added to the global context map
    INFO: This variable s_assistantJlibDir is not added to the global context map
    INFO: This variable s_JavaFlag is not added to the global context map
    INFO: This variable b_isOPS is not added to the global context map
    INFO: This variable s_windowsCommandLine is not added to the global context map
    INFO: This variable s_net8caExecutable is not added to the global context map
    INFO: This variable s_netcaUserDirArg is not added to the global context map
    INFO: This variable s_installTypeForNetCA is not added to the global context map
    INFO: This variable s_netcaSilentFlag is not added to the global context map
    INFO: This variable s_netCAInstalledProducts is not added to the global context map
    INFO: This variable s_netcaClasspath is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: Handling the storing of variables for aggr name oracle.sysman.console.db
    INFO: This variable s_sid is not added to the global context map
    INFO: This variable s_serverInstallType is not added to the global context map
    INFO: This variable s_platform is not added to the global context map
    INFO: HashMap added with the key oracle.sysman.console.db and an empty variable Vector
    INFO: Adding the variable s_obfOc4jAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_obfOc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_obfJtaAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_obfJtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: This variable s_nlsLang is not added to the global context map
    INFO: This variable s_emailServer is not added to the global context map
    INFO: This variable s_emailAddress is not added to the global context map
    INFO: This variable s_cfgtyperet is not added to the global context map
    INFO: Adding the variable s_JtaAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_JtaAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: This variable n_uploadInterval is not added to the global context map
    INFO: This variable localhost is not added to the global context map
    INFO: This variable b_launchTools is not added to the global context map
    INFO: This variable b_launchBrowser is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable b_centralConsole is not added to the global context map
    INFO: This variable USE_HTTP_PROXY is not added to the global context map
    INFO: This variable USE_DB_CONSOLE is not added to the global context map
    INFO: This variable SET_CONSOLE_MODE is not added to the global context map
    INFO: This variable SA_SETUP is not added to the global context map
    INFO: This variable OC4JLOC is not added to the global context map
    INFO: This variable NO_PC_MODE is not added to the global context map
    INFO: This variable LOGGING_LEVEL is not added to the global context map
    INFO: This variable JRE_HOME is not added to the global context map
    INFO: This variable ISQLPLUS_PROTOCOL is not added to the global context map
    INFO: This variable ISQLPLUS_PORT is not added to the global context map
    INFO: This variable HOST_SID_OFFSET_ENABLED is not added to the global context map
    INFO: This variable HOSTNAME is not added to the global context map
    INFO: This variable EM_UPLOAD_DISABLE is not added to the global context map
    INFO: This variable EM_UIX_DEBUG_FLAG is not added to the global context map
    INFO: This variable EMPRODVER is not added to the global context map
    INFO: This variable CONSOLE_MODE is not added to the global context map
    INFO: This variable CONSOLE_CFG is not added to the global context map
    INFO: This variable sl_oraclehomes is not added to the global context map
    INFO: This variable s_oc4jDir is not added to the global context map
    INFO: This variable s_oc4jAppsDir is not added to the global context map
    INFO: This variable s_jreHome is not added to the global context map
    INFO: This variable s_configcommand is not added to the global context map
    INFO: This variable b_isRAC is not added to the global context map
    INFO: This variable b_UNIX is not added to the global context map
    INFO: This variable OJSP_JAR_LOC is not added to the global context map
    INFO: This variable OJSPUTIL_JAR_LOC is not added to the global context map
    INFO: This variable LDAP_JAR_LOC is not added to the global context map
    INFO: This variable JAVA_HOME is not added to the global context map
    INFO: This variable ISQLPLUS_HOST is not added to the global context map
    INFO: This variable EM_UIX_LOCATION is not added to the global context map
    INFO: This variable EM_REPOS_HOST is not added to the global context map
    INFO: This variable EM_PING_COMMAND is not added to the global context map
    INFO: This variable EM_OC4J_HOME is not added to the global context map
    INFO: This variable EM_EAR_LOC is not added to the global context map
    INFO: This variable EMDROOT is not added to the global context map
    INFO: Adding the variable s_oc4jAdmPasswd to the aggregate oracle.sysman.console.db
    INFO: Adding the variable s_oc4jAdmPasswd to the global context map for the aggregate oracle.sysman.console.db
    INFO: This variable s_launchBrowserClasspath is not added to the global context map
    INFO: This variable s_javapOracleHome is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: Handling the storing of variables for aggr name oracle.assistants.server
    INFO: This variable s_operatingSystem is not added to the global context map
    INFO: This variable s_jreLocation is not added to the global context map
    INFO: This variable pn_dboffset is not added to the global context map
    INFO: This variable cs_swingName is not added to the global context map
    INFO: This variable cs_komodoName is not added to the global context map
    INFO: This variable cs_kodiakName is not added to the global context map
    INFO: This variable cs_jewtName is not added to the global context map
    INFO: This variable cs_iceBrowserName is not added to the global context map
    INFO: This variable cs_ewtcompatName is not added to the global context map
    INFO: This variable cs_ewtName is not added to the global context map
    INFO: This variable cs_baliShareName is not added to the global context map
    INFO: This variable b_orabaseContainsOrahome is not added to the global context map
    INFO: This variable b_isWINDOWS is not added to the global context map
    INFO: This variable b_isUNIX is not added to the global context map
    INFO: This variable sl_dbmaParameterListForIcon is not added to the global context map
    INFO: This variable sl_dbcaParameterListForIcon is not added to the global context map
    INFO: This variable s_xmlparservLoc is not added to the global context map
    INFO: This variable s_ouiJlibLocation is not added to the global context map
    INFO: This variable s_oratabLocation is not added to the global context map
    INFO: This variable s_opsmLocation is not added to the global context map
    INFO: This variable s_dbuaLocation is not added to the global context map
    INFO: This variable s_dbcaLocation is not added to the global context map
    INFO: This variable s_OracleBinLocation is not added to the global context map
    INFO: This variable s_dbcaInstLaunchFile is not added to the global context map
    INFO: This variable s_dbcaLaunchFile is not added to the global context map
    INFO: This variable s_dbmaLaunchFile is not added to the global context map
    INFO: This variable s_dbmaInstLaunchFile is not added to the global context map
    INFO: This variable PROD_HOME is not added to the global context map
    INFO: ORACLE_HOME is not settable, hence not setting the value
    INFO: {Parameter:TOPLEVEL_COMPONENT in {Aggregate:OuiConfigVariables:1.0.0.0.0:common}}: Parameter data type is not compatible with the provided String Array.
    INFO: passing params to cf done
    INFO: done saving info by cf
    INFO: This is a shared oracle home or remote nodes are null. No copy required.
    INFO: Checkpoint:Failed Checkpoint found returning it for getAllFailedCheckPoints.
    INFO: Checkpoint:Failed Checkpoint found returning null for getLastFailedCheckPoint.
    INFO: Checkpoint:Index file written and updated
    INFO: Checkpoint:Transfer of file done from remote node
    INFO: Updating the global context
    INFO: Path To 'globalcontext.xml' = C:\app\User\product\11.2.0\dbhome_1\install\chainedInstall\globalcontext
    INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
    INFO: Number of root scripts to be executed = 0
    INFO: isSuccessfullInstallation: true
    INFO: isSuccessfullRemoteInstallation: true
    INFO: Adding ExitStatus SUCCESS to the exit status set
    INFO: Completed setting up InstallDB
    INFO: Performing Configuration
    INFO: Entering ConfigClient.init method
    INFO: ConfigClient.init sOracleHomeLoc=C:\app\User\product\11.2.0\dbhome_1, sTopAggId=oracle.server
    INFO: Entering ConfigClient.initClientAndSession method
    INFO: ConfigClient.initClientAndSession status : connected to the config framework
    INFO: ConfigClient.initClientAndSession session begun oracle.sysman.emCfg.client.CfwSession@5059a331
    INFO: ConfigClient.initClientAndSession m_oAggregate=[Loracle.sysman.emCfg.common.IAggregate;@2ce90f2d
    INFO: Configuration log directory - C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs
    INFO: Exiting ConfigClient.init method
    INFO: Calling event ConfigSessionInitialized
    INFO: ConfigClient.registerOutErrStream method called
    INFO: Entering ConfigClient.getToolsList method
    INFO: Created config job for Oracle Net Configuration Assistant
    INFO: Created config job for Oracle Database Configuration Assistant
    INFO: Created config job for Oracle Configuration Manager Configuration
    INFO: Updating Transient Parameters in the Aggregates
    INFO: Updating Transient Parameters for oracle.server
    INFO: Updating Transient Parameters for oracle.assistants.netca.client
    INFO: Updating Transient Parameters for oracle.assistants.server
    INFO: Setting value to transient variable s_dbcaArgs
    INFO: Setting value to transient variable S_SYSMANPASSWORD
    INFO: Setting value to transient variable s_systemPasswordFlag
    INFO: Setting value to transient variable s_sysmanPasswordFlag
    INFO: Setting value to transient variable S_HOSTUSERPASSWORD
    INFO: Setting value to transient variable s_dbcaArgsOverride
    INFO: Setting value to transient variable windows_commandline_prefix
    INFO: Setting value to transient variable s_sysPasswordFlag
    INFO: Setting value to transient variable S_SYSPASSWORD
    INFO: Setting value to transient variable s_asmsnmpPasswordFlag
    INFO: Setting value to transient variable S_DBSNMPPASSWORD
    INFO: Setting value to transient variable s_dbsnmpPasswordFlag
    INFO: Setting value to transient variable S_ASMSNMPPASSWORD
    INFO: Setting value to transient variable S_SYSTEMPASSWORD
    INFO: Setting value to transient variable s_hostUserPasswordFlag
    INFO: Updating Transient Parameters for OuiConfigVariables
    INFO: Updating Transient Parameters for oracle.sysman.ccr
    INFO: Updating Transient Parameters for oracle.sysman.console.db
    INFO: Successfully updated Transient Parameters in the Aggregates
    INFO: Configuration log directory - C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs
    INFO:
    The Runconfig command constructed is C:\app\User\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\app\User\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=true $*
    INFO: Created a new file C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands
    INFO: Since the option is to overwrite the existing C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands file, backing it up
    INFO: The backed up file name is C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs\configToolAllCommands.bak
    INFO: Entering ConfigClient.executeToolsInAggregate method
    INFO: ConfigClient.executeToolsInAggregate oAggregate=oracle.server:oracle.server:11.2.0.1.0:common
    INFO: Entering ConfigClient.assignAction method
    INFO: ConfigClient.assignAction actionref=[Loracle.sysman.emCfg.common.IActionReference;@74247cc2
    INFO: ConfigClient.assignAction action is of type :configuration
    INFO: Exiting ConfigClient.assignAction method
    INFO: ConfigClient.executeToolsInAggregate action assigned
    INFO: Started Plugin named: Oracle Net Configuration Assistant
    INFO: Found associated job
    INFO: Starting 'Oracle Net Configuration Assistant'
    INFO: Starting 'Oracle Net Configuration Assistant'
    INFO: INFO: Parsing command line arguments:INFO: Parameter "orahome" = C:\app\User\product\11.2.0\dbhome_1INFO: Parameter "orahnam" = OraDb11g_home1INFO: Parameter "instype" = typicalINFO: Parameter "inscomp" = client,oraclenet,javavm,server,anoINFO: Parameter "insprtcl" = tcp,nmpINFO: Parameter "cfg" = localINFO: Parameter "authadp" = NO_VALUEINFO: Parameter "responsefile" = C:\app\User\product\11.2.0\dbhome_1\network\install\netca_typ.rspINFO: Parameter "silent" = trueINFO: Done parsing command line arguments.INFO: Oracle Net Services Configuration:INFO: Profile configuration complete.INFO: Oracle Net Listener Startup:INFO: Running Listener Control:
    INFO: C:\app\User\product\11.2.0\dbhome_1\bin\lsnrctl start LISTENERINFO: Listener Control complete.INFO: Setting Listener service to start automatically.INFO: Listener started successfully.INFO: Listener configuration complete.INFO: Default local naming configuration complete.INFO: Oracle Net Services configuration successful. The exit code is 0WARNING:
    INFO:
    INFO: Completed Plugin named: Oracle Net Configuration Assistant
    INFO:
    INFO:
    INFO: Started Plugin named: Oracle Database Configuration Assistant
    INFO: Found associated job
    INFO: Starting 'Oracle Database Configuration Assistant'
    INFO: Starting 'Oracle Database Configuration Assistant'
    INFO: Executing DBCA
    INFO: Command C:\Windows\system32\cmd /c call C:\app\User\product\11.2.0\dbhome_1\bin\dbca.bat -progress_only -createDatabase -templateName General_Purpose.dbc -sid orcl -gdbName orcl.168.2.5 -emConfiguration LOCAL -storageType FS -datafileDestination C:\app\User\oradata -datafileJarLocation C:\app\User\product\11.2.0\dbhome_1/assistants/dbca/templates -responseFile NO_VALUE -characterset AL32UTF8 -obfuscatedPasswords false -sampleSchema true -automaticMemoryManagement true -totalMemory 3237 -maskPasswords false -oui_internal
    INFO: ... GenericInternalPlugIn.handleProcess() entered.
    INFO: ... GenericInternalPlugIn: getting configAssistantParmas.
    INFO: ... GenericInternalPlugIn: checking secretArguments.
    INFO: ... GenericInternalPlugIn: starting read loop.
    INFO: Read: SYS_PASSWORD_PROMPT
    INFO: Processing: SYS_PASSWORD_PROMPT for argument tag -sysPassword
    INFO: Read: SYSTEM_PASSWORD_PROMPT
    INFO: Processing: SYSTEM_PASSWORD_PROMPT for argument tag -systemPassword
    INFO: Read: DBSNMP_PASSWORD_PROMPT
    INFO: Processing: DBSNMP_PASSWORD_PROMPT for argument tag -dbsnmpPassword
    INFO: Read: SYSMAN_PASSWORD_PROMPT
    INFO: Processing: SYSMAN_PASSWORD_PROMPT for argument tag -sysmanPassword
    INFO: End of argument passing to stdin
    INFO: Completed Plugin named: Oracle Database Configuration Assistant
    INFO: Oracle Database Configuration Assistant failed.
    INFO: Oracle Database Configuration Assistant failed.
    INFO: ConfigClient.executeToolsInAggregate action performed
    INFO: Exiting ConfigClient.executeToolsInAggregate method
    INFO: Calling event ConfigToolsExecuted
    INFO:
    The Runconfig command constructed is C:\app\User\product\11.2.0\dbhome_1\oui\bin\runConfig.bat ORACLE_HOME=C:\app\User\product\11.2.0\dbhome_1 MODE=perform ACTION=configure RERUN=false $*
    INFO: Created a new file C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands
    INFO: Since the option is to overwrite the existing C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands file, backing it up
    INFO: The backed up file name is C:\app\User\product\11.2.0\dbhome_1\cfgtoollogs\configToolFailedCommands.bak
    INFO: ConfigClient.saveSession method called
    INFO: Calling event ConfigSessionEnding
    INFO: ConfigClient.endSession method called
    INFO: Completed Configuration
    INFO: Shutting down OUISetupDriver.JobExecutorThread
    INFO: Cleaning up, please wait...
    INFO: Dispose the install area control object
    INFO: Update the state machine to STATE_CLEAN
    INFO: All forked task are completed at state setup
    INFO: Completed background operations
    INFO: Moved to state <setup>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <setup>
    INFO: Completed validating view at state <setup>
    INFO: Validating state <setup>
    WARNING: Validation disabled for the state setup
    INFO: Completed validating state <setup>
    INFO: Verifying route success
    INFO: Get view named [FinishUI]
    INFO: View for [FinishUI] is oracle.install.ivw.db.view.FinishUI@22d215
    INFO: Initializing view <FinishUI> at state <finish>
    INFO: Completed initializing view <FinishUI> at state <finish>
    INFO: Displaying view <FinishUI> at state <finish>
    INFO: Completed displaying view <FinishUI> at state <finish>
    INFO: Loading view <FinishUI> at state <finish>
    INFO: Install Succeeded: true
    INFO: Config Tool Succeeded: false
    INFO: Remote Install Succeeded: true
    INFO: Completed loading view <FinishUI> at state <finish>
    INFO: Localizing view <FinishUI> at state <finish>
    INFO: Completed localizing view <FinishUI> at state <finish>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state finish
    INFO: FinishAction Actions.execute called
    INFO: Completed executing action at state <finish>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <finish>
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is 0
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    Edited by: rnair on Mar 18, 2013 10:08 AM

    rnair wrote:
    I am trying to install Oracle 11g R2 on my windows 7, 64bit computer. After 42% of installation, it started showing some files are missing. Few of them are:
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMLRSVCApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMGRApp.ear
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\owb.tmp
    C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\setowbenv.tmp
    C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\system-application.xml
    And the final pop up winow says:
    Database configuration Assistant:Info
    *"Template General_Purpose.dbc does not exists. Please specify an exixting template for database creation"*
    *"[INS-20802] Oracle Database Configuration Assistant failed"*
    Details:
    Cause:- The plug-in failed in its perform method
    Action:- Refer to the logs or contact Oracle Support Services.
    Following are the last few lines of the log file. Can anyone please help me to fix this problem?<snip>
    the error has nothing to do with DBCA. DBCA was simply the last in a long string of victims.
    Go back and read the instructions where you downloaded the install media. They state that the TWO zip files you download must be unzipped into the same directory.

  • 'Scheduler' link in Oracle Database Control

    Hi all,
    In Oracle Database Control, I cannot see link to "Scheduler" under Administration tab page as described in the documentation or a link to "Manage Current Backups"
    How can I obtain those links?
    Please note that I'm speaking about Oracle EM Databse Control (that shipped with the datbase CD itself) and not the Database Grid Control product.
    Thanks in advance,
    Ahmed B.

    I have the same problem with Grid Control 10.1.0.4 on Sun Solaris 9. Target database are 10.1.0.4.0 64-bit, also on Solaris 9 64-bit. As described in Help, under "Administration" tab is sub-tab "Scheduler" with following links: Jobs, Schedules, Programs, Job Classes, Windows, Window Groups.
    Who knows, what I need to do for resolving this issue? I need scheduler administration!

  • Delete old records in oracle database using jobs

    Hi,
    will it be possible to delete old records in oracle database using jobs
    need to delete old records on weekly basis and rebuild my index.
    Thanks!

    933633, While it is possible to do a great deal with the dbms_scheduler your shop should have a scheduler like CA Unicenter that is used to run the application job schedules. Purge jobs should probably be part of the normal application schedule rather than contained in the database, if your shop has a scheduler in use.
    As far as rebuilding the indexes after the purge keep in mind that freshly rebuilt indexes often have to split when inserts are performed due to the fact the compacted index blocks do not have room to hold the newly inserted keys in the appropriate locations. So just because you purge weekly does not automatically mean the indexes should be rebuilt weekly. You need to look at the index key DML pattern and at the total percentage of the index that is held by deleted rows.
    HTH -- Mark D Powell --

  • How to schedule JOB in ORacle

    I have one package and in side that package i have 5 Procedure like
    a;
    b;
    c;
    I would like to run that Package every 2 hrs automatically , Please provide me the solution how to schedule this job ..and i would like to get the errors while executing those Procedures
    thanks
    MAASH

    Hi,
    You cannot run a package, you can only run a procedure in the package.
    In Oracle 10g and up the recommended way to do this is using dbms_scheduler for example to run scott.pkg.a every two hours you would do
    begin
    dbms_scheduler.create_job('myjob',
    job_type=>'plsql_block',
    job_action=>'scott.pkg.a();',
    repeat_interval=>'freq=hourly;interval=2;byminute=0',
    enabled=>true);
    end;
    Errors and successful runs will be logged in all_scheduler_job_run_details.
    For more info see the Scheduler documentation at
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/scheduse.htm (examples)
    http://st-doc.us.oracle.com/11/111/appdev.111/b28419/d_sched.htm (reference documentation)
    There is also a dedicated forum for dbms_scheduler questions here
    Scheduler
    Hope this helps,
    Ravi.

  • How to stop a Scheduler Job in Oracle BI Publisher 10g

    Hello!
    Can someone tell me how can I stop a scheduler job in Oracle BI Publisher 10g?
    I scheduled a bursting job to run a report but is running during two days.
    I would like to stop it.
    Thanks.
    Edited by: SFONS on 19-Jan-2012 07:16

    Unfortunately there is no way to stop a job once it is being executed. Yes as you read, it is not possible once job has started.
    Same thing applies for running queries.
    Once queries are sent to the DB BIP loses control over them. The message you see (if any) "Click Here to Cancel" does not stop any query
    it is just a message.
    I guess you will have to stop/kill the process in your DB
    regards
    Jorge
    p.s If you consider your question answered then please mark my answer as *"Correct"* or *"Helpful"*

  • Our organization uses an Oracle database hosted on a Unix platform and one of our data processing outputs is a "stuffer" document that has a barcode, and Unix jobs automatically send the document to a printer.   Is there a way, or does Adobe have a produc

    Our organization uses an Oracle database hosted on a Unix platform and one of our data processing outputs is a “stuffer” document that has a barcode, and Unix jobs automatically send the document to a printer.
    Is there a way, or does Adobe have a product or solution, to create a PDF version of the document including the barcode, before it’s sent to a printer?

    What format is the document that is printed? Or what technology is used to format the printer? There isn't a standard way of doing things in Unix.

Maybe you are looking for