Search found 42189 matches

by chulett
Thu Dec 02, 2010 5:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to timestamp error
Replies: 12
Views: 24058

Sorry, but that's not what I said. Your timestamp has has a precision of three so the mask needs to be %ss.3 rather than %ss.6.
by chulett
Thu Dec 02, 2010 4:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to timestamp error
Replies: 12
Views: 24058

It's %mmm rather than %mon from what I recall and you'll need six zeroes for %ss.6 and you've only got three.
by chulett
Thu Dec 02, 2010 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Count using Stage Variable
Replies: 9
Views: 8117

One should be able to make that work as well, even though it violates the "without any command in unix" rule. Technically. :wink:
by chulett
Thu Dec 02, 2010 1:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: reject a record!!
Replies: 11
Views: 3162

Just svreject could work. But for this to make sense, svreject as "false" [ aka Not(svreject) ] would be used in your target link, while svreject as "true" would be for a reject link.
by chulett
Thu Dec 02, 2010 1:31 pm
Forum: General
Topic: Master Sequence taking long time to call sequences under it
Replies: 3
Views: 1461

No clue.

What 8.x version? Are you current on patches / fixpacks? Any chance that Master Sequence's log is quite... large?
by chulett
Thu Dec 02, 2010 12:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Seq File not getting created ds_seqopen() problem
Replies: 4
Views: 1844

Has this run before? If not, I would check your path for permission issues, ensure you have the rights you need to create a file there.
by chulett
Thu Dec 02, 2010 11:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading data to oracle table
Replies: 2
Views: 950

What stage and 'action' are you using?

ps. That array size will kill your performance, it should be something larger - for lack of knowledge and thus any better suggestion try 1000 and see if that helps.
by chulett
Thu Dec 02, 2010 9:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Count using Stage Variable
Replies: 9
Views: 8117

Yes, but that would be 'too late' in this case. Well... unless you wrote everything to the file, got the count after job and then overwrote the file with the total. I suppose. :?
by chulett
Thu Dec 02, 2010 9:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: need to load date time from file to table
Replies: 12
Views: 4732

Or as Ray noted, read it as a varchar and use the appropriate mask with the TO_DATE() function in your target sql.
by chulett
Thu Dec 02, 2010 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a file using sequential file stage
Replies: 7
Views: 3361

Of course, another option is to get whomever or whatever is producing that file to build a valid csv file rather than junk like that. :?
by chulett
Thu Dec 02, 2010 8:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to increment the value in Database while updating table
Replies: 3
Views: 1848

Use a lookup so you know both if it is "new" or not and what the old values are. Then you can either insert or update and increment the old values appropriately.
by chulett
Thu Dec 02, 2010 8:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Count using Stage Variable
Replies: 9
Views: 8117

No. Perhaps in 8.5 when it can recognize EOD or perhaps with looping but older versions will require aggregation. Or just use a script to get the line count and echo it to the output file. :wink:
by chulett
Thu Dec 02, 2010 8:42 am
Forum: General
Topic: How to find the jobs in Unix level
Replies: 9
Views: 3229

This is all 'Command Line 101' stuff. :? You can run any command from anywhere as long as the directory where it lives is in your PATH environment variable. When it isn't you have to tell the O/S where the command can be found and you can do that in two ways: 1. Use the full path to the command as T...
by chulett
Thu Dec 02, 2010 8:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TOAD vs DataStage
Replies: 18
Views: 10728

'Sweet spot' means you have to try various values, dialing it up and back down again until you find the appropriate value for this combination. Many things can affect this with the setting you've mentioned only part of it, for example your average record length, indexes on the target, disk subsystem...
by chulett
Thu Dec 02, 2010 8:16 am
Forum: General
Topic: Is there any way to send one more recipients?
Replies: 2
Views: 1630

Or a comma space, or a semi-colon space - some combination should work. And there's no way to "cc" anyone out of the box, you'd have to write your own mechanism to do that.