The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to restore original package after uninstalling the upgraded package using rpm amitpansuria Linux 0 05-27-2008 05:08 AM
package error Rasmita UNIX for Dummies Questions & Answers 0 01-10-2008 07:19 AM
package error murad.jaber SUN Solaris 1 06-06-2007 10:59 AM
Capturing Oracle Shutdown error ganapati UNIX for Advanced & Expert Users 15 04-19-2007 09:26 AM
[help]oracle database error on solaris 8 bucci SUN Solaris 5 12-02-2006 10:58 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-29-2008
andrewknight andrewknight is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 3
invoke oracle package error?

My sh scripts is :

sqlplus -S "user/pwd@server" <<!!
SET SQLPROMPT
exec IN_PROC_TEST;
!!

It prompt 'PL/SQL procedure successfully completed.' but not execute actually

I run this procedure in sqlplus, no problem
and I also could execute simple DDL in this sh script, but why could not execute this procedure in sh?

Thanks a lot!
  #2 (permalink)  
Old 07-29-2008
andrewknight andrewknight is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 3
oh!

on problem run this in sqlplus locally
however,after logon remote server and run this in sqlplus, also prompt ''PL/SQL procedure successfully completed',but no run actually
  #3 (permalink)  
Old 07-29-2008
andrewknight andrewknight is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 3
Error Prompt:
SQL> BEGIN
2 EXEC IN_PROC_TEST;
3 END;
4 /
EXEC IN_PROC_TEST;
*
ERROR at line 2:
ORA-06550: line 2, column 6:
PLS-00103: Encountered the symbol "IN_PROC_TEST" when expecting one of the
following:
:= . ( @ % ;
The symbol ":=" was substituted for "IN_PROC_TEST" to continue.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 09:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0