Search found 15603 matches

by ArndW
Tue Jun 01, 2010 7:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to use substring in transformer
Replies: 4
Views: 3233

FIELD(In.StringColumn,"=",2) will give you what is after the '=' and before the next '=' (if present). Is that what you were looking for? If not, please also specify if this is a Server or a PX transform, as Server has additional string manipulation functions which are not present in PX. ...
by ArndW
Tue Jun 01, 2010 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Installation of Datastage 8.1 into Wondows 7 Home Edition
Replies: 8
Views: 6985

I had a copy of V7 running on that, never tried it with V8.
by ArndW
Tue Jun 01, 2010 5:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage
Replies: 12
Views: 2901

Ray, as usual, is correct. I did a quick test/check but only on hashed files, then checked ODBC and didn't find the attribute and misremembered that it doesn't work, but now I've looked at the transform stage and see a tick box for "Reference link with multi row result set".
by ArndW
Tue Jun 01, 2010 5:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove two consecutive quotes in a csv file
Replies: 4
Views: 1519

One method is the unix tr command, i.e.

Code: Select all

tr -s '"'
by ArndW
Tue Jun 01, 2010 4:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage
Replies: 12
Views: 2901

As I stated in the previous post, server jobs output 1 row for each input row regardless of how many matches. It is a lookup stage and not a join stage.
by ArndW
Tue Jun 01, 2010 4:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to send data from a .CSV file as part of mail body
Replies: 1
Views: 1741

DataStage doesn't do this kind of conversion, but you could replace the commas in the CSV with tabs and get a formatted output if the column lengths are identical or within one tab of each other. Another is to make HTML output, which most mail readers can interpret: x.csv: Col1,Col2,Col3 1,2,3 HTML ...
by ArndW
Tue Jun 01, 2010 4:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage
Replies: 12
Views: 2901

In this case the source or reference stage types are not relevant, server doesn't support this type of functionality. You can do this in PX jobs with the lookup or join stages, though.
by ArndW
Tue Jun 01, 2010 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Installation of Datastage 8.1 into Wondows 7 Home Edition
Replies: 8
Views: 6985

I haven't tried it, but since it is not a supported platform the odds of getting any help from IBM approach 0.
by ArndW
Tue Jun 01, 2010 3:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert to Global Time Zone using the Time Zone conversion
Replies: 3
Views: 3081

A timestamp does not contain time zone information, so you need additional data in some form to (a) find out what time zone a given timestamp value is in, and (b) define 'global time' for your application and add/subtract the requisite number of hours from your timestamp. What database (some support...
by ArndW
Tue Jun 01, 2010 2:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer stage
Replies: 12
Views: 2901

You marked this as a server job but placed it into the PX forum. From the question, I'll assume that this is indeed a server job. Since hashed files cannot have duplicate keys your reference cannot have 3 records with the same key column.
by ArndW
Tue Jun 01, 2010 2:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I process squential files in date order?
Replies: 10
Views: 2152

How do you determine the relative ages of the files? Is it part of the file name, or an OS attribute (date-time-created or date-time-modified or the like)?
by ArndW
Mon May 31, 2010 4:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: where we can find facts and dimension tables
Replies: 2
Views: 880

ds_dwh - I think you need to research into what fact and dimension tables are and what DataStage actually does with data before progressing further. The DataStage product has no idea of what fact or dimension tables are; the product deals with data at a lower and more granular stage, moving and tran...
by ArndW
Mon May 31, 2010 4:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CFF stage reading Mainframe Dataset that has S9(S) Comp -3
Replies: 13
Views: 7787

Again, the heap message is a warning and not an error. Write a test job with just the CFF stage and output to a PEEK stage. As you've done already, get it to read and display one column successfully using "view data". Once that is working, add columns until you get an error and then post t...
by ArndW
Mon May 31, 2010 4:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Error
Replies: 20
Views: 10029

I would do an explicit conversion so that both datatypes are identical in type and you will need to ensure that nullability is identical as well, perhaps by adding a NullToValue() call.
by ArndW
Mon May 31, 2010 4:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Speed up ETL Process in Datastage job
Replies: 12
Views: 10537

If your DataStage partitioning is identical to your database partitioning then, when loading to the database, each process only needs to load to one partition and is therefore much faster and more efficient than otherwise. This is not necessarily DataStage but general database and, in this case, Ora...