Hi Hamid
Try this - this is job submit example, but I am sure that you can change
it to whatever your data types and variables are:
set serverout on size 1000000
declare
l_job_id binary_integer;
begin
dbms_job.submit(l_job_id, <here comes "what" of the job>); -- other
parameters are optional and have default values
dbms_output.put_line ('Job ID:' || l_job_id);
end;
/
HTH
Kind regards
Kresimir Fabijanic
Hamid Alavi wrote:
List,
Is any body know how you can execute an store procedure from SQLPLUS and get the output parameter from store procedure. I did EXECUTE sp_name(par1); from sqlplus and get error even call is the same, do I have to define any Variable or what? I can see the output thru the dbms_output but I need to see the output from SQLPLUS
Thanks,
Hamid Alavi
Office : 818-737-0526 Cell phone : 818-416-5095 -------------------------
---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------