Search found 245 matches

by arunkumarmm
Tue Sep 07, 2010 1:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can we call a package from datastage
Replies: 8
Views: 5568

We are using a lot of SP stage to call pakages and they just work fine. Never had any issues.
by arunkumarmm
Tue Sep 07, 2010 1:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Negative Values in Decimal
Replies: 9
Views: 3550

Or you can even use a simple derivation like

If Count(Column,'-') > 0 Then '-' : Field(Column,'-',1) Else Column
by arunkumarmm
Tue Sep 07, 2010 1:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Negative Values in Decimal
Replies: 9
Views: 3550

Or you can even use a simple derivation like

If Count(Column,'-') > 0 Then '-' : Field(Column,'-',1) Else Column
by arunkumarmm
Tue Sep 07, 2010 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update column in all the jobs
Replies: 13
Views: 5251

From whatever I think of, you can export the jobs and make this change in the dsx. For example, you column may be defined in the dsx like BEGIN DSSUBRECORD Name "EbcData" SqlType "1" Precision "30" Scale "0" Nullable "0" So, if you want to change the...
by arunkumarmm
Tue Aug 31, 2010 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job has to start after N records..?
Replies: 4
Views: 3303

ray.wurlod wrote:Why do you want to know how U (one of our posters) can achieve it?
:lol:
by arunkumarmm
Tue Aug 31, 2010 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6723

Or you can try

Code: Select all

 If Count(Column,'_') > 0 Then Column[3] Else Column
by arunkumarmm
Mon Aug 30, 2010 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To read input file dynamically
Replies: 1
Views: 1792

I dont think you can read only the columns you need from a file as you do in a table. If it is a dataset, then yes you can do it. I believe for a file, you need to read the entire record, and need to drop the unwanted columns.

To select/drop columns dynamically, you can use schema files.
by arunkumarmm
Fri Aug 27, 2010 3:54 pm
Forum: General
Topic: Move jobs to different category
Replies: 4
Views: 1769

No one is replying this post... :(
by arunkumarmm
Thu Aug 26, 2010 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML node aggregation
Replies: 6
Views: 3619

datisaq, I dont believe this is practically possible. You may not know how many rows you will get in your input
by arunkumarmm
Wed Aug 25, 2010 9:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loop Activity- Return status of each loop
Replies: 8
Views: 5053

Or instead of setting it as user status, you can write it to a hashed file and look-up the value after your end-loop activity using UtilityLookUpHash.
by arunkumarmm
Wed Aug 25, 2010 9:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncating Decimal.
Replies: 13
Views: 5420

Did you try it with Field? As Sultan suggested? If not try this

Code: Select all

If inlnk.inputfield < 0 Then '-': (Field(inlnk.inputfield ,'.',1)[7]) Else Field(inlnk.inputfield ,'.',1)[7]
by arunkumarmm
Tue Aug 24, 2010 9:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML node aggregation
Replies: 6
Views: 3619

You cannot do it in a single job. Create your group xml in a job and in the next job you can look it up and create your final xml
by arunkumarmm
Mon Aug 23, 2010 3:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: text file to oracle date
Replies: 14
Views: 5456

Iconv(date,"D4") can also work for every date format, except, YYYY-MM-DD. Also, If Iconv doesnt recognize a incoming date, it will not return a zero, it will return NULL instead.
by arunkumarmm
Mon Aug 23, 2010 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Target Load Order
Replies: 5
Views: 3677

If it is a server Job:

What is your source and target stages? I believe we can do with some limitations.

1. Both your source and target should be files with same 'Line Terminators'
Or
2. Both your source and target should be db of same type. Oracle to oracle, etc.,