Can anyone help me
My job design is like that :
SFile --> STP (Stored Procedure Stage) --> SFile
In STP Stage, I clear "Generate procedure call" and I edit this syntax :
PROCEDURE myproc(ANO OUT INT) AS BEGIN SELECT ANO_IN_ID_ANO INTO ANO FROM OAD_F_SUIVI_ANOMALIE WHERE ANO_IN_ID_ANO=34; END;
and my job server aborts.
Thanks in advance for your help.
Problem with Datastage STP stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 5
- Joined: Thu Jun 02, 2005 1:33 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What error messages are logged? Are any more messages logged (particuarly "from previous run..." when you reset the aborted job in Director? There's not enough information in what you've posted to help us to diagnose anything. It's in the category of "my car doesn't run, can you tell me what's wrong?". Have you searched the forum to see whether anyone else has had this problem?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 5
- Joined: Thu Jun 02, 2005 1:33 pm
I have this in my log :
Untitled1..Stored_Procedure_6: OCIAttrGet - Must be an anonymous pl/sql block being prepared.
Untitled1..Stored_Procedure_6: PROCEDURE myproc(ANO OUT INT) AS BEGIN SELECT ANO_IN_ID_ANO INTO ANO FROM OAD_F_SUIVI_ANOMALIE WHERE ANO_IN_ID_ANO=34; END;
Attempting to Cleanup after ABORT raised in stage Untitled1..Stored_Procedure_6
Thanks and i didn't find any answer in the forums resolving my problem.
Untitled1..Stored_Procedure_6: OCIAttrGet - Must be an anonymous pl/sql block being prepared.
Untitled1..Stored_Procedure_6: PROCEDURE myproc(ANO OUT INT) AS BEGIN SELECT ANO_IN_ID_ANO INTO ANO FROM OAD_F_SUIVI_ANOMALIE WHERE ANO_IN_ID_ANO=34; END;
Attempting to Cleanup after ABORT raised in stage Untitled1..Stored_Procedure_6
Thanks and i didn't find any answer in the forums resolving my problem.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
See? Now we know you're trying to connect to Oracle, and exactly what the Stored Procedure stage is complaining about. A search for "anonymous PL/SQL block" turned up this post; although it refers to the OCI stage rather than the Stored Procedure stage, it may get you going on the right track.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 5
- Joined: Thu Jun 02, 2005 1:33 pm