Search found 13 matches
- Wed Jan 05, 2011 5:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to pass database name as parameter for connectivity
- Replies: 2
- Views: 3970
How to pass database name as parameter for connectivity
Is there a way to pass database name as a parameter in DataStage ? Basically, there can be many (hundreds) of databases on a single server, and I'm trying to find a way to dynamically switch the data source / target at run time. I don't think this can be accomplished within ODBC Connector stage beca...
- Wed Apr 28, 2010 9:09 pm
- Forum: General
- Topic: How to parse string input into rows by delimiter
- Replies: 5
- Views: 3554
- Wed Apr 28, 2010 6:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to convert integer data to float
- Replies: 1
- Views: 1530
How to convert integer data to float
I have an input data in integer format as below :
150000
10000
1099
Is there a function in DataStage to convert the above integer into :
1500.00
100.00
10.99
I am thinking about converting to CHAR , SUBSTRING and concatenate the "." But it doesn't seem very efficient.
150000
10000
1099
Is there a function in DataStage to convert the above integer into :
1500.00
100.00
10.99
I am thinking about converting to CHAR , SUBSTRING and concatenate the "." But it doesn't seem very efficient.
- Mon Apr 26, 2010 6:22 pm
- Forum: General
- Topic: How to parse string input into rows by delimiter
- Replies: 5
- Views: 3554
I have looked into using field function with no luck so far. But I am quite new to DataStage, so it's quite possible that I may be doing something wrong :) I am also trying to see if there is a locate function (similar to LOCATE function in DB2) to find the delimiter position in a string to start bu...
- Mon Apr 26, 2010 5:43 pm
- Forum: General
- Topic: How to parse string input into rows by delimiter
- Replies: 5
- Views: 3554
How to parse string input into rows by delimiter
I have an input string chacters in the following format : ABCDEF ABCDEFGHIJ ABCDEFGHIJKL And I have a lookup table that stores rules on how to parse out the string character like (blank space is my delimiter) : XX XXXX XXXX XX I would like my output to be something like (based on the rule found abov...
- Wed Apr 21, 2010 11:20 pm
- Forum: General
- Topic: DataStage and SQL Server 2008 connectivity
- Replies: 4
- Views: 5176
I have been able to create a connection to SQL Server from Windows but not much luck on the Linux server. Does anyone know if SQL Server Enterprise Stage is available ? I was able to create an ODBC data source but wondering if there is a simpler way. Eventually, what I'm trying to accomplish is be a...
- Wed Apr 21, 2010 11:11 pm
- Forum: General
- Topic: Sequential File Stage and file name variable
- Replies: 8
- Views: 4024
- Wed Apr 21, 2010 7:29 pm
- Forum: General
- Topic: Sequential File Stage and file name variable
- Replies: 8
- Views: 4024
- Wed Apr 21, 2010 4:44 pm
- Forum: General
- Topic: Sequential File Stage and file name variable
- Replies: 8
- Views: 4024
- Wed Apr 21, 2010 3:44 pm
- Forum: General
- Topic: Sequential File Stage and file name variable
- Replies: 8
- Views: 4024
- Wed Apr 21, 2010 2:27 pm
- Forum: General
- Topic: Sequential File Stage and file name variable
- Replies: 8
- Views: 4024
Sequential File Stage and file name variable
What's the best approach to parse out the sequential file name to be used as a variable inside Transformer Stage ? For our project, file name is a unique ID that will be used within jobs to populate our target table. Am I correct in thinking that I may have to use Job Sequence to execute linux comma...
- Tue Apr 20, 2010 7:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date dimension in data warehouse
- Replies: 2
- Views: 2089
Date dimension in data warehouse
I am new to DataStage and would like to find out what other people are
using to populate some common dimensions like date or year dimension.
What are most common attributes and how to populate the table appropriately ?
Do you guys use stored procedure and database function to add dates ?
using to populate some common dimensions like date or year dimension.
What are most common attributes and how to populate the table appropriately ?
Do you guys use stored procedure and database function to add dates ?
- Mon Apr 12, 2010 12:17 am
- Forum: General
- Topic: DataStage and SQL Server 2008 connectivity
- Replies: 4
- Views: 5176
DataStage and SQL Server 2008 connectivity
We just completed 8.1 DataStage installation on Windows OS. I need to create a connection to SQL Server 2008. But when I create a parallel job and pick SQL Server Enterprise, I do not know how to point to the SQL Server environment. Is there a step-by-step documentation that I can follow anywhere or...