Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> calling pl/sql procedure from unix shell script (URGENT HELP REQUESTED)

calling pl/sql procedure from unix shell script (URGENT HELP REQUESTED)

From: Lakshmi Jagarlapudi <jlnarayana_at_comcast.net>
Date: Thu, 20 Nov 2003 18:25:49 GMT
Message-ID: <MG7vb.59810$Dw6.326051@attbi_s02>


Can any one tell me how do I call a pl/sql procedure from a unix shell script.I
donot have unix access at home, but I am guessing that this might work. any ideas
please.

assuming that the pl/sql procedure takes 2 in parameters and 2 out parameters

sqlplus -s user/passwd_at_connstr << TOKEN
begin
myproc(outbuf,outcode,inbuf,incode);
end;
TOKEN Please let me know if this works.

thanks, Received on Thu Nov 20 2003 - 12:25:49 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US