Search found 42189 matches

by chulett
Thu Jun 06, 2013 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with Date format in SP
Replies: 12
Views: 4362

Undoubtedly. Your procedure code as written will ONLY work if the date is passed in as coded in the TO_DATE function call: YYYY-MM-DD. Are you certain it throws the ORA error when your XML element looks like "<DATE>2011-01-01</DATE>"? No extra spaces, just a 10 character date string betwee...
by chulett
Thu Jun 06, 2013 3:16 pm
Forum: General
Topic: Using "Oracle Instant Client" with Datastage 8.1
Replies: 3
Views: 1260

Yes. Search and ye shall find.
by chulett
Thu Jun 06, 2013 3:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Compilation Error
Replies: 10
Views: 3605

I'm thinking you should be contacting your official support provider on this one...
by chulett
Thu Jun 06, 2013 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format conversion
Replies: 7
Views: 2956

As to your other questions: 1. No. Look up what the CENTURY PIVOT option controls. Or you may be able to supply the pivot year with the function call, I don't recall but it should all be documented. 2. My rule is to never rely on a "default date format" when loading to a database table. St...
by chulett
Thu Jun 06, 2013 2:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format conversion
Replies: 7
Views: 2956

He's saying there's no need for your cut/paste rearrangement of the parts, simply convert it to a date "as is".
by chulett
Thu Jun 06, 2013 12:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Compilation Error
Replies: 10
Views: 3605

No, this is a new topic... we've seen plenty of examples of compiler issues when a transformer is involved but not one where it fails the first attempt and then succeeds after that. I honestly have no idea here but wanted to point that out. For the record, what exact 8.x version are you running and ...
by chulett
Thu Jun 06, 2013 10:51 am
Forum: General
Topic: Executing DSJOB in Command stage
Replies: 1
Views: 1249

It's not a TCL command, it's something you run from the command line.
by chulett
Thu Jun 06, 2013 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Maximum number of bytes in a record in flat file
Replies: 10
Views: 2806

How are you counting the records: wc -l? Do you have any binary data in the record? All it takes is something that looks like a linefeed to change your line count.
by chulett
Thu Jun 06, 2013 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Maximum number of bytes in a record in flat file
Replies: 10
Views: 2806

Not that I'm aware of. That 4K sounds like a limitation on a single field size - is your record one long CHAR field?
by chulett
Thu Jun 06, 2013 6:57 am
Forum: General
Topic: Command to get list of uncompiled jobs
Replies: 1
Views: 1887

There isn't one. Why from the command line? And then you'll do what - compile them? The Multi-Job Compiler supports compiling on uncompiled jobs from what I recall. While there isn't a specific command, pretty sure you should be able to leverage dsjob for this. Script something to list all of the jo...
by chulett
Thu Jun 06, 2013 12:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert CCYYMMDD to YYYYMMDD
Replies: 5
Views: 4216

In other words, there's nothing to convert here.
by chulett
Wed Jun 05, 2013 10:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format conversion
Replies: 7
Views: 2956

The fundamental problem here is the fact that dates have no format. A date is a date is a DATE and are stored internally as a number, an offset from a zero date. External string representations of dates are what have formats like your mm-dd-yy. You convert a string in a specific format to a date in ...
by chulett
Wed Jun 05, 2013 10:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Junk Characters in DataStage
Replies: 5
Views: 3266

Sorry, missed the fact that you started a new post as well as jumped on the old one. Anyone wanting to help should do so in your post on the subject as there's no need to two conversations. I'm locking this one.
by chulett
Wed Jun 05, 2013 10:13 am
Forum: General
Topic: UserVariables Activity - PassLastSyncDate
Replies: 8
Views: 3209

Forgot to mention one bit of information here - the issue with doing those "after" routines is the fact that anything "after" has no access to row data flowing through the job. I'll admit that I have no idea what Set_Stage_Variable.StageVar is but I doubt it changes that fact.