Search found 46 matches

by rsomiset
Tue Mar 17, 2015 12:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TrimLeadingTrailing NULLS
Replies: 9
Views: 6909

Re: TrimLeadingTrailing NULLS

Did you try something like this ?

If NullToValue(lnk_in_tfm.Gender,'$')='$' Then 300 Else 0
by rsomiset
Mon Feb 10, 2014 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert varchar to decimal
Replies: 4
Views: 3543

Re: Reply

Still it would be decimal datatype and hence the leading zeroes would be available.
by rsomiset
Sun Oct 06, 2013 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special characters in data
Replies: 7
Views: 5069

Please try the below for removing control-m and see if it helps.
1) dos2unix or
2) sed -e "s/^M//" filename > newfilename
To enter ^M, type CTRL-V, then CTRL-M. That is, hold down the CTRL key then press V and M in succession
by rsomiset
Sun Oct 06, 2013 10:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading pipe delimited; but some columns missing
Replies: 6
Views: 5461

Did you try to read the whole record as 1 single column in source stage and then split using Field function in a transformer stage using delimiter(pipe in this case)?
by rsomiset
Sun Oct 06, 2013 10:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue regarding a multi instance job
Replies: 6
Views: 4782

For me....it looks like the 2nd invocation_id passed isn't different from the 1st one. Are you seeing 2 different log files generated in the DS Director client when you run this job with one instance at a time?
by rsomiset
Tue Oct 01, 2013 4:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to skip first 4 records
Replies: 15
Views: 16530

Row number column in the options category can be used to generate row numbers if required...using which we can filter in subsequent stages.
by rsomiset
Mon Jun 24, 2013 9:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job fails when executed by a sequence
Replies: 4
Views: 2560

Could you please give us the details of on how many nodes and partitions the sequence job ran when it failed and the parallel job ran when it succeeded?

--
Raj
by rsomiset
Thu Jun 13, 2013 10:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA-24806: LOB form mismatch
Replies: 13
Views: 18030

Gaurav,
Did you try viewing the data by defining it as either LONGVARCHAR? If not...Could you please try and let us know?
by rsomiset
Mon Jun 10, 2013 11:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Length mismatch
Replies: 6
Views: 3393

Re: Length mismatch

Hi,
Please provide few more details like how exactly are you calculating length in DataStage & Unix?

--
Rajesh
by rsomiset
Mon Jun 10, 2013 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal To String Conversion
Replies: 10
Views: 9098

Is '1' the scale for your decimal ? Also, what is the maximum value you are passing when you are getting the error ?? You need to account for minus sign too while calculating the length(i.e. length of decimal + 1) should be your target column length for varchar field to avoid this message.

--
Rajesh
by rsomiset
Fri Jun 07, 2013 12:21 pm
Forum: General
Topic: using dsjob with parameters
Replies: 14
Views: 6228

I have never done one before of this kind. So, lets wait for one of those who did it in the past if that's feasible.

--
Raj
by rsomiset
Fri Jun 07, 2013 11:35 am
Forum: General
Topic: using dsjob with parameters
Replies: 14
Views: 6228

Diego,
Can we have the command you are using so that it would be easy to troubleshoot and add the missing component(s)?

--
Raj
by rsomiset
Fri Jun 07, 2013 10:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Changing field datatype from Double to Decimal
Replies: 10
Views: 14656

koolsun85 wrote:You will find in "Sum Output Column" with the property name "Decimal Output" where the default is 8,2 .
Hopefully dspxlearn has resolved this in the past 5 1/2 years. If not, this is the moment to go for it. :wink:

--
Raj
by rsomiset
Fri Jun 07, 2013 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: The size specified for column
Replies: 13
Views: 7847

Re: The size specified for column

Does the view data return correctly?

--
Raj
by rsomiset
Fri Jun 07, 2013 9:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Compilation Error
Replies: 10
Views: 5139

Re: Transformer Compilation Error

Did you try deleting the transformer stage and by placing a new one? (Sometimes this worked for me in few of my jobs)
Or
Does this job compile fine in other projects/environments?
Or
Would it be possible to design the job from scratch? If so, can you try and let us know please

--
Raj