Search found 42189 matches

by chulett
Fri Jan 05, 2007 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Stage
Replies: 10
Views: 3705

Curious... does this file come from a Windows system? If you view the file in vi and ":set list" does a ^M show up at the end of each line? If so, ensure the file is transferred to your UNIX server via an ASCII transfer to eliminate those as an issue.
by chulett
Fri Jan 05, 2007 10:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Stage
Replies: 10
Views: 3705

You might need to translate this into PX, but EReplace or Convert can do that for you:

Code: Select all

EReplace(YourField,CHAR(13),"")

Would replace each CR with an empty string, in essence removing it.
by chulett
Fri Jan 05, 2007 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExecCommand output value
Replies: 44
Views: 10563

There must be something you're not telling us, everything you've posted should be working fine. Can you perhaps post some screen prints of the job and the triggers? We do these kind of things 'all the time' and really haven't had any issues getting them to work. You should also consider contacting S...
by chulett
Fri Jan 05, 2007 10:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Stage
Replies: 10
Views: 3705

gsym wrote:I 'm using the TFR TRIM function but to no avail.

You might want to explain what this means. It looks like you may be picking up a <CR> in the artist element - do that mean you are trying to remove it? Post your derivation.
by chulett
Fri Jan 05, 2007 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: launch the same job with different parameters
Replies: 3
Views: 1527

Sure... just don't run them at the same time unless it is a multi-instance job. Drag the job onto the Sequence job canvas several times, link them together in a serial fashion and then tweak the parameters as needed. Easy Peasy. :wink:
by chulett
Fri Jan 05, 2007 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to generate multiple rows?
Replies: 11
Views: 3091

Me, I'd create a table with the three values in my database of choice, load the input file into another and then extract from that database letting the sql do a cartesian product. :wink:
by chulett
Fri Jan 05, 2007 9:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: xml output - not writing to file
Replies: 10
Views: 2851

Start your own thread, don't jump on the end of someone else's. That way we know your particulars. Do a better job of explaining what your job looks like in this new thread and what you are actually seeing or not seeing. For example, do you get no file whatsoever or only an empty output file? What ...
by chulett
Fri Jan 05, 2007 9:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Knowing the job creator
Replies: 7
Views: 1443

What's incorrect about the information you found there? :?
by chulett
Fri Jan 05, 2007 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Server Job hangs for a while and then aborts
Replies: 10
Views: 2196

The question is - what client are you using? The OCI8 stage should be using an 8i client to connect to your 10g database to minimize issues. Better yet, switch to the OCI9 stage and a 9i client. Better yet, upgrage to 7.5.x which actually supports 10g. From what I recall, there is a utility on the c...
by chulett
Fri Jan 05, 2007 8:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get source file's name into a transformer?
Replies: 12
Views: 4328

Did you read the post I linked to? Did you try everything noted there, including setting APT_IMPORT_PATTERN_USES_FILESET to TRUE? :?
by chulett
Fri Jan 05, 2007 8:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExecCommand output value
Replies: 44
Views: 10563

So there's nothing wrong with what your script is outputting and your triggers as posted should work fine, as long as you straighten out the '0' versus '1' versus '2' issue.

Post your trigger code. Again, do not hand type them - open the Execute Command stage and copy/paste both values here.
by chulett
Fri Jan 05, 2007 12:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in Datastage Job
Replies: 1
Views: 1090

Suggest you reinstall your client software, see if that clears things up.
by chulett
Thu Jan 04, 2007 10:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExecCommand output value
Replies: 44
Views: 10563

Start over. This isn't rocket science so should be pretty easy to straighten out. Your script is fine. I build it here and put it through its paces and it outputs a 0 or a 1 appropriately, so there's nothing wrong there. Its Return Code will always be zero which is why you have to check the 'output'...
by chulett
Thu Jan 04, 2007 7:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML Input Stage
Replies: 10
Views: 3705

Also known as the 'Description' field. :wink: