Kranti, Something like this:
echo exec pl_sql_procedure('%1'); > run.sql echo exit >> run.sql %oracle_home%\bin\sqlplus user/pw @run.sql Hope this helps Tom Mercadante Oracle Certified Professional -----Original Message----- [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 3:39 AM To: Multiple recipients of list ORACLE-L Hi all, I am running a batch file through which I am opening SQLPLUS session and calling a stored procedure. I want to pass parameters to this procedure from the command prompt. Is it possible? Can anyone on this list will help me. Environment is Oracle 8.1.7 and OS Win2k. Thanx, Kranti Pushkarna This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mercadante, Thomas F INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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).