Search found 42189 matches
- Wed Feb 17, 2010 11:32 am
- Forum: General
- Topic: Difference between Datastage v8 Unix and Windows
- Replies: 11
- Views: 3378
- Wed Feb 17, 2010 11:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Any limitation on size when using Iconv and Oconv with "
- Replies: 29
- Views: 7641
- Wed Feb 17, 2010 11:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Any limitation on size when using Iconv and Oconv with "
- Replies: 29
- Views: 7641
- Wed Feb 17, 2010 11:25 am
- Forum: General
- Topic: Difference between Datastage v8 Unix and Windows
- Replies: 11
- Views: 3378
- Wed Feb 17, 2010 11:22 am
- Forum: General
- Topic: BeforeSQL Statement Using Dataset Data
- Replies: 8
- Views: 2706
You can't use IN with a list of values with an AND between them, it may delete far more than you're thinking it will depending on the specific values you pass it. Think about it. If you want to delete 11/2008 and 12/2009 and say MONTH IN (11,12) AND YEAR IN (2008,2009) you will end up deleting: 11/2...
- Wed Feb 17, 2010 11:12 am
- Forum: General
- Topic: BeforeSQL Statement Using Dataset Data
- Replies: 8
- Views: 2706
Another option, if your month and year are in the dataset, is to make sure your data is sorted and partitioned correctly and then issue a single row delete out a first link to a separate ODBC stage that executes and commits the delete for the pair before the second link sends any inserts. If you onl...
- Wed Feb 17, 2010 11:06 am
- Forum: General
- Topic: BeforeSQL Statement Using Dataset Data
- Replies: 8
- Views: 2706
Yes.
Changed your IN to an = as that's the only way this would work with the way you've built your SQL - singleton values.
Code: Select all
DELETE FROM table
WHERE column1=\'A\'
AND column2=\'B\'
AND column3 IN (\'C\',\'D\')
AND month = #p_MonthFromDataset#
AND year = #p_YearFromDataset#- Wed Feb 17, 2010 10:53 am
- Forum: General
- Topic: BeforeSQL Statement Using Dataset Data
- Replies: 8
- Views: 2706
- Wed Feb 17, 2010 10:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 EE Stage
- Replies: 6
- Views: 2767
- Wed Feb 17, 2010 10:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: execute command to check for a existance of a file on unix
- Replies: 8
- Views: 8118
Yes, I am using ''Automatically handle activities that fail option' as I want to fail the job for any failure [this sequence has lot of other steps/stages/jobs]. That's fine and exactly what it is meant to do. I should have been more specific and thought about this for a moment longer - your trigge...
- Wed Feb 17, 2010 10:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 EE Stage
- Replies: 6
- Views: 2767
- Wed Feb 17, 2010 10:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: execute command to check for a existance of a file on unix
- Replies: 8
- Views: 8118
That's because you are using the 'Automatically handle activities that fail option' but your triggers should override that if you are using the right pair of triggers out of the stage: 'Conditional (OK)' and 'Otherwise'. Are you saying that you are and it still logs the warning? :? ps. A Wait For Fi...
- Wed Feb 17, 2010 9:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: execute command to check for a existance of a file on unix
- Replies: 8
- Views: 8118
I would use one of the the test operators, perhaps "test -e" or with -f or -s depending on how tightly you need to test it.
- Wed Feb 17, 2010 9:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Clarification for using "Abort After Rows" in Tran
- Replies: 7
- Views: 3305
- Wed Feb 17, 2010 8:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Truncate and Load in Oracle Stage
- Replies: 13
- Views: 8817