Search found 45 matches

by hiral.chauhan
Thu Sep 03, 2009 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Records getting rejected
Replies: 10
Views: 4428

I would examine the reject records first and then try to get a clue from the director log.

What does the director log say about the two reject records? any warnings or error messages?
by hiral.chauhan
Thu Sep 03, 2009 12:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Records getting rejected
Replies: 10
Views: 4428

I googled your sqlcode.

-1438: value larger than specified precision allows for this column.

Does that ring a bell?
by hiral.chauhan
Thu Sep 03, 2009 12:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unique requirement to combine two files
Replies: 9
Views: 4140

You might want to use a Look up stage like ArndW said, choose either link as a Master, Store the output of both the links, and concatenate them on their way to the target table/file. Does that make sense?
by hiral.chauhan
Wed Sep 02, 2009 10:20 am
Forum: General
Topic: 'Unable to save editServ.impl.Jobdefnimpl@2db1e166
Replies: 7
Views: 5722

Try Re-indexing.

Code: Select all

DS.REINDEX ALL 
on your Datastage Administrator.

HTH.
by hiral.chauhan
Thu Aug 27, 2009 5:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Config File
Replies: 9
Views: 4092

ray.wurlod wrote:The fastname must be a genuine node name, ideally the one on the fastest connection to that machine. Do you really have a node called "a"? ...
By node name do you mean server name?
by hiral.chauhan
Fri Aug 14, 2009 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage Decimal conversion
Replies: 10
Views: 12147

Re: Modify Stage Decimal conversion

If you're trying to convert a varchar to decimal in Modify stage you need to use the following function:

decimal_from_string

decimal_col:decimal = decimal_from_string [ceil] (source_col)

For more information on this function you can refer Parallel job developer guide.

Hope that Helps.

-Hiral
by hiral.chauhan
Fri Aug 14, 2009 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parent child initial loading
Replies: 3
Views: 1297

Re: parent child initial loading

Dear All, I have two empty master detail tables say journey (journeyid is PK) AND Trucks(Truckid is pk,journeyid if FK) i have loaded master table records and i need to load second table Trucks where i need to populate journeyid values from Journey table. as Trucks is an emptty table ,i dont have a...
by hiral.chauhan
Fri Aug 14, 2009 4:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage Decimal conversion
Replies: 10
Views: 12147

Re: Modify Stage Decimal conversion

juancho wrote:Hello!

Is there a way to convert, using modify stage, a string field with the following data:

12034

to decimal 5,2? that is, to 120,34
So you mean you would like to convert 12034 which is a varchar to 120.34 which is a decimal(5,2) ?

-Hiral
by hiral.chauhan
Fri Aug 14, 2009 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date calculations inside DS
Replies: 2
Views: 1720

Re: Date calculations inside DS

You need to use a date dimension that has a "month_number" that starts at 1 for the first month on your date dimension and goes like this : Lets say your date dimension starts at January 01, 1980. Date Month_Number 1980-01-01 1 .... .... 1980-12-01 12 1981-01-01 13 .... .... 1981-12-01 24 ...
by hiral.chauhan
Wed Jun 10, 2009 9:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SCD stage
Replies: 10
Views: 5427

I am using version 8.1.0, and I'm facing the same problem.

Does anybody know of a patch for this?

Thank you micheald !

~Hiral
by hiral.chauhan
Tue Apr 14, 2009 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort wornings are differ from server to server
Replies: 4
Views: 2887

[quote="Minhajuddin"]You get this warning whenever you use a sort stage to sort on different keys before a join, aggregator or a remove duplicates stage.

Thanks Minhajuddin !
by hiral.chauhan
Fri Mar 27, 2009 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to retrieve months between two dates of different years
Replies: 7
Views: 2539

Re: how to retrieve months between two dates of different ye

Hi Experts, I have requirement like For eg: In.col1=01-01-2007 in.col2=01-03-2009 i have to take how many months are there in output between two above dates. Please let me know how to achieve these. Thanks in Advance There is no direct way to get the number of months. But here's an indirect way: Da...
by hiral.chauhan
Thu Mar 26, 2009 5:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtracting 2 dates in Transformer
Replies: 22
Views: 6566

chulett wrote:Maybe so, but this is a discussion in the Server Edition forum on how to do this in a Server job, not a Parallel job. :wink: ...
My bad ! now I see why I did not find this topic anywhere else.. :P
by hiral.chauhan
Thu Mar 26, 2009 4:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtracting 2 dates in Transformer
Replies: 22
Views: 6566

Subtracting dates in Transformer

Probably most people know this by now, but there's an easier way to subtract dates in transformer (not BASIC transformer.. the one in 8.1.0) DaysSinceFromDate(CurrentDate(),DSLink21.PROD_DT) Result = 26 In my example CurrentDate() is 3/26/2009 and DSLink21.PROD_DT = 2/28/2009 (There was actually a f...
by hiral.chauhan
Wed Mar 25, 2009 3:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: remove the zeros from the left of a decimal field
Replies: 5
Views: 3129

Thanks

Maveric wrote:Write the data into the file as Varchar. Convert the data type in a transformer to using DecimalToString() function with suppress_zeros option.

Thanks Maveric!

Your tip did the trick for me!!

-Hiral