niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle » Tools
RMAN job scheduling 10g
Post new topic   Reply to topic Page 1 of 1 [8 Posts] View previous topic :: View next topic
Author Message
graff3@hotmail.com
*nix forums beginner


Joined: 20 Dec 2005
Posts: 21

PostPosted: Sat Jul 15, 2006 7:58 am    Post subject: RMAN job scheduling 10g Reply with quote

Hi guys,

I have noticed when a RMAN job is scheduled using OEM it is given
special status to other Oracle jobs.

I want to know how can one schedule a RMAN job using SQL Plus or RMAN
so the our jobs can be displayed in the OEM's RMAN view.

Cheers

Max
Back to top
psoug
*nix forums Guru


Joined: 15 May 2005
Posts: 3492

PostPosted: Sat Jul 15, 2006 10:21 pm    Post subject: Re: RMAN job scheduling 10g Reply with quote

graff3@hotmail.com wrote:
Quote:
Hi guys,

I have noticed when a RMAN job is scheduled using OEM it is given
special status to other Oracle jobs.

I want to know how can one schedule a RMAN job using SQL Plus or RMAN
so the our jobs can be displayed in the OEM's RMAN view.

Cheers

Max

You can't.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Back to top
psoug
*nix forums Guru


Joined: 15 May 2005
Posts: 3492

PostPosted: Sat Jul 15, 2006 10:21 pm    Post subject: Re: RMAN job scheduling 10g Reply with quote

graff3@hotmail.com wrote:
Quote:
Hi guys,

I have noticed when a RMAN job is scheduled using OEM it is given
special status to other Oracle jobs.

I want to know how can one schedule a RMAN job using SQL Plus or RMAN
so the our jobs can be displayed in the OEM's RMAN view.

Cheers

Max

Retraction as I hadn't noted that you have 10g.

Use the DBMS_SCHEDULER built-in package.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Back to top
graff3@hotmail.com
*nix forums beginner


Joined: 20 Dec 2005
Posts: 21

PostPosted: Sun Jul 16, 2006 12:10 am    Post subject: Re: RMAN job scheduling 10g Reply with quote

Hi Daniel,

You are right about the DBMS_SCHEDULER package. But that is what I am
currently using and NOT entirely satisfied -

I want my following SQL to be treated by RMAN as its own job rather
than a generic Oracle job.

BEGIN
sys.dbms_scheduler.create_job(
job_name => '"SYS"."TEST"',
job_type => 'EXECUTABLE',
job_action => 'c:\test.bat',
start_date => sysdate,
job_class => 'DEFAULT_JOB_CLASS',
comments => 'hello',
auto_drop => FALSE,
enabled => FALSE);
sys.dbms_scheduler.set_attribute( name => '"SYS"."TEST"', attribute =>
'restartable', value => TRUE);
sys.dbms_scheduler.enable( '"SYS"."TEST"' );
END;

Cheers

Max


DA Morgan wrote:
Quote:
graff3@hotmail.com wrote:
Hi guys,

I have noticed when a RMAN job is scheduled using OEM it is given
special status to other Oracle jobs.

I want to know how can one schedule a RMAN job using SQL Plus or RMAN
so the our jobs can be displayed in the OEM's RMAN view.

Cheers

Max

Retraction as I hadn't noted that you have 10g.

Use the DBMS_SCHEDULER built-in package.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Back to top
psoug
*nix forums Guru


Joined: 15 May 2005
Posts: 3492

PostPosted: Sun Jul 16, 2006 12:26 am    Post subject: Re: RMAN job scheduling 10g Reply with quote

graff3@hotmail.com wrote:
Quote:
Hi Daniel,

You are right about the DBMS_SCHEDULER package. But that is what I am
currently using and NOT entirely satisfied -

I want my following SQL to be treated by RMAN as its own job rather
than a generic Oracle job.

BEGIN
sys.dbms_scheduler.create_job(
job_name => '"SYS"."TEST"',
job_type => 'EXECUTABLE',
job_action => 'c:\test.bat',
start_date => sysdate,
job_class => 'DEFAULT_JOB_CLASS',
comments => 'hello',
auto_drop => FALSE,
enabled => FALSE);
sys.dbms_scheduler.set_attribute( name => '"SYS"."TEST"', attribute =
'restartable', value => TRUE);
sys.dbms_scheduler.enable( '"SYS"."TEST"' );
END;

