Search found 42189 matches

by chulett
Tue Jan 07, 2014 6:12 pm
Forum: General
Topic: Listing the Datastage jobs run today in the Universe Stage
Replies: 1
Views: 861

It would be stored in the RT_STATUSnnn table for each individual job where 'nnn' is the internal job number. From what I recall. You may be able to do an exact search here and turn up more details, I don't have any with me at the moment.
by chulett
Tue Jan 07, 2014 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle table transaction capabilities in DataStage
Replies: 4
Views: 1677

Just a quick question right now - what exact version of DataStage are you running?
by chulett
Mon Jan 06, 2014 3:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 4741

Good to know. I've just always preferred being... explicit. :wink:
by chulett
Sun Jan 05, 2014 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Assign same value of Surrogate Key till next instance
Replies: 4
Views: 2238

You don't need two stage variables, just the one will do if you add the 'else' that is missing from the initial suggestion: svABC: If XYZ = 'S' Then NextSurrogateKey() else svABC This will preserve the value for all non-'S' rows. Of course, you will also have to worry about your partitioning adverse...
by chulett
Sat Jan 04, 2014 8:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup Failure
Replies: 2
Views: 1659

So DB2 fails because it is comparing "XX " to "XX" is what you are saying? If that's the case, then yes you do need to trim that source field but you need to ensure your target for the trim() function is a varchar. Trimming a char to a char is a waste of time as the datatype just...
by chulett
Sat Jan 04, 2014 8:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 4741

Well... you are transforming a date to a timestamp so I really don't see a way to do that without adding something for the time, specifically the zeroes you need. You can try using a TO_DATE() in your source SQL directly into a Timestamp field when selecting that field: TO_DATE(YOUR_FIELD, 'YYYYMMDD...
by chulett
Fri Jan 03, 2014 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 4741

Out of curiousity, what do you consider to be a 'direct way'? To me, that is one. Do you perhaps mean an implicit conversion? If so, what is your source for this - a flat file, another database?
by chulett
Fri Jan 03, 2014 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string timestamp oracle
Replies: 9
Views: 4741

Re: string timestamp oracle

devsonali wrote:I can append a time and then use this function but i don t want to do it .
Why not? Append a zero time as part of the function call.
by chulett
Fri Jan 03, 2014 8:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Timestamp Conversion
Replies: 10
Views: 5084

They've specified 8.1 in the Additional Info field. A recent discussion of the function and that format is here.
by chulett
Thu Jan 02, 2014 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Search of datasets in a folder
Replies: 7
Views: 2916

What 'this' is being argued as a reason to not use datasets?
by chulett
Thu Jan 02, 2014 8:25 am
Forum: General
Topic: Error if I use Transformer stage
Replies: 4
Views: 1448

First of all, it must be a supported compiler for your platform / version. And yes, you need to set environment variables / paths / etc so DataStage knows where it is and what options to use. And they are all documented. I randomly found that url for 8.1 with a search, make sure you look at the one ...
by chulett
Tue Dec 31, 2013 8:03 am
Forum: General
Topic: crontab not working as expected
Replies: 5
Views: 1423

Ah, true... so: 0 12 * * 1-5 /x/y/Scripts/Script.sh 2>&1 Would be more better. However, I'm curious about the '2-31' you have for day of month, did you specifically want to exclude the first day of the month if the 1st is a weekday? If so you may have to check the day inside the script and skip ...
by chulett
Mon Dec 30, 2013 5:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert/Update column value with special char #
Replies: 5
Views: 2093

Really not sure why that value would be an issue... but then I have no direct SQL Server experience. Is that your only issue, meaning other values load correctly and just something that starts with a hash ends up null? :?