Search found 297 matches

by jhmckeever
Thu Feb 26, 2009 7:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implementing lengthy transformation logic
Replies: 12
Views: 3489

Hi sourabhverma, I would consider placing all your 'like' patterns into a file or DB table, expressing them as regular expressions. You could then join these to your source and compare them to your value (@CLASS) using the regular expression parallel routine provided <a href="http://www.dsxchan...
by jhmckeever
Mon Feb 02, 2009 11:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: facing problem with ORA-12154: TNS:could not resolve service
Replies: 4
Views: 5749

To verify Ray's suggestion try

Code: Select all

tnsping {SID}
to test if your paths are set up and whether Oracle client can see the specified instance.
by jhmckeever
Wed Jan 14, 2009 5:49 pm
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: Do you actively use an RSS Reader?
Replies: 10
Views: 8338

I use Mozilla Thunderbird to check my favourite techie sites a couple of times a day. Its features are fairly basic, so I've been meaning to investigate the <a href="http://forumzilla.mozdev.org/">forumzilla</a> extension. I know a very popular one is <a href="http://www.newsgator.com...
by jhmckeever
Tue Jan 06, 2009 12:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need a help on job design
Replies: 16
Views: 8348

Just to clarify: You're stating that a specific ID value may be associated with more than one COUNTRY? (In your example data, each ID has only a single COUNTRY associated to it)
by jhmckeever
Wed Dec 10, 2008 4:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What jobs are using a flat file?
Replies: 4
Views: 2237

SELECT DS_JOBS.NAME AS JOB_NAME FMT '40L', DS_JOBOBJECTS.OLETYPE AS STAGE_TYPE FMT '40L', DS_JOBOBJECTS.NAME AS FILE_NAME FMT '25L' FROM DS_JOBOBJECTS, DS_JOBS WHERE DS_JOBOBJECTS.OBJIDNO = DS_JOBS.JOBNO AND DS_JOBOBJECTS.OLETYPE LIKE 'CSeq%'; I had it lying around in my box o' tricks!
by jhmckeever
Wed Nov 05, 2008 8:24 pm
Forum: General
Topic: Can we use regular expression in DataStage job??
Replies: 5
Views: 12790

You could add your own regular expression support using the C-source I posted <b><a href="http://www.dsxchange.com/viewtopic.php?t=107882">Here</a></b>. (Although I'm beginning to wonder why I bothered, as nobody seems to like using <b><a href="http://www.dsxchange.com/search.php"...
by jhmckeever
Sun Nov 02, 2008 5:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extract substring from a string
Replies: 7
Views: 3013

that is an interesting question - I can't think of an easy way to do this in PX as there are no regular expression functions. Although you could add your own regular expression support using the C-source I posted <a href="http://www.dsxchange.com/viewtopic.php?t=107882"> here</a>. J.
by jhmckeever
Thu May 08, 2008 10:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Windows Vista hiding the expression editor
Replies: 11
Views: 4704

No Ray, Aero is part of Vista.

Vista - The one where you spend your hard earned on Aero rather than the Operating System.

:-)
by jhmckeever
Thu May 08, 2008 10:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Windows Vista hiding the expression editor
Replies: 11
Views: 4704

Welcome aboard! :-)

Do you have that miracle of modern technology named 'Aero' running? :wink:

j
by jhmckeever
Wed May 07, 2008 10:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivot Logic
Replies: 10
Views: 20958

Try the variables below. I've put some absurd indenting in to try and make the logic clearer. I'm not guaranteeing this to be the optimum solution, just something that should work :-) svColId = If inLink.KeyChange Then 1 Else svColId + 1 svCol1 = If keyChange Then inLink.Value Else svCol1 svCol2 = I...
by jhmckeever
Wed May 07, 2008 6:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivot Logic
Replies: 10
Views: 20958

Here's a summary of how your stage variables would be accumulated over the course of your example input data: ('-' means NULL) INPUT COLUMNS STAGE VARIABLES ---------------------- -------------------------------------- Key Value keyChange svCol1 svCol2 svCol3 svCol4 svCol5 A Value1 1 Value1 - - - - ...
by jhmckeever
Wed May 07, 2008 6:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivot Logic
Replies: 10
Views: 20958

... accumulate your list of non-key columns in stage variables, initializing to null on key change.
Ray described how to use a transformer to perform the pivot you require. Did you follow the instructions, particularly the part quoted above, closely?
by jhmckeever
Wed May 07, 2008 1:38 am
Forum: IBM QualityStage
Topic: running quality stage job in between ETL job
Replies: 1
Views: 1138

From within a DataStage job you could: 1. Use a Command stage in a sequence to execute your QualityStage job by supplying a shell command to call your job, an example of which is <a href="http://www.dsxchange.com/viewtopic.php?t=118639">here</a>. 2. Use the QualityStage plugin (configured ...