Search found 113 matches
- Thu Jun 17, 2010 12:37 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: 'WEEK.TAG' with Sunday as start of week
- Replies: 16
- Views: 9026
Sorry for not mentioning the details. I tried to pass 'Date+1' as 'Sainath' suggested by doing this: DateOne : OCONV(InternaltDate+1, 'D-YMD[4,2,2]') as stage variable Calender Week : TAG.TO.WEEK(DateOne) The problem always in the last week of year, which depends on the number of days at the lase we...
- Wed Jun 16, 2010 5:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: 'WEEK.TAG' with Sunday as start of week
- Replies: 16
- Views: 9026
- Mon Jun 14, 2010 7:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: 'WEEK.TAG' with Sunday as start of week
- Replies: 16
- Views: 9026
ArndW, I've tried tried your routine and it gives the following output: InternalDate, JulianDate , FirstDayOfYear , DayName , Date 14637, 27 , 3 , Sunday , 2008-01-27 14647, 37 , 3 , Wednesday , 2008-02-06 I don't know why the 'FirstDayOfYear' is always '3' for these records? Ray, I'm not pretty han...
- Tue Jun 08, 2010 4:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: 'WEEK.TAG' with Sunday as start of week
- Replies: 16
- Views: 9026
- Tue Jun 08, 2010 3:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: 'WEEK.TAG' with Sunday as start of week
- Replies: 16
- Views: 9026
'WEEK.TAG' with Sunday as start of week
Dears,
I was wondering about how to customize the 'WEEK.TAG' and 'ConvertWeek' function to retrieve a week which starts with Sunday instead of Monday.
Regards.
I was wondering about how to customize the 'WEEK.TAG' and 'ConvertWeek' function to retrieve a week which starts with Sunday instead of Monday.
Regards.
- Thu May 20, 2010 12:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Transformer produces Zeros
- Replies: 5
- Views: 2946
- Tue May 18, 2010 11:52 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Transformer produces Zeros
- Replies: 5
- Views: 2946
why is the lookup failing? That's exactly what I'm asking. The expected result should be: ID Name Country_Name 1 XxX Egypt 2 YyY US What I didn't mention that the key column of lookup is 'ID' with data type Integer and 'Name' and 'Country_Name' are non-key values and their data type is VarChar(50),...
- Tue May 18, 2010 6:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup Transformer produces Zeros
- Replies: 5
- Views: 2946
Lookup Transformer produces Zeros
Dears, I'm a new practitioner to server jobs with parallel background. I'm using the transformer stage to perform a lookup operation. There're two inputs (DB2 stages) for transformer stage and one output (DB2 stage also). Although there's a match between inputs on the key column, the output column f...
- Sun Apr 25, 2010 4:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date conversion Error
- Replies: 6
- Views: 9384
Re: Date conversion Error
You might miss dashes, try this:
StringToDate(incolumn,'%yyyy-%mm-%dd')
StringToDate(incolumn,'%yyyy-%mm-%dd')
- Sun Apr 25, 2010 4:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date conversion Error
- Replies: 6
- Views: 9384
Re: Date conversion Error
You might miss dashes, try this:
StringToDate(incolumn,'%yyyy-%mm-%dd')
StringToDate(incolumn,'%yyyy-%mm-%dd')
- Sun Apr 25, 2010 4:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle error messages relating to the rejected records
- Replies: 8
- Views: 2838
Because there isn't before-sql part in stage OCI of parallel job I didn't work with OCI stage, but if there's a 'user-defined upsert' it can fix the problem by putting the 'truncate' statement instead if the insert statement and the 'insert' statement instead of the update one at the stage. But you...
- Mon Apr 12, 2010 4:56 am
- Forum: General
- Topic: Most commands fail with "Error code: 3 22"
- Replies: 8
- Views: 4076
- Sun Apr 11, 2010 7:15 pm
- Forum: General
- Topic: Most commands fail with "Error code: 3 22"
- Replies: 8
- Views: 4076
OK I managed to get the license information from the DataStage Web Console: DataStage and QualityStage Server: 4 CPUs DataStage and QualityStage Designer: 5 concurrent connections DataStage and QualityStage Director: unlimited concurrent connections DataStage and QualityStage Administrator: unlimite...
- Sun Apr 11, 2010 7:08 pm
- Forum: General
- Topic: Most commands fail with "Error code: 3 22"
- Replies: 8
- Views: 4076
- Sun Apr 11, 2010 6:15 pm
- Forum: General
- Topic: Most commands fail with "Error code: 3 22"
- Replies: 8
- Views: 4076