RMAN started with job Scheduler on RAC

Has someone an example how to define a job in Oracle job scheduler to run RMAN on one of the running node.
The idea is be able to choose automatically in case of faillure the node where the RMAN backup will run.

This may not be a direct answer to your question, but, thinking it might be helpful to you.
In case, if the instance crashses half way through during RMAN backups, you can presume RMAN backups by placing 'NOT BACKED UP SINCE TIME' to backup the datafiles which are not backed up since the given time.
Jaffar

Similar Messages

  • Database not start with srvctl  command in rac 10g

    hi
    when i change parameter in sqlnet file
    SQLNET.AUTHENTICATION_SERVICES= (NTS) to SQLNET.AUTHENTICATION_SERVICES= (NONE)
    then database is not started with srvctl utillity but started with sqlplus enviroment.
    please help in this issue

    user521214 wrote:
    hi,
    we are implementing security policy for our client. our databas is on RAC . As per the security, we need to revoke sys dba priviliges. when i used SQLNET.AUTHENTICATION_SERVICES=(NTS) in sqlnet.ora or SQLNET.AUTHENTICATION_SERVICES=(NONE). the instance not start with the following command in rac 10g.
    $srvctl start database -d abc
    $ crs_stat -t
    Name Type Target State Host
    ora.db.db application OFFLINE OFFLINE
    ora....b1.inst application ONLINE OFFLINE hosttest01
    Edited by: user521214 on Apr 21, 2011 4:08 AMIs this the only parameter you changed? What happens when you undo this modification?
    What do you see on log files?

  • COMPLICATIONS WITH JOB SCHEDULING

    This was the table which i created...
    CREATE TABLE dummy(Serial NUMBER(6),Moment VARCHAR2(100));
    The below is the procedure that i used fro my job on the above table...
    CREATE OR REPLACE PROCEDURE dummy_dummy IS
    a NUMBER(6):=0;
    BEGIN
    FOR i IN A..10 LOOP
    INSERT INTO dummy VALUES(a,TO_CHAR(SYSDATE,'DD:MON:YYYY:HH24:MI:SS'));
    a:=a+1;
    END LOOP;
    END dummy_dummy;
    And, the below is my job coding....
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB
    job_name                  =>  'for_dummy_dummy_proc',
    job_type                  =>  'PLSQL_BLOCK',
    job_action                =>  'BEGIN dummy_dummy; END;',
    start_date                =>  SYSTIMESTAMP,
    repeat_interval           =>  'freq=minutely; interval=1;',
    end_date                  =>  NULL,
    enabled                   =>  TRUE,
    comments                  =>  'This JOB is to update dummy values in the DUMMY table'
    END;
    BEGIN
    DBMS_SCHEDULER.RUN_JOB
    job_name              =>  'for_dummy_dummy_proc'
    END;
    Everything went on fine except the first run of the scheduling....
    At 49 minute... it ran two times at 23 rd and 28 th.
    But, then after it ran fine once a minute on every 23 rd second. Why am I facing this problem????
    The output is as below.
    8
    14:NOV:2013:15:55:23
    9
    14:NOV:2013:15:55:23
    0
    14:NOV:2013:15:54:23
    1
    14:NOV:2013:15:54:23
    2
    14:NOV:2013:15:54:23
    3
    14:NOV:2013:15:54:23
    4
    14:NOV:2013:15:54:23
    10
    14:NOV:2013:15:54:23
    8
    14:NOV:2013:15:54:23
    7
    14:NOV:2013:15:54:23
    6
    14:NOV:2013:15:54:23
    5
    14:NOV:2013:15:54:23
    9
    14:NOV:2013:15:54:23
    0
    14:NOV:2013:15:53:23
    1
    14:NOV:2013:15:53:23
    2
    14:NOV:2013:15:53:23
    3
    14:NOV:2013:15:53:23
    4
    14:NOV:2013:15:53:23
    5
    14:NOV:2013:15:53:23
    6
    14:NOV:2013:15:53:23
    7
    14:NOV:2013:15:53:23
    8
    14:NOV:2013:15:53:23
    9
    14:NOV:2013:15:53:23
    10
    14:NOV:2013:15:53:23
    4
    14:NOV:2013:15:52:23
    3
    14:NOV:2013:15:52:23
    2
    14:NOV:2013:15:52:23
    1
    14:NOV:2013:15:52:23
    0
    14:NOV:2013:15:52:23
    5
    14:NOV:2013:15:52:23
    10
    14:NOV:2013:15:52:23
    9
    14:NOV:2013:15:52:23
    8
    14:NOV:2013:15:52:23
    7
    14:NOV:2013:15:52:23
    6
    14:NOV:2013:15:52:23
    0
    14:NOV:2013:15:51:23
    1
    14:NOV:2013:15:51:23
    2
    14:NOV:2013:15:51:23
    3
    14:NOV:2013:15:51:23
    4
    14:NOV:2013:15:51:23
    10
    14:NOV:2013:15:51:23
    6
    14:NOV:2013:15:51:23
    7
    14:NOV:2013:15:51:23
    8
    14:NOV:2013:15:51:23
    9
    14:NOV:2013:15:51:23
    5
    14:NOV:2013:15:51:23
    4
    14:NOV:2013:15:50:23
    3
    14:NOV:2013:15:50:23
    2
    14:NOV:2013:15:50:23
    1
    14:NOV:2013:15:50:23
    0
    14:NOV:2013:15:50:23
    5
    14:NOV:2013:15:50:23
    6
    14:NOV:2013:15:50:23
    7
    14:NOV:2013:15:50:23
    8
    14:NOV:2013:15:50:23
    9
    14:NOV:2013:15:50:23
    10
    14:NOV:2013:15:50:23
    0
    14:NOV:2013:15:49:28
    1
    14:NOV:2013:15:49:28
    10
    14:NOV:2013:15:49:28
    9
    14:NOV:2013:15:49:28
    8
    14:NOV:2013:15:49:28
    7
    14:NOV:2013:15:49:28
    6
    14:NOV:2013:15:49:28
    5
    14:NOV:2013:15:49:28
    4
    14:NOV:2013:15:49:28
    3
    14:NOV:2013:15:49:28
    2
    14:NOV:2013:15:49:28
    0
    14:NOV:2013:15:49:23
    9
    14:NOV:2013:15:49:23
    8
    14:NOV:2013:15:49:23
    7
    14:NOV:2013:15:49:23
    6
    14:NOV:2013:15:49:23
    10
    14:NOV:2013:15:49:23
    4
    14:NOV:2013:15:49:23
    3
    14:NOV:2013:15:49:23
    2
    14:NOV:2013:15:49:23
    1
    14:NOV:2013:15:49:23
    5
    14:NOV:2013:15:49:23

    Balamurali.P.C wrote:
    This was the table which i created...
    CREATE TABLE dummy(Serial NUMBER(6),Moment VARCHAR2(100));
    The below is the procedure that i used fro my job on the above table...
    CREATE OR REPLACE PROCEDURE dummy_dummy IS
    a NUMBER(6):=0;
    BEGIN
    FOR i IN A..10 LOOP
    INSERT INTO dummy VALUES(a,TO_CHAR(SYSDATE,'DD:MON:YYYY:HH24:MI:SS'));
    a:=a+1;
    END LOOP;
    END dummy_dummy;
    And, the below is my job coding....
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB
    job_name                  =>  'for_dummy_dummy_proc',
    job_type                  =>  'PLSQL_BLOCK',
    job_action                =>  'BEGIN dummy_dummy; END;',
    start_date                =>  SYSTIMESTAMP,
    repeat_interval           =>  'freq=minutely; interval=1;',
    end_date                  =>  NULL,
    enabled                   =>  TRUE,
    comments                  =>  'This JOB is to update dummy values in the DUMMY table'
    END;
    BEGIN
    DBMS_SCHEDULER.RUN_JOB
    job_name              =>  'for_dummy_dummy_proc'
    END;
    Everything went on fine except the first run of the scheduling....
    At 49 minute... it ran two times at 23 rd and 28 th.
    But, then after it ran fine once a minute on every 23 rd second. Why am I facing this problem????
    It isn't problem, you have the expected behaviour: you scheduled it to run every minute, starting from 49:23 when you created the job as ENABLED, and then you ran it manually at 49:28.
    Incidentally, the line a:=a+1  is not doing anything for you.

  • Problem with job scheduling

    When I execute that job :
    VARIABLE nojob NUMBER;
    begin
    DBMS_JOB.SUBMIT(:nojob,'my_proc();', sysdate, 'sysdate + 15/24');
    end;
    the job is submitting successfully, but it can't run automatically. If I force it :
    begin
    DBMS_JOB.RUN(:nojob);
    end;
    I've the following error :
    ERROR at line 1:
    ORA-12011: execution of 1 Jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 394
    ORA-06512: at "SYS.DBMS_JOB", line 267
    ORA-06512: at line 2
    Have you already seen that problem !
    And do you know how resolve it?
    Thanks.
    null

    Same Problem persists. I removed ':' from my code and tried again, No progress. Here is my code and error message again when I try to run the job manually by dbms_job.run(jobno).
    DECLARE
    jobno number;
    BEGIN
    DBMS_JOB.SUBMIT(jobno,
    'dbms_utility.analyze_schema(''JHTMW_TU_KAMAL'',''COMPUTE'');',
    SYSDATE, 'NEXT_DAY(TRUNC(SYSDATE), ''WEDNESDAY'') + 13/24');
    COMMIT;
    END;
    The error code is
    SQL> exec dbms_job.run(21);
    BEGIN dbms_job.run(21); END;
    ERROR at line 1:
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 394
    ORA-06512: at "SYS.DBMS_JOB", line 276
    ORA-06512: at line 1
    Michael
    My job processes are on. I have a value 2 set for job_queue_processes and the value 10 is set for job_queue_interval in my init.ora file.
    null

  • Help with job scheduling; decode error

    Hi
    Iam trying to change a job that runs my procedure using dbms_job.. Here is the output I got.
    Can someone help me why this is giving me errors.
    <code>
    SQL> exec dbms_job.next_date(395,decode(sign(substr(to_char(sysdate,'dd/mm/yy hh24:mi'),10,2)-17),-1,'trunc(sysdate) +18.5/24',1,'trunc(sysdate)+1+6.5/24'));
    BEGIN dbms_job.next_date(395,decode(sign(substr(to_char(sysdate,'dd/mm/yy hh24:mi'),10,2)-17),-1,'trunc(sysdate) +18.5/24',1,'trunc(sysdate)+1+6.5/24')); END;
    ERROR at line 1:
    ORA-06550: line 1, column 30:
    PLS-00204: function or pseudo-column 'DECODE' may be used inside a SQL
    statement only
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    </code>
    Thanks in advance

    I'm not sure what you're trying to achieve.
    Is this a one time action or do you want to run this statement on a regular basis?
    How about this:
    begin
      if ( to_number(to_char(sysdate,'hh24')) <= 17 ) then
        dbms_job.next_date(395, 'trunc(sysdate)+18.5/24');
      else
        dbms_job.next_date(395, 'trunc(sysdate)+1+6.5/24');
      end if;
    end;

  • Problems with Job Scheduling  Monitoring

    <Orignial text erased>
    Solicitation not tolerated on SDN. I deleted the other posts from him, but I didn't want to loose the good responses in this thread. Mark Finnern.
    Message was edited by: Mark Finnern

    I guess you didnt see the weblog.
    Yes, it was for you although I should probably have added a
    Check out the weblogs from 24th Sept.  Lutz wrote one titled "All points go to Ibai" - I thought you might have read it.
    /people/lutz.morrien3/blog/2004/09/24/all-points-go-to-ibai
    John.

  • ASE 15.7 Job Scheduler won´t start again

    Hi,
    we encoutered the following problem in our ECC6.0 / EHP5 on ASE 15.7 PL 122 System:
    DBACockpit / Collector Configuration shows the warning "The ASE-Job Scheduler is not active". The log SID_JSAGENT shows the following entries:
    00:11704:12104:2014/09/01 08:00:35.78 jamain  Opening jsagent connection.
    00:11704:12104:2014/09/01 08:00:35.78 jamain  Agent will listen on <IP>
    00:11704:12104:2014/09/01 08:00:35.78 jamain  SYB_JSAGENT waiting for connection
    00:11704:12104:2014/09/01 08:00:36.72 jamain  Job Scheduler Agent connected with Job Scheduler Task on port 4903
    00:11704:12104:2014/09/01 08:00:36.72 jamain  Initializing SYB_JSAGENT
    00:11704:12104:2014/09/01 08:00:36.72 jamain  Allocating list resources.
    00:11704:12104:2014/09/01 08:00:36.72 jamain  Allocating queue resources.
    00:11704:12104:2014/09/01 08:00:36.72 jamain  Allocating thread resources.
    00:11704:12104:2014/09/01 08:00:36.72 jamain  Initializing connection pool.
    00:11704:12104:2014/09/01 08:00:36.99 jamain  Client message: ct_connect(): user api layer: external error: The connection failed because of invalid or missing external configuration data.
    00:11704:12104:2014/09/01 08:00:36.99 jamain  ct_connect() failed.
    00:11704:12104:2014/09/01 08:00:36.99 jamain  jsj_AddConxs: jsd_MakeConnection() failed for user jstask to server SID
    00:11704:12104:2014/09/01 08:00:36.99 jamain  jsj_CreateConxPool: jsj_AddConxs() failed
    00:11704:12104:2014/09/01 08:00:36.99 jamain  Initialization failed initializing connection pool
    00:11704:12104:2014/09/01 08:00:36.99 jamain  Jsagent failed to handle INIT message.
    00:11704:12104:2014/09/01 08:00:36.99 jamain  JS Agent aborting. Cancel all running jobs.
    00:11704:12104:2014/09/01 08:00:36.99 jamain  Job Processing failed.
    00:11704:12104:2014/09/01 08:00:36.99 jamain  JS Agent exiting.
    Restarting the scheduler on ISQL doesn´t seem to work. Any ideas?
    Many thanks & greetings
    Vierengel Stefan

    Hi,
    thank you. Problem was solved by performing the following steps
    1.     deleting the following file: DRIVE:\sybase\SID\OCS-15_0\ini\ocs.cfg
    2.     Stop / Start Job Scheduler
             exec sybmgmtdb..sp_sjobcontrol '','stop_js'
            go
             exec sybmgmtdb..sp_sjobcontrol '','start_js'
            go
    3.     Refresh DBACockpit
    Greetings
    Vierengel Stefan

  • Job scheduling

    Hi Friends,
             i have a problem with job scheduling.
    two jobs need to be scheduled. (job1 and job2)
    i used
    job_open.
    submit job1 using parameters.
    job_close.
    then for second job.
    job_open.
    submit job2 using parameter2.
    job_close.
    when i go and look in sm37. i see when job1 is running the job2 is in release status.
    but what we need is when job1 is running job2 should be in schedule status. it should start only after job1 is completed.
    in the job2 job_close i used job1 as the PRED_JOBNAME.
    but i when i run the program job2 is in released status , not in schedule mode.
    is there any way we can make the job2 in scheduled mode instead of release.
    can we use event to control this. if yes please let me know how we can do it.
    Thanks

    Hi,
    As Appana wrote - i'm not sure there's a problem, but why don't u make one job with 2 steps? this way u will be perfectly sure that job2 (2nd step in the new job) will run only after job1 (1st step n the new job)...
    Good luck
    Igal

  • Connect by and start with

    what do these comands do connect by and start with ? please answer thanks

    what do these comands do connect by and start with ? please answer thanks Here's an example that may help. In the EMP table you have all employees of a company; this includes
    all levels, President, managers, and (regular) employees.
    Let's say you want to know who works for who.
    First, just to see who is in the table
    select empno, ename, job from emp;
    EMPNO     ENAME     JOB           MGR
    7901     CLARK     MANAGER            7900
    7902     MILLER     CLERK          7901
    7903     SMITH     CLERK          7905
    7904     ADAMS     CLERK          7906
    7905     FORD     ANALYST          7907
    7906     SCOTT     ANALYST          7907
    7907     JONES     MANAGER     7900
    7908     ALLEN     SALESMAN     7909
    7909     BLAKE     MANAGER     7900
    7910     MARTIN     SALESMAN     7909
    7911     JAMES     CLERK          7912
    7912     TURNER     SALESMAN     7909
    7913     WARD     SALESMAN     7909
    7900     KING     PRESIDENT
    [\CODE]
    Now, using the START WITH and CONNECT BYSELECT LPAD(' ',2*(LEVEL-1)) || ename org_chart,
    empno, mgr, job
    FROM emp
    START WITH job = 'PRESIDENT'
    CONNECT BY PRIOR empno = mgr
    ORG_CHART     EMPNO     MGR     JOB
    KING          7900          PRESIDENT
    CLARK          7901     7900     MANAGER
    MILLER          7902     7901     CLERK
    JONES          7907     7900     MANAGER
    FORD          7905     7907     ANALYST
    SMITH          7903     7905     CLERK
    SCOTT          7906     7907     ANALYST
    ADAMS     7904     7906     CLERK
    BLAKE          7909     7900     MANAGER
    ALLEN          7908     7909     SALESMAN
    MARTIN          7910     7909     SALESMAN
    TURNER          7912     7909     SALESMAN
    JAMES          7911     7912     CLERK 30
    WARD          7913     7909     SALESMAN
    [\CODE]

  • Reports-Job-Scheduler: create job with startoption later: wrong date-format

    Hi,
    I test reports 11.1.1.2.0 (weblogic11 g) and try to start a report job with Reports-Job-Scheduler.
    Startoption: later and date = 09:48 Jan 12, 2010
    When I submit the job I get following Error:
    REP-50006: Das Argument SCHEDULE ist in der Befehlszeile ungültig: 09:48 Jän 12, 2010
    in english:
    Rep-50006: argument Schedule is wrong in command line: 09:48 Jän 12, 2010
    Why is Jän instead of Jan.
    When I start the report in February then it works.
    I defined also environment variables in basic configuration for the report server:
    NLS_DATE_FORMAT DD.MM.YYYY
    NLS_DATE_LANGUAGE GERMAN
    NLS_LANG GERMAN_GERMANY.WE8ISO8859P1
    I would be very pleased to get support.
    Many thanks
    Alois

    I created a SR and oracle support found a bug in EM.

  • Requested start time during job scheduling population in local time.

    Hello Experts,
    Could you please help on the issue.
    Requested start time during job scheduling populated with local time even though we have assigned the GMT time zone.
    Could you please help , how to change the settings of request start time calender icon to populate the GMT time.
    thanks,
    Suresh.

    Hello Gerben,
    Thanks for the reply, even though the default time zone set as GMT in user settings, the requested start time calender pop up the local time instead of GMT time.
    Previously requested start time poped up  the GMT time, we have observed this change once we have ran the redwood script for time window elements change and imported some of the job definitions, applications & time windows from other system.
    Below is the script we have ran thought shell script
    Script Fuctionality
    1. Take the mentioned time window
    2. iteratate thought the time window elements and add 1 hour to the "time to day from" & "time to day to" parameters.
    3. set the changed parametes to time window and persist the changes.
    // Variable Declarations
    String timewindow = null;
    String query = null;
    TimeWindow tw = null;
    TimeWindowElement twe = null;
    long otdvalue = 3600000;
    long l1 = 0;
    long l2 = 0;
    long threshold = 0 ;
    long expvalue = 82800000;
    long expvalue1 = 85500000;
    long indto1 = 0;
    long indfrom1 = 300999;
    long indto2 = 2700000;
    long indfrom2 =  3000999;
    Job job = null;
    //Declare all the time windows in array
    String[] timewindows = {"XX_TIMEWINDOW_01_GMT"};
              for( int i = 0 ; i < timewindows.length; i++)
              timewindow =  timewindows<i>;
              jcsOut.println("TimeWindow"i":"+timewindows<i>);
              tw = jcsSession.getTimeWindowByName(timewindow);
              for (Iterator it1 = tw.getTimeWindowElements(); it1.hasNext();)
                   twe = (TimeWindowElement) it1.next();
                   Long otd = new Long(otdvalue);
                   jcsOut.println("************************");
                   jcsOut.println(twe.getTimeOfDayFrom());
                   jcsOut.println(twe.getTimeOfDayTo());
                   jcsOut.println("************************");
                   Long todf = (Long) twe.getTimeOfDayFrom();
                   Long todt = (Long) twe.getTimeOfDayTo();
                                      threshold = todf.longValue();
                            // if timeday from equal to 23 GMT assign the 0 GMT
                                      if(threshold == expvalue )
                    jcsOut.println("timewindow with 23 GMT");
                   l1 = indto1;
                   l2 = indfrom1;
                            //if timedayfrom equal to 23:45 GMT assign 0:45 GMT
                   else if(threshold == expvalue1)
                   jcsOut.println("timewindow with 23:45 GMT");
                   l1 = indto2;
                   l2 = indfrom2;
                            // Add 1 hour for current time of day from 
                   else
                   l1 = todf.longValue() + otdvalue;
                   l2 = todt.longValue() +  otdvalue;
                   Long ll1 = new Long(l1);
                   Long ll2 = new Long(l2);
                   twe.setTimeOfDayFrom(ll1);
                   twe.setTimeOfDayTo(ll2);
                   jcsOut.println("After Change:"+ twe.getTimeOfDayFrom());
                   jcsSession.persist();
    Once after the script competetion the time window time zone remains in GMT.
    Could you please check script once and  help us  the time zone change caused  the by script or not?
    Thanks,
    Suresh

  • Job with Multiple Schedule of same time & only one is executed, Why

    Hi ALL,
    I've Created a package to notify report in email  as excel, which is using a path to render report and save it as excel.
    This package was need to be schedule every first day of month and on every Friday even at morning 7 AM.
    So logically these are two events.
    But if we see on 1 May 2015 we have Friday and plus first day of month
    So technically this should fail.
    either for IO operation for render &
    storing data over same location with same file name.
    To replicate this i created two three schedule
    Below is the job history, job is invoked by only one schedule
    Question-
    1) Why one one schedule execute?
    2) why "sched2" only , it could be "sched3" only or "DentalOperationStackAndRank-Sched1" Only?
    Another this i result into error if different job executing same package at same schedule.
    FYI- package is deployed at database level
    HS

    Hi HS,
    As described in this
    article, more than one job can run on the same schedule, and more than one schedule can apply to the same job.
    And I make a test about your scenario, when configuring a SQL Server job with three schedules that reference same dates and times, my job behaves as yours that only one schedule is executed, but the job is invoked by schedule2 or schedule 3 in my environment.
    It is a normal behavior of SQL Server job in my opinion. For more details about such scenario, you can track the job following this
    blog.
    However, when I configure three jobs that run on the same schedule, everything works well and the three jobs all run successfully.
     I recommend you configure three different jobs that execute same package at same schedule .
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • I have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    i have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    No not bothered about sycing apps etc it is all about calendars and maybe notes. IN terms of how its done I just want it the easiest way and preferably so that if an entry is made on one calendar then it populates the other.
    Thgius is beacuse I have my work diary on outlok, which I then link with my ical. I want to make sure that information is then shared with her.
    Chris

  • How to start with RMAN as I am beginner?

    Dear all,
    How to start with RMAN as I am beginner? Any simple document or guide line for me.
    Thanks,
    Amy

    How to start with RMAN as I am beginner? Any simple
    document or guide line for me.go to yours oracle home directory /orahome/bin there is RMAN exe tool run it it will show you prompt RMAN
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle.  All rights reserved.
    RMAN> connect target sys/sys
    connected to target database: ORCL (DBID=1171886541)
    RMAN> backup database
    2> ;
    Starting backup at 21-JAN-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
    input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NNNDF_TAG20080121T135924_3S8QQF74_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NCSNF_TAG20080121T135924_3S8QSSN4_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 21-JAN-08
    http://www.orafaq.com/faq/rmanKhurram

  • Grab a list of the latest note for each job when/if they start with set text

    How would I look only to the latest [01-JobComment].[Creation_Date] where [01-JobComment].[text] starts with the text "AB001:" for each [05-Job].[Job_ID]?
    SELECT [05-Job].Job, [01-JobComment].[CREATION_DATE], Mid([01-JobComment].[TEXT],1,6) AS AB001, [05-Job].Name, [05-Job].Owner, [05-Job].Type, [01-JobComment].CREATED_BY, [01-JobComment].CREATED_BY, [05-Job].Status, [05-Job].Owner
    FROM [05-Job] INNER JOIN [01-JobComment] ON [05-Job].Job = [01-JobComment].JOB_ID
    WHERE ((([01-JobComment].[CREATION_DATE])>[05-Job].[AsBuiltProof]) AND ((Mid([01-JobComment].[TEXT],1,6))="AB001:"))
    ORDER BY [01-JobComment].[CREATION_DATE];

    I'm not sure this is what you want:
    SELECT [05-Job].Job, (SELECT Max(T.CREATION_DATE) FROM [01-JobComment] AS T WHERE T.JOB_ID=[01-JobComment].JOB_ID AND Left(T.[text],6)='AB001:') AS CreationDate, Left([01-JobComment].[TEXT],6) AS AB001, [05-Job].Name, [05-Job].Owner, [05-Job].Type, [01-JobComment].CREATED_BY,
    [05-Job].Status
    FROM [05-Job] INNER JOIN [01-JobComment] ON [05-Job].Job = [01-JobComment].JOB_ID
    WHERE [01-JobComment].[CREATION_DATE]>[05-Job].[AsBuiltProof] AND Left([01-JobComment].[TEXT],6)="AB001:"
    ORDER BY [01-JobComment].[CREATION_DATE];
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

Maybe you are looking for

  • Sales Order dates for delivery

    I am a newbie to most of SAP and was wondering how are all the dates such as loading, goods issue etc... calculated from the delivery date? Assuming its based on sold to and delivering plant where is this config done and what is logic?

  • Header / Footer in Analysis PDF

    Hello, I'm trying to add a default header / footer to all pdf generated by Analysis. I looked at the section "18.6.2.1 Adding a Default Header or Footer to New Analyses" in OBIEE system administrator guide and followed exatcly the steps. I created a

  • Importer Process Server

    This is so frustrating. I have done a search for this but none of the posts were helpful as per this: The issue is that there is not even an event log for this crash. Yes I have restarted the computer to no avail. The only solution I have found to to

  • Vendor Master - Restrict Change of fields

    Hi Guys, Is it possible to grey out certain fields in vendor master so that they cannot be changed? While using FK02 or XK02, I want certain fields to be greyed out so users cannot change. And is it possible to develop a new transaction code using wh

  • Airport Express does not show up in iTunes to stream audio...

    I updated iTunes to 8.0 and no longer can see my Airport Express as an option in the pull down screen to stream audio from my iTunes to the AE. The AE has a green light. which makes me believe that it found my LAN, but it can't find my mac. Router: L