Search found 42189 matches

by chulett
Tue Jun 27, 2017 8:48 pm
Forum: General
Topic: run oracle sql in routine
Replies: 9
Views: 2923

You'd have to code the routine to write the OracleCmd to the log yourself for it to show up, using DSLogInfo from what I recall.
by chulett
Tue Jun 27, 2017 7:05 am
Forum: General
Topic: run oracle sql in routine
Replies: 9
Views: 2923

So, what exactly happens when the routine runs that last SQL example? Is it just that you are losing the single quotes or is something else going on? If you have anything from the log showing specifically what it tried to run, that would be best.
by chulett
Mon Jun 26, 2017 11:59 am
Forum: General
Topic: Migrating to 11.3 : Choice of grid resource management
Replies: 12
Views: 5367

Julius Lerm. Really nice guy.

He came out to help me on something WAY back in the day and then we both needed some help from Ernie. :lol:
by chulett
Mon Jun 26, 2017 6:44 am
Forum: General
Topic: run oracle sql in routine
Replies: 9
Views: 2923

I'm curious if you tried anything in those other threads or did you just read them? Oracle doesn't like double-quotes and you typically preserve single quotes by enclosing them in single quotes, which one of the linked topics mentions. Or sometimes you need four for each one! There is also syntax to...
by chulett
Sun Jun 25, 2017 11:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Comparison between group of input and Reference Records
Replies: 5
Views: 2070

Was thinking the same but hoping for more better data to confirm.
by chulett
Sun Jun 25, 2017 10:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Comparison between group of input and Reference Records
Replies: 5
Views: 2070

Why is the third / "GHI" record in the expected output? I'm also curious if you have any examples of real data, not something that's obviously made up and which I worry may be far too simplistic. I'd like something that better illustrates your "falls within" requirement rather th...
by chulett
Fri Jun 23, 2017 6:37 am
Forum: General
Topic: datastage accelerator for datastage coding standards?
Replies: 4
Views: 2182

You might want to explain a bit what that means in your world so people can provide better targeted answers...
by chulett
Thu Jun 22, 2017 8:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update field in key when there is a match else then Insert
Replies: 1
Views: 1669

Sounds a bit like you are reinventing the wheel. :wink: What you've got is a Type 2 "Slowly Changing Dimension" and there's an actual stage dedicated to them. Regardless if you use it or not, there's no need for two jobs or anything "after SQL". If you decide to not use the stage...
by chulett
Thu Jun 22, 2017 6:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Double DataType Conversion
Replies: 6
Views: 7195

As a moderator I can only do the former. The latter requires someone like Rick or Andy.

Texted Rick...
by chulett
Wed Jun 21, 2017 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate sequence number using parallel job
Replies: 6
Views: 4146

Re: Generate sequence number using parallel job

I want it to start from 1 for each job run. Then it would seem you do not have a need for any kind of surrogate key 'generator' but simply need a counter. At its most simple, you could use a stage variable for that, initial value of zero, increment for each record... as long as you handled the part...
by chulett
Wed Jun 21, 2017 6:38 am
Forum: General
Topic: code version check
Replies: 4
Views: 2155

That isnt kept up automatically. I seem to recall this being true all the way back to the 3.x versions that I started with... it had to be manually incremented to make use of the field which of course meant it was hardly ever (sometimes also known as never) 'correct'. Guess that hasn't really chang...
by chulett
Wed Jun 21, 2017 6:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Spanish characters loading incorrectly in to DB2
Replies: 0
Views: 1629

So these kind of issues are always about the character sets involved, source versus target. Any tool that does this kind of work needs to know both so that, when they are different, it can translate the characters properly between the two - unless they haven't been properly specified. When it thinks...
by chulett
Wed Jun 21, 2017 6:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To view the data in lookup file set
Replies: 2
Views: 1758

There isn't really any need to repeat your question. :?

I'm not aware of any mechanism but perhaps someone else is. Seems to me that, worst case, you could build a job to dump the contents to a flat file.
by chulett
Tue Jun 20, 2017 1:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get 10% records out of Aggregator Stage.
Replies: 2
Views: 1821

If it doesn't matter which records go where, I'd look into the MOD function based on the record number... which you can generate if needed. Mod by 10 and assign any one of the remainder values to the 10% link and the other nine to the 90% link.
by chulett
Tue Jun 20, 2017 5:53 am
Forum: General
Topic: Execute Command Activity, Parameter and Command
Replies: 0
Views: 3540

Not sure why you felt the need to start a new post when you already have one on the same subject. :?

Anywho, you just do literally what it says. Taking your example:

Command: /home/dsapp/scripts/Handle_Overrun_job.sh
Parameters: /NOLOG/ dst #DBPassword#