Search found 51 matches

by banactp
Tue Jun 25, 2013 5:44 am
Forum: General
Topic: Error while running sequencer
Replies: 5
Views: 3113

chulett wrote:That or "Timed out while waiting for an event". ...
Wow, that search gives me exactly 6 hits. All of which more or less say "why don't you try searching for "'timed out while waiting for an event'"?

That's why this is such a helpful site. :?
by banactp
Wed Dec 26, 2012 11:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a stored function for insert, delete or update
Replies: 3
Views: 1854

Calling a stored function for insert, delete or update

Continuing a related conversation from here. A stored function is selected in a query just like a table column and DataStage doesn't change how any of that works. If the function performs an insert, delete or update, it cannot be used in a select statement just like a column. So if anyone knows how ...
by banactp
Thu Nov 15, 2012 12:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert String(YYYYMMDD) to String(DD/MM/YYYY)
Replies: 1
Views: 1694

You could use: DateToString(StringToDate(link.FROM_DT,"yyyymmdd"),"dd/mm/yyyy") or: Right(link.FROM_DT,2) : "/" : Left(Right(link.FROM_DT,4),2) : "/" : Left(link.FROM_DT,4) or: link.FROM_DT[7,2] : "/" : link.FROM_DT[5,2] : "/" : link.FROM_D...
by banactp
Fri Sep 03, 2010 9:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequencer Aborting
Replies: 3
Views: 2968

Or, you could instead be helpful and answer the question so that those who have encountered this irritating flaw in the product (WTH does a simple, built-in utility routine that can't possibly fail return a code that's interpreted as an abnormal result anyway?) don't have to waste many precious minu...
by banactp
Fri Aug 29, 2008 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Requesting delayed metadata or Logging delayed metadata.
Replies: 6
Views: 9428

Anyone have anything more to add to this? We are experiencing the same situation where a query in a SYBASE OCPX stage is hanging for hours at the "Logging delayed metadata" point. We have obtained the following results: 1. The query runs quickly when submitted via isql or DBArtisan. 2. The...
by banactp
Tue Aug 05, 2008 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: space as parameter of dsjob -run
Replies: 6
Views: 4416

Can't set the default to a space because there is already a non-space default!

Anyway, my workaround for now (because this has to be in place by tonight) will be to add substitution handling in the sequence for some_param=NONE.

But there's got to be a better way...
by banactp
Tue Aug 05, 2008 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: space as parameter of dsjob -run
Replies: 6
Views: 4416

Try this typeset space=" " dsjob -run -jobstatus -param some_param=$space myProject myJob Good idea. I tried, but it was interpreted as passing an empty string for the parameter value. edit: Tried that, too (the quotes), but that just substituted the space so I'm back to the same syntax e...
by banactp
Tue Aug 05, 2008 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: space as parameter of dsjob -run
Replies: 6
Views: 4416

space as parameter of dsjob -run

I need to pass a single blank space as a parameter value using dsjob: dsjob -run -jobstatus -param some_param=' ' myProject myJob Single or double quotes used as shown above produce a syntax error: Invalid arguments: dsjob -run... I've tried omitting the quotes, escaping the quotes, using a single b...
by banactp
Wed Oct 05, 2005 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal variable scale issue
Replies: 0
Views: 2249

Decimal variable scale issue

I have a decimal[24,6] value 'D1' and a decimal[20,2] value 'D2' going into a parallel transformer. Within that transformer I have a stage variable 'SV' declared as decimal[20,2]. In the transformer, I set SV = D1 * D2. I then convert SV to a string using DecimalToString( SV, "fix_zero,suppress...
by banactp
Mon Sep 12, 2005 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Why can't I compile my job (mini-rant)?
Replies: 1
Views: 1538

Why can't I compile my job (mini-rant)?

Why can't I compile a job that uses a shared container just because someone else who could be on the other side of the world for all I know has the container open for editing? One would think that shared containers would not be a hindrance to working in a shared development environment! Where is the...
by banactp
Thu Sep 08, 2005 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal type error in transform
Replies: 1
Views: 4486

For future reference, the errors above were indicative of an attempt to perform a decimal divide-by-zero. I must admit that there was one more divide operation buried deep in the bowels of my transformer logic. Although the divisor in that case should not have ever been zero, partitioning issues ups...
by banactp
Thu Sep 08, 2005 5:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal type error in transform
Replies: 1
Views: 4486

Decimal type error in transform

I'm getting the following error message from a parallel transformer stage: APT_DecimalNumber::analyzeAndPrepare:divisor is 0. followed by: Fatal Error: APT_Decimal::asDFloat: invalid representation in the decimal; the leading nybble must be zero with odd precision. I'm having trouble tracking down t...
by banactp
Fri Aug 05, 2005 9:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wrapped Unix Stage Problem
Replies: 5
Views: 2473

It's been my experience that you cannot edit a wrapped stage definition.

If you want to change the stage, it appears you must delete the old version and start from scratch.

Sorry.
by banactp
Tue Jul 19, 2005 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Shared Containers
Replies: 6
Views: 2592

Sainath.Srinivasan wrote:Include a transformer in the middle.
Use a copy stage instead of a transformer - your job will compile and run faster.

Tim
by banactp
Thu Jul 14, 2005 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: User Variable Activities in series
Replies: 3
Views: 2299

UPDATE

Well, the issue does not seem to be dependent on timing... putting in the sleep or wait is not the key. The problem instead seems to be with the way job parameters are being set by environmental variables. I'm initializing a dozen or so job parameters with environmental values through $PROJDEF. Thes...