Search found 2 matches

by kaushik.sr
Wed Jan 21, 2009 2:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Routine to delete data
Replies: 6
Views: 3475

The following is routine that had given as input: Cmd='. ~/.profile;db2 "connect to ':DatabaseName:' user ':UserId:' using ':Password:'"; db2 "delete from ':SchemaNameDM:'.':TableName:' where CALENDAR_MONTH_KEY IN (SELECT CALENDAR_MONTH_KEY FROM ':SchemaNameDM:'.D_CALENDAR_MONTH WHERE...
by kaushik.sr
Tue Jan 20, 2009 5:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Routine to delete data
Replies: 6
Views: 3475

DS Routine to delete data

Hi all, We are using one DS routine to DELETE the data from a table (DB2) befor e load. The routine, if run individually, works fine. But when integrated in a sequencer, doesn't work. We have String comparison in the WHERE clause of the DELETE SQL. If we remove WHERE clause the routine works fine ev...