Search found 42189 matches

by chulett
Thu Aug 23, 2012 9:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to build keyword search with a loop?
Replies: 1
Views: 865

You can certainly build a job that runs that source query with a parameter and then loop the job using a Sequence job. Each iteration could pass in a single value from a delimited list.
by chulett
Thu Aug 23, 2012 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: want the last non-null value . how can i achieve this?
Replies: 11
Views: 3848

I thought that restriction was removed, what version are you running?

Anyway, have a transform wherever you use the stage variable and convert an empty string to null at that point.
by chulett
Thu Aug 23, 2012 7:41 am
Forum: General
Topic: ETL Email Configuration
Replies: 1
Views: 1070

Sequence jobs have nothing to do with configuring email on the ETL server. Just have your Admins ensure that you can send email from the command line on that server using normal UNIX functions like sendmail, mailx, etc. There's no Parallel routine as all of the notification happens before/after job ...
by chulett
Thu Aug 23, 2012 12:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: want the last non-null value . how can i achieve this?
Replies: 11
Views: 3848

Help how? The question was to you. What do your requirements / rules say to do when all of the values in a particular column are null?
by chulett
Wed Aug 22, 2012 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between two dates
Replies: 12
Views: 2877

Moved to the correct forum.

This is your thread now, so if it is working to your satisfaction please mark the thread as Resolved using the button at the top of the page.
by chulett
Wed Aug 22, 2012 6:25 am
Forum: General
Topic: Help needed on Requirement - File Processing
Replies: 13
Views: 3205

Any chance you could just check for one row in the file? Or could you get a one row file that is legitimate data (i.e. not just a timestamp) ?
by chulett
Tue Aug 21, 2012 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OR logic
Replies: 9
Views: 3632

I was going to say something about Server jobs if-then-else evaluations and not aborting over "null handling" when i realized while we may be in the Server forum, we seem to be talking about Parallel jobs here.

So off we go to the Enterprise forum...
by chulett
Tue Aug 21, 2012 11:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Bulk Load to Oracle via Oracle connector
Replies: 5
Views: 13701

Do both tables have the proper grants for the connecting user?
by chulett
Tue Aug 21, 2012 10:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OR logic
Replies: 9
Views: 3632

Your parens in this particular case don't add anything (as in change the behaviour) so no need for them. And one last time - all you need is the function call all by itself. I swear. :wink:
by chulett
Tue Aug 21, 2012 9:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OR logic
Replies: 9
Views: 3632

Re: OR Logic

chrisjones wrote:My question is does the OR statement works in " if else statement"?
Yes, of course. Further help would require some detail around the "issue" that you are seeing.
by chulett
Tue Aug 21, 2012 9:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OR logic
Replies: 9
Views: 3632

Re: OR logic

There is chance to get Null data and '' data from source so that is the reason I am checking both. That's fine, doesn't change my answer. It's all unnecessary. All you are doing is checking for null and if it is null change it to an empty string otherwise pass through the current value. An empty st...
by chulett
Tue Aug 21, 2012 8:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: OR logic
Replies: 9
Views: 3632

What issue are you having with #1? Both look fine to me at first glance. I'd also like to point out that your if tests in both cases are completely unnecessary, the use of NullToEmpty() by itself will get you the results you want without all those shenanigans: NullToEmpty(lkp_op.VENDOR_LID) The if-t...
by chulett
Tue Aug 21, 2012 8:50 am
Forum: General
Topic: How to get Jobs Completion time in a sequence
Replies: 1
Views: 885

I don't believe there is a macro for the ending time. However, you could certainly leverage the DSGetJobInfo() function with the (off the top of my head) DSJ.JOBLASTTIMESTAMP InfoType. A routine that establishes a handle to a job could get this for any job, and a Sequence could easily run the routin...
by chulett
Mon Aug 20, 2012 10:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to satisfy for unkown incoming data for multiplescenario
Replies: 12
Views: 3218

We both did. I said sorry I'm not quite sure what you think went on here, but there was no anger or issue with the wrong name being used. Heck, my reply was an obtuse reference to an old Cheech & Chong bit which is only funny if you're old like me. All I was saying in response to your "giv...