Search found 113 matches

by sohasaid
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...
by sohasaid
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

Sainath, It's not working.
by sohasaid
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...
by sohasaid
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

ArndW, I tried to use WeekdayFromDate() in a transformer but derivation is getting red.
What's I'm trying to do is getting the week of year by using WEEK.TAG but with week starts at Sunday.

I don't know how to use WeekdayFromDate() in the previous context.

Thanks for your reply.
by sohasaid
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.
by sohasaid
Thu May 20, 2010 12:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Transformer produces Zeros
Replies: 5
Views: 2946

chulett wrote:Learn to love them as they are your best friend in that world. :wink:
I'll do my best to love them. :wink: I went for the hashed file solution instead of the db direct lookup and it worked as I mentioned before.

Craig, Thanks for the valuable tip up there.

Regards.
by sohasaid
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),...
by sohasaid
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...
by sohasaid
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')
by sohasaid
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')
by sohasaid
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...
by sohasaid
Mon Apr 12, 2010 4:56 am
Forum: General
Topic: Most commands fail with "Error code: 3 22"
Replies: 8
Views: 4076

I have the file, but I cannot see any mention in the file for expiry dates. what to look for?
by sohasaid
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...
by sohasaid
Sun Apr 11, 2010 7:08 pm
Forum: General
Topic: Most commands fail with "Error code: 3 22"
Replies: 8
Views: 4076

Same error :-(

-bash-3.1$ bin/dssh
An error has occurred during DataStage initialization
Please contact the system administrator
Error code: 3 22
-bash-3.1$
by sohasaid
Sun Apr 11, 2010 6:15 pm
Forum: General
Topic: Most commands fail with "Error code: 3 22"
Replies: 8
Views: 4076

I installed with a development license I got from IBM through our partnership, I'm not sure if it's expired now or not. But even though who to know if the license has expired if I can't even get the license tool (dslictool) to run?