Well done on completing the diagnosis! :D
Now please mark the thread as resolved.
Search found 53125 matches
- Mon Mar 10, 2008 12:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Print Filenames from Seq File using FilePattern
- Replies: 6
- Views: 5333
- Mon Mar 10, 2008 12:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Perticular routine used by different # of ds jobs
- Replies: 6
- Views: 2085
It can be done, but not directly. Routines may be called from jobs (as before/after subroutines or as job control routines) or from Transformer stages (as transform functions) or from any active stage (as before/after subroutines). You would need to construct a complex query (or a UNION) on DS_JOBS ...
- Sun Mar 09, 2008 2:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Month end dates validation
- Replies: 5
- Views: 1789
Do the individual tests in separate stage variables. Working in internal format, the "+6 days" test automatically handles leap year. These date arithmetic routines may prove useful. Edit I've just noticed that you are running version 5.x. The export file will probably not import, but the code is leg...
- Sun Mar 09, 2008 12:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Month end dates validation
- Replies: 5
- Views: 1789
OK, you can use Field() to get the date portion from a timestamp and Iconv() to convert that to an internal format date. All you need for the second argument of Iconv() is "DMDY" - it's pretty clever about delimiters and number of digits in the year. What you now need is a time dimension (hashed fil...
- Sun Mar 09, 2008 12:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: System Date -15 Years
- Replies: 2
- Views: 828
Depends how accurately you need it. You could use DateFromDaysSince() if you're happy to say that 15 years is 5479 days. Otherwise you need to break the date into its components, using YearFromDate(), MonthFromDate() and DayFromDate(), subtract 15 from the year component, re-assemble the date, subtr...
- Sat Mar 08, 2008 11:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Replacing Single Quote with 2 Single Quotes
- Replies: 2
- Views: 1975
As noted, Convert is one character to one character. Search the forum for a parallel equivalent of EReplace() function which can replace strings with other strings. Then you should be able to use
Code: Select all
EReplace("'", "''", InLink.TheString)- Sat Mar 08, 2008 11:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Month end dates validation
- Replies: 5
- Views: 1789
- Sat Mar 08, 2008 5:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: JOB Parameters
- Replies: 9
- Views: 2389
- Sat Mar 08, 2008 5:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DataStage with WBI
- Replies: 6
- Views: 1157
- Sat Mar 08, 2008 4:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: xsi:nil="true"?
- Replies: 9
- Views: 3903
- Fri Mar 07, 2008 8:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Performance between stages
- Replies: 4
- Views: 1100
- Fri Mar 07, 2008 8:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Strange problem with a PX Job
- Replies: 7
- Views: 1188
- Fri Mar 07, 2008 5:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: decode issue in convert.
- Replies: 9
- Views: 2023
- Fri Mar 07, 2008 5:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Performance between stages
- Replies: 4
- Views: 1100
- Fri Mar 07, 2008 5:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: MQ stage- Server Vs Parallel job - issue
- Replies: 3
- Views: 1433