Search found 42189 matches

by chulett
Mon Oct 18, 2010 11:39 pm
Forum: General
Topic: To run a job based on the output of the first job
Replies: 23
Views: 5039

I was looking for the syntax for this:
adityavarma wrote:But still one more issue is there , i am not able to pass the parameters to execute command acitivity from the Parameter set.
by chulett
Mon Oct 18, 2010 10:24 pm
Forum: General
Topic: Command prompt stage throwing error at run time
Replies: 5
Views: 2171

What does the .bat file return? Anything? I haven't used that exact stage before (never having worked with a Windows based DataStage server) but if it's anything like the Execute Command stage, any kind of a non-zero return is considered a failure.
by chulett
Mon Oct 18, 2010 1:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: need to concatenate multiple input columns into 1 output col
Replies: 3
Views: 2699

It's not a pivot, just a concatenation. And there really shouldn't be any extra 'expense' with doing it in a stage variable.
by chulett
Mon Oct 18, 2010 10:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer constraint
Replies: 5
Views: 1720

I'd clarified what you need to do and hoped you'd put some effort into figuring out the rest but if you are looking for something more 'silver platter', then fine... The first link constraint should be something like: Today.Role_ID = "AAAAA" or Today.Role_ID = "BBBBB" or Today.Ro...
by chulett
Mon Oct 18, 2010 9:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer constraint
Replies: 5
Views: 1720

Constraints are expressions that evaluate to True or False and which control whether the link 'fires' or not, i.e. if data is allowed down it or not. What you've posted are assignments, in other words expressions that belong in the derivation of specific output fields, not in a constraint.
by chulett
Mon Oct 18, 2010 7:32 am
Forum: General
Topic: Sequence Abort with message Attempting to Cleanup after ABOR
Replies: 8
Views: 3466

Ah yes, I've seen the same issue. Make sure everyone gets the fix, otherwise if someone without it compiles the sequence, the error will come back.
by chulett
Mon Oct 18, 2010 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how remove duplicate in transformer
Replies: 7
Views: 3067

ArndW wrote:Craig, I agree with you - I would program it that way but expanded the logic to make the statement more understandable.
Of course and I figured as much... just couldn't resist the perfect setup. :wink:
by chulett
Mon Oct 18, 2010 6:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion error calling conversion routine date_from_julian
Replies: 2
Views: 997

What is your ultimate goal here? You said you already converted your timestamp to a date which is why the DateFromJulianDay() function fails - you don't have a julian day for it to convert to a date.
by chulett
Mon Oct 18, 2010 6:44 am
Forum: General
Topic: Bug in Execute Command stage?
Replies: 7
Views: 2651

cat rejectfile1.txt rejectfile2.txt > commonrejectfile.txt && wc -l commonrejectfile.txt

As noted, no need to pipe cats. Are you 'cd'ing to this directory as part of the command? Always concerned when I see relative paths in something like this. :?
by chulett
Mon Oct 18, 2010 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how remove duplicate in transformer
Replies: 7
Views: 3067

Or, exactly the same but my preference would be:

Code: Select all

svDuplicate        In.Key=svLastKey
svLastKey          In.Key
Constraint "Not(svDuplicate)"
by chulett
Mon Oct 18, 2010 6:21 am
Forum: General
Topic: Bug in Execute Command stage?
Replies: 7
Views: 2651

"cat file1 file2 | wc -l" should be sufficient without having to create a file. :wink:

But that puts us firmly in the often scorned "piping cats" camp, so perhaps just one of the following?

wc -l file1 file2
wc -l file[1,2]
wc -l file*
by chulett
Mon Oct 18, 2010 6:18 am
Forum: General
Topic: Options for notification of Job Failures
Replies: 4
Views: 1750

by chulett
Sun Oct 17, 2010 3:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: timestamp issue
Replies: 1
Views: 1108

http://home.iprimus.com.au/raywurlod/Da ... utines.dsx

ps. An hour is 60*60 or 3600 seconds.
by chulett
Sun Oct 17, 2010 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator Stage
Replies: 5
Views: 2824

About all you are missing from BugFree's comments is the irony they are dripping with. Perhaps some sarcasm as well. :wink:
by chulett
Sun Oct 17, 2010 7:21 am
Forum: General
Topic: How to fixate a return port from DB2 to DataStage
Replies: 1
Views: 981

So... still the same problem that you posted earlier?