Search found 42189 matches

by chulett
Tue Nov 23, 2010 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count Of records
Replies: 12
Views: 3093

You would send a single non-null field down another link to the Aggregator and tell it to count that. Doesn't even have to be a "real" field, you could hard-code a value.
by chulett
Tue Nov 23, 2010 6:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Count Of records
Replies: 12
Views: 3093

While you are reading/processing it? Aggregator. Before or afterwards? Sequence job as noted.
by chulett
Tue Nov 23, 2010 6:55 am
Forum: General
Topic: How to mail rejected records..
Replies: 18
Views: 5600

It's related.

It is driven by the stage name, not the job or any other name. Do not try to type it in manually until you really know what you are doing, use the External Parameter Helper available under the ellipsis (...) to show it to you and select it from there.
by chulett
Tue Nov 23, 2010 6:51 am
Forum: General
Topic: Email Notification Stage Issue
Replies: 5
Views: 3596

OK... time to put Arnd's suggestion to work.
by chulett
Mon Nov 22, 2010 9:56 pm
Forum: General
Topic: Routine DSSendMail did not finish OK, return code = '-21'
Replies: 13
Views: 9051

You may have missed it since we posted simultaneously but I did link you to the post I assume Ray was mentioning.
by chulett
Mon Nov 22, 2010 9:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Prefixing The Zero's In CSV File Column.
Replies: 2
Views: 2067

As you noted, this has nothing to do with DataStage or ftp and is what Excel does when it sees something that it "knows" is a number, it will convert it including removing any leading zeroes since they're just icky and get in the way. :wink: There's lots of information out there on how to ...
by chulett
Mon Nov 22, 2010 9:47 pm
Forum: General
Topic: Routine DSSendMail did not finish OK, return code = '-21'
Replies: 13
Views: 9051

No solution yet, though.

Probably a silly question, but you don't mean you literally put the words "my server address" in the stage, do you? :?
by chulett
Mon Nov 22, 2010 9:40 pm
Forum: General
Topic: Looping Activity in DataStage
Replies: 9
Views: 7152

And that "DoNothing" exit from the loop can be a Sequencer if you just want to stub it out or another string of stages if you need to do something afterwards - send an email, run more jobs, etc.
by chulett
Mon Nov 22, 2010 1:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a .sql file
Replies: 4
Views: 2168

Or that. :wink:
by chulett
Mon Nov 22, 2010 11:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running a .sql file
Replies: 4
Views: 2168

That's because, by default, all your exit status indicates is the ability to execute the sqlplus command itself, it could care less what happens with the sql you run inside the session. You need to capture the output from the sql session which can be as simple as redirecting it to a flat file. Then ...
by chulett
Mon Nov 22, 2010 8:30 am
Forum: General
Topic: Email Notification Stage Issue
Replies: 5
Views: 3596

Hmmm... all the -21 means is "error when executing external command" so not all that helpful. Are you using attachment option built into the stage or doing something else?
by chulett
Mon Nov 22, 2010 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using APT_ORACLEAPT_ORACLE_LOAD_OPTIONS
Replies: 2
Views: 1108

That particular option simply says to run a single-threaded direct path sqlldr session. It implies something about any indexes but doesn't "skip" anything. Have a chat with your DBA if you are unsure how sqlldr and those kind of options work.
by chulett
Mon Nov 22, 2010 7:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage and MySQL
Replies: 4
Views: 3638

sri_vin wrote:Craig, The select statement doesn't work.
You do realize that still doesn't help, yes? What "doesn't work" about it? Are you getting errors? Invalid results? Crashes your server and kicks your dog? :wink:
by chulett
Mon Nov 22, 2010 7:41 am
Forum: General
Topic: Looping Activity in DataStage
Replies: 9
Views: 7152

There's no "else" to stopping. From your Execute Command stage, link a zero trigger to a stage after the End Loop. The >0 trigger goes to the End Loop stage.