Search found 42189 matches

by chulett
Fri Mar 25, 2011 8:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Arithmetic overflow into SQl server bulk loader
Replies: 4
Views: 2356

Those are the names given to 'invisible' transformers the compiler adds to your job between passive stages when you don't put them in yourself. That was the second one in that job.
by chulett
Fri Mar 25, 2011 3:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: If statement I never seen before
Replies: 3
Views: 1450

It's basically just your normal if-then-else, it's just that the if side has a self-contained if-then-else inside it, one that resolves to true or false.
by chulett
Fri Mar 25, 2011 3:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert to MM/DD/YYYY HH:MI:SS AM/PM format in Server job
Replies: 10
Views: 11902

Right... something that Oracle would have told you if you ran that same sql in something like Toad. And that's something else you're going to have to contend with - DSExecute returned a zero simply because it was able to run sqlplus, it doesn't care that your SQL failed. From what I recall, I believ...
by chulett
Fri Mar 25, 2011 12:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Loading files into Oracle tables
Replies: 4
Views: 4160

AND hope your DataStage server and Oracle target can handle that many simultaneous PX jobs / connections. :wink:
by chulett
Fri Mar 25, 2011 11:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert to MM/DD/YYYY HH:MI:SS AM/PM format in Server job
Replies: 10
Views: 11902

Use double-quotes for your strings so the single quotes in the insert statement don't cause you grief. And again, make sure your parm variables are not inside your strings but are concatenated into them so they get a chance to resolve.
by chulett
Fri Mar 25, 2011 10:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert to MM/DD/YYYY HH:MI:SS AM/PM format in Server job
Replies: 10
Views: 11902

As noted, just load the date as is, you are wasting your time and energy doing an unneccesary conversion. Your problem is leaving the 'to_date' parts exposed so DataStage tries to interpret them and fails. Keep everything inside your strings as you build Cmd3 except for the parameter values you want...
by chulett
Fri Mar 25, 2011 10:31 am
Forum: General
Topic: How to use the exception handler
Replies: 18
Views: 5341

Now... if you actually mean you want to try running a Job Activity three times in case the job (not the Sequence) aborts, that is perfectly feasible. Still won't need an Exception Handler for that, the Start/End Loop stages will get you what you need.
by chulett
Fri Mar 25, 2011 10:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert to MM/DD/YYYY HH:MI:SS AM/PM format in Server job
Replies: 10
Views: 11902

If your target is Oracle, there's absolutely no need to 'convert' that date format, simply load it as is with the appropriate TO_DATE mask. However, you can't simply use DSExecute to perform a sql INSERT unless you're not showing us critical (but missing) pieces of the puzzle. You could use sqlplus ...
by chulett
Fri Mar 25, 2011 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Convert to MM/DD/YYYY HH:MI:SS AM/PM format in Server job
Replies: 10
Views: 11902

What have you tried? If it helps, you'll need to split the date from the time, convert both separately and then stick them back together.
by chulett
Fri Mar 25, 2011 7:52 am
Forum: General
Topic: Passing file name as a parameter to a sequence Job
Replies: 2
Views: 1282

You'll need to launch the job from the command line using dsjob and then pass the parameter value in at the same time using the -param option. That or use Execute Command in the Sequence to run the script and then use the its $CommandOutput in the parameter value of the job's Job Activity stage.
by chulett
Fri Mar 25, 2011 7:49 am
Forum: General
Topic: error
Replies: 2
Views: 989

Would need you to post something more like an actual error first...
by chulett
Fri Mar 25, 2011 7:47 am
Forum: General
Topic: Creating reports from the command line
Replies: 5
Views: 1767

:lol:

So did I but I couldn't find what I was looking for... so had to go trawling thru the 'dsdesign.exe' posts once I remembered what executable one used for this.
by chulett
Fri Mar 25, 2011 7:22 am
Forum: General
Topic: How to use the exception handler
Replies: 18
Views: 5341

Saying the exact same thing again doesn't go a long way towards changing our understanding. And my same answer still applies. If the Sequence aborts, it is dead so nothing inside the Sequence will help rerun it.
by chulett
Fri Mar 25, 2011 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dastage client hanging when accessing Oracle EE Stage
Replies: 3
Views: 1700

Then you need to do a more thorough uninstall it seems. See if this helps.
by chulett
Fri Mar 25, 2011 6:51 am
Forum: General
Topic: How to use the exception handler
Replies: 18
Views: 5341

Re: How to use the exception handler

tanaya.deshpande@tieto.co wrote:sequence should run three times in case it aborts and after 3rd time it should stop
Can't be done with any stage inside the sequence. That's something your external job control will need to handle.