Search found 42189 matches

by chulett
Tue Feb 06, 2007 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: xml output
Replies: 9
Views: 2812

What have you tried so far... anything? Always best to mention that, so we don't go through iterations of 'no, I already tried that'. Best Practice is to get (or create) an xsd for the XML you will be working with. You can then import the metadata from that xsd and it will create the XPath Expressio...
by chulett
Mon Feb 05, 2007 11:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: If there is a row rejected, roll back all transation.
Replies: 3
Views: 805

You have to use a Transaction Size of 0 so commits are only done once at end-of-job. You then need to ensure the job aborts in order to force a rollback. Finishing Ok or with Warnings will commit any non-rejected rows. You can then use a reject link, set to abort after '1 rows', to abort the job whe...
by chulett
Mon Feb 05, 2007 11:04 pm
Forum: Site/Forum
Topic: Craig did it again, 9K posts
Replies: 14
Views: 7463

kduke wrote:I got passed by 2B and Kumar. Get left in the dust.

You can't help it if you have a life, Kim. :wink:
by chulett
Mon Feb 05, 2007 6:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dspackinst - Package installation
Replies: 11
Views: 2002

Kumar - on my HPUX cdrom there is a packages directory and then the various plug-in folders under that. So for OCI: \packages\oci9\hp \packages\oci9\hp\oci9.dsp \packages\oci9\hp\dstage \packages\oci9\hp\dstage\oraoci9.enu \packages\oci9\hp\dstage\oraoci9.jpn \packages\oci9\hp\dstage\oraoci9.sl So y...
by chulett
Mon Feb 05, 2007 4:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Non-equijoin Key Expression
Replies: 15
Views: 3715

Re: Non-equijoin Key Expression

If I set my 'key_expression' as: My_Customer_Number OR Your_Customer_Number OR Our_Customer_Number Not even close to a valid Key Expression. An expression like this will resolve to one of two values: TRUE or FALSE. A zero or a one. You can conditionally supply one of the three values to the field v...
by chulett
Mon Feb 05, 2007 4:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle ERROR
Replies: 9
Views: 2768

Well the problem here is among the two fields that i'm comparing , they happen to be the same field in the oracle table . thats why i tried making them as PROM_FROM1 and PROM_FROM2. is that a problem and if so how do i give this query Of course that's a problem, you can't just make up field names. ...
by chulett
Mon Feb 05, 2007 2:49 pm
Forum: Site/Forum
Topic: Craig did it again, 9K posts
Replies: 14
Views: 7463

Yes, and each and every one a quality post. :roll:

I don't know about candy, but you're almost at the 20K point level where you can finally get that pony you've always wanted. :wink:
by chulett
Mon Feb 05, 2007 2:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete files after the job is run
Replies: 4
Views: 1070

Keep track of the filenames processed, then just delete those. Or sweep the 100 out into a 'processing' directory first so the arrival of other files isn't an issue.
by chulett
Mon Feb 05, 2007 2:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Functions
Replies: 26
Views: 7014

When you say you "need V-8" from that example field, what exactly do you mean? You need the last 'word' from the string? The sixth 'word'? The last three characters? Be more specific, please.
by chulett
Mon Feb 05, 2007 1:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cursor (loop)/row-by-row processing
Replies: 7
Views: 1684

Sequence jobs are used to control looping thru a set of jobs not records. All DataStage jobs perform row-based processing, one record basically goes from beginning to end before the next starts the trip, hence the confusion with your question. Can you clarify your need? What exactly are you trying t...
by chulett
Mon Feb 05, 2007 11:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: looping for each record
Replies: 16
Views: 3707

A check digit, in other words. Best to do that in C, I would think...
by chulett
Mon Feb 05, 2007 11:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Value of an environment variable in the transformer
Replies: 5
Views: 1057

You could still move it to a Stage Variable so it doesn't get resolved on every row.
by chulett
Mon Feb 05, 2007 10:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 18
Views: 3019

In a nutshell - Ditch the routine. Create a job to select the value and store it somewhere - could be a file, USERSTATUS, whatever. Then retrieve it and pass as a parameter to your job or retrieve from inside your job. Increment from there. The USERSTATUS method has been discussed here ad nauseum, a...
by chulett
Mon Feb 05, 2007 10:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Value of an environment variable in the transformer
Replies: 5
Views: 1057

I'd suggest a routine to get the value of an environment variable and then call it in a Stage Variable's initial value. Then use that stage variable in the transformer. This way it only gets resolved once.

Pass in the variable name as a parameter. Echo and capture it.
by chulett
Mon Feb 05, 2007 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get the log for current run only
Replies: 2
Views: 1091

Assuming you are using the 'dsjob' command, you need to look into the -lognewest option. A search will reveal many conversations on this topic.