Search found 229 matches

by pnchowdary
Wed Sep 14, 2005 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL Error
Replies: 7
Views: 1785

Hi Iwin,

Why dont you read the values as individual columns using SQL and then merge all the three columns into one big column in a transformer?
by pnchowdary
Mon Sep 12, 2005 1:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format 195,231 (char) to 195231 (Numeric)
Replies: 24
Views: 5595

Hi Titto,

I believe that, it is as easy as it gets, to meet your requirement.
by pnchowdary
Mon Sep 12, 2005 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calculation on DATE
Replies: 7
Views: 2419

Hi Benny,

I think that rumu meant Routines/Custom, further the routine AddMonthsToCurrentMonth seems like a custom routine which they developed themselves. Therfore you will not find it.

Your best bet would be to implement your own logic using the combination of Iconv and Oconv functions.
by pnchowdary
Fri Sep 09, 2005 8:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rejecting non-numeric fields
Replies: 7
Views: 2498

Hi ccatania, If you dont know ahead of time which field you want to test for non-numeric, then apply the Num test to all the columns that shouldn't have any non-numeric values Output link Num(InputLink.ColumnName1) And Num(InputLink.ColumnName2) and in the Reject link Not(Num(InputLink.ColumnName1))...
by pnchowdary
Thu Sep 08, 2005 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format 195,231 (char) to 195231 (Numeric)
Replies: 24
Views: 5595

Hi Craig,

That was a nice little trick :idea: . Can't we use the Real function in this scenario?
by pnchowdary
Thu Sep 08, 2005 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format 195,231 (char) to 195231 (Numeric)
Replies: 24
Views: 5595

Hi Titto,

Use the below transformation and see whether it works for you

Code: Select all

If IsNull(MYLINK.COST) Then "0.00" Else Trim(MYLINK.COST,",","A")
by pnchowdary
Thu Sep 08, 2005 2:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a function module from sap
Replies: 6
Views: 6036

cool :D . Best of Luck.
by pnchowdary
Thu Sep 08, 2005 2:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a multiple-instance job
Replies: 1
Views: 1255

Hi,

This topic has been covered several times in this forum. Please use the search facility.

Here is one sample post viewtopic.php?t=94921&highlight=mutliple+instance
by pnchowdary
Thu Sep 08, 2005 1:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a function module from sap
Replies: 6
Views: 6036

Hi Koojo, I think that you really meant to ask "How do we call a SAP function module from Datastage ?" You can not do this using ABAP extract pack, However there is another stage called PACK_for_SAP_R_3_BAPI which can be used to invoke the SAP function module using RFC. Hope that helps.
by pnchowdary
Thu Sep 08, 2005 1:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Iconv
Replies: 2
Views: 1129

Hi Fernando, The solution has already been mentioned several times in this forum. Please use the search facility. Any Date Conversion has two go through two steps 1) First it has to be converted into the required format using Iconv, which will give the output in the internal format. This internal fo...
by pnchowdary
Thu Sep 08, 2005 1:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reject
Replies: 3
Views: 1169

Hi NaveenD, As far as I know, there is no such in built GUI function in server jobs that lets you skip blank rows. Therefore, I think that you need to use some sort of constraint to achieve it. There are a lot of ways you can achieve this, one way to do it is to check the length of a key column afte...
by pnchowdary
Thu Sep 08, 2005 1:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple division in Transformer stage results in zero
Replies: 6
Views: 6121

Hi Paul,

I tried this method in a server job, as I dont have access to parallel job right now and it works well. I wonder if its different in parallel jobs :roll:

Code: Select all

46528/86400
by pnchowdary
Thu Sep 08, 2005 10:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create New Stage in DataStage.
Replies: 2
Views: 2184

Hi Shashi,

I dont think that creating custom stages is possible in server jobs.

Moreover you have posted in wrong section(Looking for Talent Section). Please post it in the correct Server Jobs section
by pnchowdary
Thu Sep 08, 2005 9:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simple division in Transformer stage results in zero
Replies: 6
Views: 6121

Hi Paul,

If all you want to do is simple division, then you can use

Code: Select all

46528/86400
in your tranformer and it will work correctly

My guess is that when you do

Code: Select all

Div(46528,86400)
, the Div function treats the arguments as string and it expects a number.
by pnchowdary
Thu Sep 08, 2005 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 0 (zero) padding for number datatype field
Replies: 2
Views: 2805

Hi Srini, First, you need to convert the numeric values into string type. Then use any combination of the below tranformations. You can remove the leading zeroes by using the below tranformation for each field. Trim(InLink.Incol1,"0","L") You can remove the trailing zeroes by usi...