Cheers

Max


DA Morgan wrote:
graff3@hotmail.com wrote:
Hi guys,

I have noticed when a RMAN job is scheduled using OEM it is given
special status to other Oracle jobs.

I want to know how can one schedule a RMAN job using SQL Plus or RMAN
so the our jobs can be displayed in the OEM's RMAN view.

Cheers

Max
Retraction as I hadn't noted that you have 10g.

Use the DBMS_SCHEDULER built-in package.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Don't Top Post

Not going to happen.

What's the business case that makes RMAN not work as desired?
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Back to top
graff3@hotmail.com
*nix forums beginner


Joined: 20 Dec 2005
Posts: 21

PostPosted: Sun Jul 16, 2006 5:57 am    Post subject: Re: RMAN job scheduling 10g Reply with quote

My business case is as follows -

1. I want my job to be recognized as an RMAN job. If you use OEM to
create an RMAN job you will notice that RMAN jobs are treated
differently.

2. I do not want my job to be displayed in the Oracle job queue like
other jobs.
3. I want to send a RMAN query directly rather than embedding it into a
batch file and calling it as an executable.
Back to top
sybrandb
*nix forums beginner


Joined: 13 Jul 2006
Posts: 22

PostPosted: Mon Jul 17, 2006 12:16 pm    Post subject: Re: RMAN job scheduling 10g Reply with quote

graff3@hotmail.com wrote:
Quote:
My business case is as follows -

1. I want my job to be recognized as an RMAN job. If you use OEM to
create an RMAN job you will notice that RMAN jobs are treated
differently.

2. I do not want my job to be displayed in the Oracle job queue like
other jobs.
3. I want to send a RMAN query directly rather than embedding it into a
batch file and calling it as an executable.


Why? You are aware RMAN *IS* a separate executable?
Or did you never read the RMAN manual?


This is not a business case. This is plain incompentency.

--
Sybrand Bakker
Senior Oracle DBA
Back to top
graff3@hotmail.com
*nix forums beginner


Joined: 20 Dec 2005
Posts: 21

PostPosted: Mon Jul 17, 2006 11:19 pm    Post subject: Re: RMAN job scheduling 10g Reply with quote

Sybrand...if you can't add value to a conversation..you should shut the
F#$K up.






sybrandb wrote:
Quote:
graff3@hotmail.com wrote:
My business case is as follows -

1. I want my job to be recognized as an RMAN job. If you use OEM to
create an RMAN job you will notice that RMAN jobs are treated
differently.

2. I do not want my job to be displayed in the Oracle job queue like
other jobs.
3. I want to send a RMAN query directly rather than embedding it into a
batch file and calling it as an executable.


Why? You are aware RMAN *IS* a separate executable?
Or did you never read the RMAN manual?


This is not a business case. This is plain incompentency.

--
Sybrand Bakker
Senior Oracle DBA
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 Posts] View previous topic :: View next topic
The time now is Tue Dec 02, 2008 12:04 am | All times are GMT
navigation Forum index » Databases » Oracle » Tools
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts RMAN job scheduling 10g graff3@hotmail.com Server 1 Sat Jul 15, 2006 7:59 am
No new posts Bug#377546: ITP: schedtools -- Queries/alters process's s... Thibaut VARENE devel 4 Sun Jul 09, 2006 10:00 pm
No new posts scheduling accuracy for audio andrea valle python 2 Sun Jul 09, 2006 12:50 pm
No new posts time-shared scheduling Binary apps 1 Wed Jul 05, 2006 8:11 am
No new posts Getting default RMAN configuration value graff3@hotmail.com Server 4 Thu Jun 29, 2006 4:13 am

Credit Counseling | Free phpBB forum | Myspace Layouts | Buy Anything On eBay | Home Loan
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1504s ][ Queries: 16 (0.0599s) ][ GZIP on - Debug on ]