Stored Procedure running fine in DB but throws warning in DS

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
vinodhraj
Participant
Posts: 53
Joined: Mon Sep 12, 2005 6:51 am

Stored Procedure running fine in DB but throws warning in DS

Post by vinodhraj »

Hi DS Gurus,

I am calling a DB2 SP in a db stage. This SP is built with some Dynamic SQL statements but Execute immediate statements were not used in it.
This procedure works fine in database but while executing in dtastage it shows warning (Prepare or Execute Statement is blank or empty SQLSTATE=42617) which means NULL is returned to the execute statements. But I havn't used these Prepare and Execute Statements in the SP itself. More over I got the solution correctly.

Any solution

Vinod
Post Reply