Search found 42189 matches

by chulett
Fri May 29, 2015 11:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table action as truncate Vs truncate statement in before SQL
Replies: 9
Views: 5080

Interesting, thanks for posting that. Note that the resolution is not to go all #3 on it but rather use the custom truncate option. That or use a native stage if at all possible.
by chulett
Fri May 29, 2015 8:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML FILE Loading '&'
Replies: 2
Views: 1047

Sorry, but... and? That is the expected behaviour, never mind the fact that you ask no question. For an example, see this randomly chosen page and scroll down to the "5. References" section.
by chulett
Fri May 29, 2015 6:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table action as truncate Vs truncate statement in before SQL
Replies: 9
Views: 5080

Yikes. If that's true (easily testable) then #2 is living up to its number and should be avoided. :wink:
by chulett
Thu May 28, 2015 2:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Table action as truncate Vs truncate statement in before SQL
Replies: 9
Views: 5080

Truncate is truncate. Why complicate things or make them more obtuse? If you always need to truncate each table before it is loaded, go with #2. Never mind the fact that #1 will complicate a restart, meaning without manual intervention of some sort you'd have reload ALL should one fail. And #3 essen...
by chulett
Thu May 28, 2015 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating fixed width file
Replies: 4
Views: 4246

Mine is not a fixed length file. But its a fixed width column file. If any value is null, then nothing should be populated. Honestly never heard of such a thing. A column can't be any kind of "fixed" in width if the width changes when the value is null. :? But if it is working as you need...
by chulett
Thu May 28, 2015 2:01 pm
Forum: General
Topic: Jobs count in a project
Replies: 4
Views: 1013

Why, yes there is!

viewtopic.php?t=144212
by chulett
Thu May 28, 2015 9:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating fixed width file
Replies: 4
Views: 4246

First off, you cannot have any nullable fields in a fixed-width file unless you also make sure the Null Field Value is all spaces. Also, I seem to recall a property where you specify the number of bytes between columns, you may need to set that to zero. Also think you need to make sure you set the D...
by chulett
Thu May 28, 2015 7:27 am
Forum: General
Topic: Job getting aborted with strange error
Replies: 3
Views: 1352

So what was the resolution?
by chulett
Wed May 27, 2015 7:43 pm
Forum: General
Topic: Execute multiple cp commands in a Sequence job
Replies: 6
Views: 1436

You may want to reconsider using a numeric loop. Rather, can you build a delimited list of the filenames to process first? You can then pass that list to the Start Loop stage and it can loop through the list until it runs out of elements in the list. It can then leverage the built-in loop counter to...
by chulett
Wed May 27, 2015 9:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get the records count by the datastage operator?
Replies: 6
Views: 2512

Sorry but I have to ask - why? One would typically do that by building the appropriate parallel DataStage job and letting the product generate that for you. Why do you feel the need to be down at that level building OSH scripts by hand? IMHO - leave that to the experts or people who come from the or...
by chulett
Wed May 27, 2015 9:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get the records count by the datastage operator?
Replies: 6
Views: 2512

Not really clear why you are mentioning "by the osh". Is this something you want to do inside a job (while it is running) or outside of a job after it completes?
by chulett
Wed May 27, 2015 9:24 am
Forum: General
Topic: Execute multiple cp commands in a Sequence job
Replies: 6
Views: 1436

As a general statement, I would think #2 would be more better.
by chulett
Wed May 27, 2015 8:56 am
Forum: General
Topic: Dynamic loop?
Replies: 1
Views: 856

Welcome aboard. The short answer is 'no'. However, there is a simple way to exit the loop early. Have a trigger path that fires when you would have been setting the counter to 99 and instead have it branch to a stage linked AFTER the End Loop stage. That stage can be anything, including just a stand...
by chulett
Wed May 27, 2015 8:52 am
Forum: General
Topic: Execute multiple cp commands in a Sequence job
Replies: 6
Views: 1436

Define 'multiple files' - multiples based on what, a wildcard pattern?

Me, I'd write a script.
by chulett
Wed May 27, 2015 7:02 am
Forum: General
Topic: FoxPro Server file issue
Replies: 8
Views: 2842

... or just continue to wait for divine intervention. :roll: :roll: