Search found 15603 matches

by ArndW
Sat Nov 03, 2012 5:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer not compiling- compiler error
Replies: 10
Views: 4308

I believe you haven't installed the complete package and the "g++" hasn't been installed. I'm not sure if this works with red hat: "yum install gcc-c++"
by ArndW
Sat Nov 03, 2012 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with logic
Replies: 6
Views: 1422

Since the same action is performed twice, it is more efficient to use a stage variable, but in this case (TRIM(to_transf4.COST_CNTR_TCD='') becomes (TRIM(NullToEmpty(to_transf4.COST_CNTR_TCD)='') That assumes that you want NULL values to equate to an empty string, otherwise the function would be (TR...
by ArndW
Sat Nov 03, 2012 2:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer not compiling- compiler error
Replies: 10
Views: 4308

What happens if you enter "g++" from the command line?
by ArndW
Fri Nov 02, 2012 10:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with logic
Replies: 6
Views: 1422

It doesn't take care of the first occurrence, though.
by ArndW
Fri Nov 02, 2012 9:41 am
Forum: General
Topic: transformer is not working.
Replies: 8
Views: 3723

Well, if that file doesn't exist then you've found your error. I can't check right now, but none of those files look like the c compiler calls that I recall seeing on AIX. In fact, a bit of Googling shows me that the call should indeed be "xlC_r". Can you search your system to see if that ...
by ArndW
Fri Nov 02, 2012 9:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer not compiling- compiler error
Replies: 10
Views: 4308

I hope you realize that you won't be getting much in the way of constructive advice until you post your error message(s).
by ArndW
Fri Nov 02, 2012 9:18 am
Forum: General
Topic: Datastage Job Sequence
Replies: 5
Views: 7848

The documentation explains how stage triggers work, which is what you are looking for.
by ArndW
Fri Nov 02, 2012 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with logic
Replies: 6
Views: 1422

Although I find your problem description rather confusing, I can see that COST_CNTR_TCD is a nullable field but you perform no null handling (i.e. NullToEmpty() or NullToValue() ) and your row will be dropped.
by ArndW
Fri Nov 02, 2012 9:14 am
Forum: General
Topic: transformer is not working.
Replies: 8
Views: 3723

Craig has already asked you, what happens when you enter "/usr/vacpp/bin/xlC_r" on your command line?
by ArndW
Fri Nov 02, 2012 5:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove delimiter (;) from the end of a csv file
Replies: 5
Views: 2307

Could you explain your problem a bit more - is the semicolon actually your field delimiter character and is this character being placed in the last column?
by ArndW
Fri Nov 02, 2012 3:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove delimiter (;) from the end of a csv file
Replies: 5
Views: 2307

If the ";" is also a field delimiter then you can either add a dummy "FILLER" field to your column definitions or you can use the "filter" in your sequential stage to remove that trailing semicolon from you data stream using something like "sed 's/[ ;]*$//'"
by ArndW
Fri Nov 02, 2012 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: RCP and performing a database update
Replies: 7
Views: 8845

It can be a bit of work to get the stage working as expected. First you need to write the job, preferable with RCP, but using your normal output stage. Once you have all the stage options correctly defined as you want them, turn on $OSH_DUMP and select the section that uses the stage you want to tur...
by ArndW
Fri Nov 02, 2012 1:38 am
Forum: General
Topic: How to change the date format in the job control
Replies: 10
Views: 2328

We think that your question was answered.
by ArndW
Wed Oct 31, 2012 10:35 am
Forum: General
Topic: How to change the date format in the job control
Replies: 10
Views: 2328

Assuming an NLS setting of English.
by ArndW
Wed Oct 31, 2012 8:26 am
Forum: General
Topic: How to change the date format in the job control
Replies: 10
Views: 2328

Sorry, I just saw "Parallel" in the description and posted my previous response according to that. Now I notice that you want to do this logic in the Job Control section. So your variable "Output" is now "2012-03-23 10:11:11". In order to get your requested format I wou...