Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Sqlplus -S interrupt !!!!

Thread Tools

Sqlplus -S interrupt !!!!

Posts: n/a
Im trying to use perl to launch some sql and it works fine

$command = "sqlplus -S " . $usr . "/" . $pwrd . " \@mccci060.sql";
print "$command";
$status = system ($command);
print "status" . $status;

the problem is that if I give the above line the wrong user and
password Im not able to intercept the error , perl just stops and cant
write logs.
Consider that I don't see the result of $status as the program stops
just before it !
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Driving Oracle sqlplus with open3 Daniel Berger Ruby 11 03-03-2009 12:41 AM
os.system behavior when calling SQLPlus with spooling Python 1 01-24-2008 05:17 AM
SQLPlus with Perl The alMIGHTY N Perl Misc 7 11-03-2006 01:57 PM
Sqlplus - S stops ...sigh ! Gianni Perl 4 07-01-2004 04:38 PM
where can i find the core code of intel 8259A interrupt controller? Tony VHDL 0 11-13-2003 09:21 AM