-- "Koivu, Lisa" <[EMAIL PROTECTED]>

> Good morning everyone,
>
> I apologize for the OT post.
>
> I was looking at the DBI.  It suddenly occurred to me that I can only
> connect to sql*plus with this.  I'm not minimizing it's usefulness, but I
> am wondering if I can use a perl script to fire off the rman backup, scan
> the log for errors, mail the log, etc.  everything I used to do in ksh.
>
> Any examples of a "host" type command or something that may possibly meet
> my needs would be greatly appreciated and rewarded by a virtual  monkey
> beer :)

You can either feed the stuff into sqlplus the same way you
did in ksh (with reasonable variables and control structures
added) or use dbi to feed the commands directly into the
server.

You might want to check out the

    [EMAIL PROTECTED]

mailing list or CPAN for working examples.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steven Lembark
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to