Search found 42189 matches

by chulett
Wed Apr 20, 2011 4:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TIMESTAMP TO INTEGER
Replies: 6
Views: 1663

What does a timestamp look like after you extract it from SQL Server? Meaning, what format is it in? That will drive where you'll substring the year from.
by chulett
Wed Apr 20, 2011 4:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Formating of Date and Timestamps for Schema Files
Replies: 3
Views: 3277

Welcome to your own topic after splitting this from the post you jumped on the end of. Please edit your post and add the particulars for your environment.
by chulett
Wed Apr 20, 2011 4:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writting order of the data into table is changing from sourc
Replies: 1
Views: 1325

Curious how this is an issue as there is no 'order' to how data is stored in a relational table.
by chulett
Wed Apr 20, 2011 4:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TIMESTAMP TO INTEGER
Replies: 6
Views: 1663

What is your source, a database? If so, which one? Regardless, it should be as simple as getting the year from the timestamp, which could be just a substring of the first four characters.
by chulett
Wed Apr 20, 2011 1:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage Server Issue
Replies: 6
Views: 1882

There's always a reason... but there really isn't any way for us to know what it is. In my experience, the biggest culprit for project corruption is running out of disk space where the DataStage engine and/or Projects are installed. Any chance that happened? Are you actively monitoring that space? B...
by chulett
Wed Apr 20, 2011 9:47 am
Forum: General
Topic: File Pattern
Replies: 3
Views: 1903

If "one by one" means a separate run of the processing job for each file, that's what a Sequence job with the Start/End Loop stages will do. Any particular problem with doing them all at once?
by chulett
Wed Apr 20, 2011 9:45 am
Forum: General
Topic: File Pattern
Replies: 3
Views: 1903

I've been deleting these wayward posts up till now but took pity on this one for some reason, so split it out to here.
by chulett
Wed Apr 20, 2011 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ERROR Reading source csv file
Replies: 3
Views: 3063

Same answer but it could be specific to a portion of the file, as in the file is corrupted. Or perhaps whatever you are doing to create the smaller file adds the appropriate delimiter. There's no way for us to know. We can't see your file and you haven't shared any of the settings you are using, so ...
by chulett
Wed Apr 20, 2011 7:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading Flat file (CSV)
Replies: 13
Views: 7460

h4harry1 wrote:Any other suggestion plz. I m not allowed to change source file at all.
Thanks
Whomever is producing the file needs to "change" it. What you are receiving right now is invalid.
by chulett
Wed Apr 20, 2011 7:29 am
Forum: General
Topic: Passing multiple filenames one after another
Replies: 5
Views: 1972

That by itself won't work as the list needs to be delimited. Typically you would use a User Variables Activity stage to generate the list and your O/S should have an "m" option (off the top of my head) to return your list of filenames comma delimited.
by chulett
Wed Apr 20, 2011 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Discussion about Late Arriving Dimensions
Replies: 11
Views: 7880

We have the natural key from the fact data. In many cases that's all we have, making the stub dimension records extremely... stubby. :wink:
by chulett
Wed Apr 20, 2011 7:24 am
Forum: General
Topic: Passing multiple filenames one after another
Replies: 5
Views: 1972

What have you tried? That's exactly what the Start/End Loop stages are for, all you need to do is build them a delimited list of the filenames first.
by chulett
Wed Apr 20, 2011 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ERROR Reading source csv file
Replies: 3
Views: 3063

All we can tell from that is the record delimiter you used is wrong, as in doesn't match what's in the source file.
by chulett
Wed Apr 20, 2011 7:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting descriptor file
Replies: 8
Views: 4374

Yes, the dataset will become unusable. Deleting individual segments makes no sense. Your requirement should read: "if you are sure that the dataset PX_BEA.ds will never be referenced you can go ahead and delete the dataset and the corresponding PX_BEA.ds file" That latter would be automati...
by chulett
Wed Apr 20, 2011 7:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Discussion about Late Arriving Dimensions
Replies: 11
Views: 7880

My current (non-DataStage) project is taking a "pre-load" approach as well. After all of the dimensions have been updated from their sources, the incoming daily fact data is thrown up against each dimension and we create "stub" records for anything late arriving. They get a real ...