Sequence calling stored procedure is never ending

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Sequence calling stored procedure is never ending

Post by major »

Hi ,

I am using an ODBC stage to call a store procedure with one paramater , whenever i am running the job it is not coming to finished state , it is in running state only till i abort it , but when i run procedure separately it is going fine . Can some one please tell me what cauld be reason for that.
Thanks in advance
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Does your procedure return any rows to DataStage?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
major
Premium Member
Premium Member
Posts: 167
Joined: Mon Nov 26, 2007 12:21 am

Post by major »

kcbland wrote:Does your procedure return any rows to DataStage? ...
No , it wont return any rows to datastage , the main objective is to run the procedure through datastage ,so that some tables are populated which are used in next level jobs
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

How are you calling the SP? In before/after-SQL tab or as the SQL query? Has this job previously worked and is it now failing?
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply