Search found 7 matches

by bondlee
Mon Nov 04, 2013 7:39 pm
Forum: General
Topic: Exception in Exception handle
Replies: 6
Views: 2493

Thanks for the reply. I did think the same but just wanted to see if I was missing any possible setting to make the sequence end gracefully rather than abort. That is a master sequence with no parent and needs manual intervention to reset.

Anyway, thanks for your interest.
by bondlee
Mon Nov 04, 2013 9:42 am
Forum: General
Topic: Exception in Exception handle
Replies: 6
Views: 2493

I did un-check the 'automatically handle exceptions'. No problems with restartability.
by bondlee
Mon Nov 04, 2013 9:32 am
Forum: General
Topic: Exception in Exception handle
Replies: 6
Views: 2493

Hi Ray, If it is something that I can control, that would have been my first choice. To give more details, there is a job that is being called under ex handle stream. If that job is not in runnable state or if one of its parameters can't be set, that results in exception under the ex handle stream. ...
by bondlee
Mon Nov 04, 2013 12:58 am
Forum: General
Topic: Exception in Exception handle
Replies: 6
Views: 2493

Exception in Exception handle

Hi, I have spotted a strange, but not impossible, scenario in a job sequence that has a user defined exception handler. When an exception occurs in a job sequence, the code under exception handler gets executed. But the interesting thing to know is what happens when the code under that ex handler en...
by bondlee
Sun Jul 07, 2013 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: A different Requirement
Replies: 13
Views: 7082

You can try doing it in Unix (assuming that your environment is unix). an awk script can brilliantly come to your rescue. But if you need column names, that will be complex as the selection of columns is dynamic here. You can alternatively use Craig's solution which has been discussed in one of my p...
by bondlee
Sun Jul 07, 2013 8:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best way to add a column conditionally to a sequential file
Replies: 7
Views: 3880

Thanks all for the replies. Sorry for late reply. @Ray, It's a nice approach. I was also thinking of column export and import stages for similar approach. I was wondering, however, how can we generate record of column names in the latter case (while processing row#1). I guess for this we might need ...
by bondlee
Thu Jun 20, 2013 9:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best way to add a column conditionally to a sequential file
Replies: 7
Views: 3880

Best way to add a column conditionally to a sequential file

Hi All, I have a specific requirement of adding a column conditionally to a target sequential file. I am looking for the best way of doing it. To put it in detail, the source can have two columns Col1, Col2. Col1 always goes to target file (which is a sequential file) but Col2 should be added to tar...