Search found 35 matches

by kld05
Sun Sep 07, 2014 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conditional in Netezza Connector
Replies: 2
Views: 2074

I am trying to implement something similar to the following logic which works in Sybase. The metadata is identical.

IF <Condition>

BEGIN

Sql1

END

ELSE

BEGIN

Sql2

END
by kld05
Sat Sep 06, 2014 12:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conditional in Netezza Connector
Replies: 2
Views: 2074

Conditional in Netezza Connector

Is it possible use a conditional in the connector stage to execute a different query based the value of a variable? The BEGIN WORK clause is throwing an error when I try.
by kld05
Sat Mar 26, 2011 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQ Stage Header Question
Replies: 1
Views: 2356

MQ Stage Header Question

Have a requirement to write a file name in the MQ.RFH header and do not see any option to accomplish this. Is it possible using the MQ stage?
by kld05
Thu Feb 11, 2010 6:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to abort datastage job for sybase deadlock issue?
Replies: 7
Views: 8731

No it's not. There never has been, and never will be, the possibility to promote warning to fatal. There are too many implications. Ray I'm referring to the warning being a bug not the promotion of a warning to fatal. Every other Sybase error is fatal. It makes no sense that a deadlock that was kil...
by kld05
Thu Feb 11, 2010 4:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to abort datastage job for sybase deadlock issue?
Replies: 7
Views: 8731

No, this option is specific to the stage so it does not affect any other aspect of the job. Not according to our testing. We recreated the deadlock with the check boxes in both states and what should be a fatal error is a warning in both cases. What compounds the problem is that we cannot promote t...
by kld05
Thu Feb 11, 2010 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to abort datastage job for sybase deadlock issue?
Replies: 7
Views: 8731

Sorry, but you enabled an option that says 'treat errors as non-fatal' and then you're wondering why your normally fatal error was logged as a warning? :? Yes, it is due to this that the job is not aborted. Uncheck that option. These settings apply to the code in the before and after routines, no? ...
by kld05
Wed Feb 10, 2010 1:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deadlock error = job status OK
Replies: 5
Views: 4095

Sorry for reviving an old thread but was this resolved? I encountered the same scenario last night where a deadlock was killed by the RDBMS with a successful job status.
by kld05
Wed Feb 10, 2010 1:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: deadlock error = job status OK
Replies: 5
Views: 4095

Sorry for reviving an old thread but was this resolved? I encountered the same scenario last night where a deadlock was killed by the RDBMS with a successful job status.
by kld05
Mon Mar 30, 2009 5:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Mask
Replies: 1
Views: 1306

Date Mask

Is there a date format that will handle a string in 1/1/2009 or 01/1/2009 or 1/01/2009 or 01/01/2009 format and return a consitent result of 2009-01-01. Year will always be YYYY but day and month may drop the leading zero (source).
by kld05
Wed Mar 25, 2009 4:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datetime on Sequential File
Replies: 4
Views: 2404

Datetime on Sequential File

I have a value of Mar 23 2009 12:00AM on a sequentual file that I need to convert to 20090323 format. I'm wondering what the best approach is. String manipulation or date conversion functions.

Thanks in advance guys.
by kld05
Wed Mar 18, 2009 5:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Strored Procedure Call
Replies: 1
Views: 936

Sybase Strored Procedure Call

I'm encountering a strange problem calling a Sybase stored procedure in the stored procedure stage. The procedure is returning a result. When I excute the job I get the correct number of rows but all NULLs are written to the file. If I send the result set to a peek stage it shows the colums headers ...
by kld05
Fri Mar 06, 2009 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage Question
Replies: 1
Views: 1309

Stored Procedure Stage Question

Is it possible to handle differing column layouts returned from a Sybase Stored procedure call? For example say my rowset contains header, detail and trailer records with differing columns. The simple answer is to modify all the procs to return only detail records and handle the header and trailer i...
by kld05
Thu Jan 15, 2009 1:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Columns
Replies: 17
Views: 6820

Mike wrote:Also check that you don't have a message handler masking the default behavior. The job log will tell you about Attached Message Handlers (if you have any).

Mike
I'm not using a message handler. I'm at a loss.
by kld05
Thu Jan 15, 2009 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Columns
Replies: 17
Views: 6820

Doesn't that depend on your "Reject Mode" setting? From the docs: Reject Mode Allows you to specify behavior if a read record does not match the expected schema. Choose from Continue to continue operation and discard any rejected rows, Fail to cease reading if any rows are rejected, or Sa...
by kld05
Thu Jan 15, 2009 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Columns
Replies: 17
Views: 6820

Re: Sequential File Columns

when the option Final Delimiter = end then it would look for the "end" after the last column you mention in the columns tab. if it does not see it, would report a warning in the director and the import would be unsuccessfull..that is what my experience reading sequential files.. That is e...