PL/SQL Loop Run Concurrently (merged) [message #663998] |
Sun, 02 July 2017 20:22 |
|
Ryuki
Messages: 6 Registered: July 2017
|
Junior Member |
|
|
Hi,
I was create SQL procedure for send automatic email with attachment pdf file from concurrently output.
It's work with 1 input parameter, 1 output page, 1 file and 1 destination email.*(later let's call this procedure A).
But, i have a problem when i input more than 1 parameter on concurrently it's mean i have some output page on 1 file pdf.
Because every single parameter have a unique output page and unique destination email,
so i can't put some output page on 1 file pdf as attachment to destination email.
i have an idea to create new procedure to make (procedure A) loop with more than 1 parameter input.
but how to do this ?, is that possible ?
Thanks for every help.
|
|
|
|
|
|
|
|
|
Registering PL/SQL Procedure on Concurrent [message #664173 is a reply to message #663998] |
Thu, 06 July 2017 04:38 |
|
Ryuki
Messages: 6 Registered: July 2017
|
Junior Member |
|
|
Hi,
I was create procedure for send some value into a table.
and its running well if i run the procedure from sql developer,
but i want to run the procedure from concurrent, so i registering the procedure on concurrent.
This is my step to register :
and i was give a grant and public synonim
this is my header procedure :
create or replace PROCEDURE SRI_TTDV_SEND
(errbuf out varchar2,retcode out varchar2, P_TTDV_FROM IN NUMBER, P_TTDV_TO IN NUMBER, P_USER IN VARCHAR2) IS
And this is the Error Message :
Quote:Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
PLS-00201: identifier 'SRI_TTDV_SEND' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
am i miss some step ? or what to make this run?
Thanks for any help
|
|
|
Re: PL/SQL Loop Run Concurrently [message #664174 is a reply to message #664011] |
Thu, 06 July 2017 04:48 |
|
Ryuki
Messages: 6 Registered: July 2017
|
Junior Member |
|
|
EdStevens wrote on Mon, 03 July 2017 06:40
Why are you so resistant to showing us the code you have already?
Can you "improve" code you cannot see?
No? Well, neither can anyone else.
We need to see what parameters you have now, how they are provided to the "existing" (but unknown to us) "procedure A", and what parameters would be come "multiple parameters".
But as I think I understand your problem, you may not need jobs at all. Untill you are more forthcoming with details, we really can't say.
sorry, i'm not resistant but i just use some difference procedure and linux command, so i think i dont need to put on this topic cause it was work fine and i just need to place loop and job code.
but thanks for your answer, i'm really appreciate that.
|
|
|
|
|
|
|