Search found 42189 matches

by chulett
Thu Oct 18, 2012 6:44 am
Forum: General
Topic: CDIIN4361E: Model deploy failed
Replies: 4
Views: 3242

That doesn't exactly look like a common error. In your shoes I would take that to my official support provider, ask them for help with it.
by chulett
Thu Oct 18, 2012 6:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert column data in to rows
Replies: 4
Views: 1715

Do you know the maximum number of delimited values? If so, code for that.
by chulett
Wed Oct 17, 2012 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversation
Replies: 6
Views: 3520

oracledba wrote:simply only include this

StringToTimestamp(lnk_CONV.TS4)

the extra fitting is causing the error.
Sorry but that's just not correct and will generate syntax errors as well.
by chulett
Wed Oct 17, 2012 9:26 am
Forum: General
Topic: How to abort sequenceafter unix script returns value >0
Replies: 2
Views: 1505

One way would be to turn on the "Automatically handle activities that fail" option as it considers a non-zero return to be a failure. Or you could run your failure check trigger to a Terminator stage.
by chulett
Wed Oct 17, 2012 7:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversation
Replies: 6
Views: 3520

Fix your format in the transformer StringToTimestamp() function call. Nothing else to do for that particular issue.
by chulett
Wed Oct 17, 2012 6:49 am
Forum: General
Topic: Add Checkpoints so sequence is restartable on failure
Replies: 8
Views: 3303

The Sequence must abort for the checkpoints to work. When the status shows "Aborted (Restartable)" then you can either simply Run it to pick up where it left off or Reset / Compile the sequence job if you want it to start over from the beginning.
by chulett
Wed Oct 17, 2012 6:44 am
Forum: Site/Forum
Topic: 40k+ users
Replies: 18
Views: 21443

LOL... we had enough problems getting it changed to say 30,000. :wink:
by chulett
Wed Oct 17, 2012 6:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To get data before commas and pipe
Replies: 5
Views: 1890

Two Field() functions could pull each piece out, first delimited by pipe and then the result delimited by comma. If you are on 8.5 or higher, transformer looping can be used to iterate through the fields based on a count of the pipes.
by chulett
Wed Oct 17, 2012 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of Input and output rows are not same in Hashed file
Replies: 3
Views: 1613

Exactly. They allow no duplicates and destructive overwrite means "last one in wins". :wink:
by chulett
Wed Oct 17, 2012 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to timestamp conversation
Replies: 6
Views: 3520

As the error notes, your format is invalid. From the docs:

For a timestamp, the format is %yyyy-%mm-%dd %hh:%nn:%ss. If extended to include microseconds, the format is %yyyy-%mm-%dd %hh:%nn:%ss.x, where x gives the number of decimal places seconds is given to.
by chulett
Tue Oct 16, 2012 7:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to change TimeStamp Format
Replies: 6
Views: 2231

So you completely ignored my advice... interesting. What happens when your two digits come in as "97"?
by chulett
Tue Oct 16, 2012 5:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to change TimeStamp Format
Replies: 6
Views: 2231

Oh, that. :wink:

Open up the Parallel Job Developer's Guide pdf and search for year_cutoff which specifies the century pivot for two digit years. It defaults to 1900 which is why you see the behaviour you are seeing but you can override it in the format string.
by chulett
Tue Oct 16, 2012 5:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to change TimeStamp Format
Replies: 6
Views: 2231

Since you didn't supply a time, then either "00:00:00" or "12:00AM" should be expected. What it looks like on output is all about your SELECT statement and the TO_CHAR() format string you (or your tool) is using. There's nothing wrong with what you've stored in the table.
by chulett
Tue Oct 16, 2012 5:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Surrogate_Key_Generator
Replies: 3
Views: 1037

You really should have it stored somewhere, failing that you could select CURRVAL rather than NEXTVAL from your sequence.