Search found 92 matches

by dsxdev
Thu Oct 07, 2004 8:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we connect to MS SQL server thru DataStage
Replies: 2
Views: 3020

Can we connect to MS SQL server thru DataStage

Hi All,
We are using MS SQL server as our Database and DataStage is installed on Unix Server.

Can we pull data from MS SQL Server thru DataStage and process it. If it is possible how can this be done.

Any inputs on this will be welcome.

Thanks
by dsxdev
Tue Oct 05, 2004 9:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issues with StringToDecimal function.
Replies: 4
Views: 6786

Hi Pavan,
Can you tell me how did you convert the varchar field to Integer.
My requirement is also to convert the varchar to Integer.

There are two copies of the same job one job compiles and works and the second one does not even compile.

This problem has been there for sometime.
by dsxdev
Tue Oct 05, 2004 8:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: calling a script
Replies: 1
Views: 1560

What is your requirement ? Is it that you need to move records from file to DB2 table and get record with latest date from DB2 table and then wrtie to target Db2 table or is it the of the records from both text file and DB2 table you need to get record with latest date. if your requirement is the th...
by dsxdev
Tue Oct 05, 2004 7:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issues with StringToDecimal function.
Replies: 4
Views: 6786

issues with StringToDecimal function.

Hi, In one of my jobs I am using StringToDecimal function. Input to this is a varchar column. Data in this column is of nature "2314123 dafsdf adsfas 2132" or "123123" or "123213231 SDFASD". It varies I need to extract the first numeric part and then convert it to Integ...
by dsxdev
Fri Oct 01, 2004 7:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hi
Replies: 2
Views: 1237

In a Database Stage you use to write the records to a target table, we observed that DataStage stops loading to the target table when ever there is primary key violation. No record is loaded from the point of violation if the violation occurs at record 1 then 0 records are entered.
by dsxdev
Wed Sep 29, 2004 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer and job parameters type
Replies: 5
Views: 2842

One possible cause would if you are assigning this job parameter value to a Stage variable or operating on job parameters to the Stage variable and then use it , in such a case you should define the Stage variable type.

if every thing looks fine just could be problem with metadata.
by dsxdev
Wed Sep 29, 2004 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Vs Filter Stage
Replies: 7
Views: 8746

Hi,
if you already have a transformer doing the transformations
added to those you need to split the records based on the range of a column value then better you implement this in transformer using Link Constraints and Stage Variables.
by dsxdev
Wed Sep 29, 2004 8:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Vs Filter Stage
Replies: 7
Views: 8746

For small operations like this Filter would be a better option.
Transformer is more robust than a Filter Stage. :D
by dsxdev
Wed Sep 29, 2004 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt in Join Stage
Replies: 6
Views: 3950

From my experience, a Join Stage works same as a Database join (output wise). There is every possibility of getting output no of records more than in put. You are dong a left outer join Suppose you have 10 input records(left link) and 6 records on right link. Out of these 6 records 3 records match w...
by dsxdev
Wed Sep 29, 2004 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Introducing New column in the Transformer Stage
Replies: 5
Views: 3103

Hi, When ever you are using a function on an input column which is nullable, it is better you handle nulls explicitly. Otherwise the records would be dropped when ever a null is encountered in that field. As rightly pointed in above mails you can use IsNull or NullToValue functions to trap nulls.The...
by dsxdev
Tue Sep 28, 2004 9:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is the difference between DB2 API Stage and DB2 Enterpr
Replies: 0
Views: 3030

What is the difference between DB2 API Stage and DB2 Enterpr

Hi, What is the difference between DB2 API Stage and Enterprise Stage. I know that API runs in sequential mode while Enterprise Stage can run in both parallel and sequential mode. What is the difference in the logging modes of these stages and what are the different features that are different in th...
by dsxdev
Tue Sep 28, 2004 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is it possible in DataStage to convert text to timestamp
Replies: 3
Views: 4035

Rightly said by Ray, you can directly write the text to timestamp, if the format is valid timestamp. You have funtion StringtoTimeStamp. But better to directly write the input if in right format else this would unnecessarily increase function call and reduce performance when volume of data is high.
by dsxdev
Tue Sep 28, 2004 8:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: handling of String to Integer conversion
Replies: 4
Views: 5302

Re: handling of String to Integer conversion

Hi, I am getting alpha numeric value in a String column ex"1232123 ABZC". Now I need to extract these two values to seperate columns. I tried Field function to extract these two values seperatly. But when I try to convert the first part of the string to numeric value (i used StringToDecim...
by dsxdev
Sat Sep 25, 2004 12:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue when we change join type from left to right outer
Replies: 1
Views: 1324

Issue when we change join type from left to right outer

Hi,
We are facing a problem when ever we change the join type.
We have two inputs to a join Stage link A and link B
A-left
B-right and join type Left outer join.

This combination works.

But when we change the order of the links

A- rigth
B- left

Now we use right outer join.
by dsxdev
Fri Sep 24, 2004 9:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: handling of String to Integer conversion
Replies: 4
Views: 5302

handling of String to Integer conversion

Hi, I am getting alpha numeric value in a String column ex"1232123 ABZC". Now I need to extract these two values to seperate columns. I tried Field function to extract these two values seperatly. But when I try to convert the first part of the string to numeric value (i used StringToDecima...