Search found 42189 matches

by chulett
Fri Jul 08, 2011 6:27 am
Forum: General
Topic: help required in routine
Replies: 40
Views: 12214

How about this?
ray.wurlod wrote:Why don't you specify in English what you want to achieve?
Please do that so we don't waste any more time going 'round and 'round with inappropriate solutions. :?
by chulett
Fri Jul 08, 2011 6:24 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 10541

automatically handle activities that fail This one is the one that takes non-zero output from stages that return a value to mean 'failed' and why it runs again on a checkpoint restart. Try putting a Sequencer set to 'Any' between the Execute Command stage and the next one with two links between the...
by chulett
Thu Jul 07, 2011 10:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in updating a particular field of DB2 table in DS
Replies: 4
Views: 1248

The 8.0.x release was notoriously buggy, are you current on your fixpacks?
by chulett
Thu Jul 07, 2011 10:12 pm
Forum: General
Topic: help required in routine
Replies: 40
Views: 12214

Do you see how "Ans" was being treated as a dynamic arrary in the code you first posted and then you removed that bit of magic from the second iteration of the code? Now you want to treat your vEventDetail in that same fashion so it inserts a new array element each time through the loop ra...
by chulett
Thu Jul 07, 2011 8:19 pm
Forum: General
Topic: Server Code: Getting Different job name
Replies: 3
Views: 1062

You attach using the job's name and the result of that attachment is the handle that you are storing in hJob. And job names are unique so there's no need for the folder / category.

Make sure you detach when you are done as well.
by chulett
Thu Jul 07, 2011 3:32 pm
Forum: General
Topic: help required in routine
Replies: 40
Views: 12214

DSGetNewestLogId(hJob, DSJ.LOGANY) fetches all the entries in the log regardless of fatal,warning or information. Is there any other option available to fetch the fatal alone? Yes and a quick check of the documentation should clear that up for you. Hint: you told it you wanted DSJ.LOGANY - that's n...
by chulett
Thu Jul 07, 2011 1:15 pm
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 10541

There would typically be a message about an "unhandled exception" from the Execute Command stage, is that not there? Tell us which compiler options you have enabled in the Sequence job... enable checkpoints, etc.
by chulett
Thu Jul 07, 2011 8:53 am
Forum: General
Topic: Executing dsjob command from routine activity
Replies: 28
Views: 10541

Take a look at the error that was generated and then do an exact search here for it. That situation, the error and the resolution have been discussed here many many times.
by chulett
Thu Jul 07, 2011 7:38 am
Forum: General
Topic: table or view does not exist
Replies: 5
Views: 1218

Ah, that would have been good to mention in your first post as we would have known right away it was a grants issue. Without the mention, there's an assumption of... sameness... across attempts.
by chulett
Thu Jul 07, 2011 7:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems using File Pattern option with DataStage in Windows
Replies: 9
Views: 5315

Bummer, guess I was thinking it had a structure like the Folder stage. :(
by chulett
Thu Jul 07, 2011 7:20 am
Forum: General
Topic: table or view does not exist
Replies: 5
Views: 1218

Did you try doing as I suggested?
by chulett
Thu Jul 07, 2011 7:05 am
Forum: General
Topic: help required in routine
Replies: 40
Views: 12214

OK... that was off the top of my head and I got the function name wrong. Was it really that hard to try and look up what I really meant? :? Switch it to DSGetLogEntry. Note that you'll need to include the use of DSGetNewestLogId as well from what I recall. Search for forums for examples of the synta...
by chulett
Thu Jul 07, 2011 7:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: merge duplicate values
Replies: 4
Views: 1578

Seems to me the Aggregator would work for this, group on the first column and take the max of all the others.
by chulett
Thu Jul 07, 2011 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture Stored procedure Retrun value
Replies: 2
Views: 2067

Call? Yes. Capture? No. As far as I know, you'd need to use the actual Stored Procedure stage for that functionality.
by chulett
Thu Jul 07, 2011 6:32 am
Forum: General
Topic: table or view does not exist
Replies: 5
Views: 1218

No. The implication, as you've already noted, is that the parameters are not in fact getting passed correctly. Make sure you use the External Parameter Helper to populate the parameters in the Job Activity stage and don't type them in by hand. If you did them by hand, suggest you redo them as noted ...