If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > find parameters

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-04-05, 10:31
allian allian is offline
Registered User
 
Join Date: Dec 2004
Posts: 54
find parameters

Hi,

I need to get output parameters from output of stored procedure.

can anybody tell how can I do this?

Thanks
Reply With Quote
  #2 (permalink)  
Old 10-06-05, 06:27
ducasio ducasio is offline
Registered User
 
Join Date: Aug 2004
Location: Rome, Italy
Posts: 81
hi allian,
I invoke the pl/sql from a shell by sqlplus. So the only way to pass a parameter to the shell is the exit status which can be from 0 to 255. If you want to get more than one output parameters is better to display them on screen with DBMS_OUTPUT.PUT_LINE(par1||' '||par2) and pipe this output to awk for manipulation. Another way it could be writing to a file and treating the file after.

I hope it helps,
ducasio
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On