Search found 42189 matches

by chulett
Tue May 02, 2006 10:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: xml o/p aggregation using DS ver 7.5
Replies: 3
Views: 1057

Output mode needs to be 'Use trigger column' if you want a change in value of that field to drive filename changes in the output.
by chulett
Tue May 02, 2006 8:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run job based upon date found in target
Replies: 10
Views: 2046

Here's one approach - an example of a custom routine that takes in the three values you would need to call the function. This can be used in a Routine Activity stage and the output from this can drive a downstream decision: $IFNDEF JOBCONTROL.H $INCLUDE DSINCLUDE JOBCONTROL.H $ENDIF rJobHandle = DSA...
by chulett
Tue May 02, 2006 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run job based upon date found in target
Replies: 10
Views: 2046

That would work... as long as you explicitly posted a warning to the job's log when the lookup succeeded.

Another method would be to check the link row counts post job via DSGetLinkInfo (which is how I've done it in the past) and make your decision based on that.
by chulett
Tue May 02, 2006 6:53 am
Forum: IBM<sup>®</sup> SOA Editions (Formerly RTI Services)
Topic: Multiple methods in an RTI job?
Replies: 3
Views: 2576

Multiple methods in an RTI job?

I have three rather complex SOA / RTI enabled jobs that I've inherited. They implement just the functionality that the design specs called for - all basically take XML input and perform a complex series of database changes. My question is around a new bit of functionality being requested. "They" wou...
by chulett
Tue May 02, 2006 6:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use loops in a job seq to do row by row processing
Replies: 2
Views: 1396

There's no mechanism for this in job sequences, unless you can come up with a regular expression or command (script?) that turns the file into a delimited string. Correct - but when you do come up with that something, the mechanism is the UserVariables stage in conjunction with the Start/End Loop s...
by chulett
Tue May 02, 2006 6:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run job based upon date found in target
Replies: 10
Views: 2046

Now, I need to look up that process date against the target table and then decide if I need to run the job or not. So, one way is to split the above job into two where I read only the first row in a seperate job and then lookup against the process dates in the target table. After that, based upon t...
by chulett
Mon May 01, 2006 8:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Keywords
Replies: 10
Views: 3071

That's it! :lol:

I've not had to do it, not having run into cwazy peoples who create case sensitive object names in Oracle, or ones with spaces in them, but when you do you need to wrap them in double-quotes.
by chulett
Mon May 01, 2006 6:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle Keywords
Replies: 10
Views: 3071

Use quotes around any reserved words:

"YEAR" POSITION(21:24) INTEGER NULLIF "YEAR" = X'00000080',

Don't recall if it wants single or double quotes, but one of the two should fix your problem.
by chulett
Mon May 01, 2006 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSX import-needs to have CRLF terminators?
Replies: 14
Views: 4981

Was wondering about that after I posted it... never had the 'pleasure' of working on a Windows based server. :wink:
by chulett
Mon May 01, 2006 3:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSX import-needs to have CRLF terminators?
Replies: 14
Views: 4981

Cool... we were rapidly getting to a place where I would have no idea what to suggest next, except perhaps to see the job itself. :wink:
by chulett
Mon May 01, 2006 1:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row by row processing in datastage
Replies: 14
Views: 7406

Please start a new thread rather than (further) hi-jacking this one.
by chulett
Mon May 01, 2006 1:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSX import-needs to have CRLF terminators?
Replies: 14
Views: 4981

I meant each record as one single field in the stage, which it sounds like you are doing.

Turn off the quotes.
by chulett
Mon May 01, 2006 1:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row by row processing in datastage
Replies: 14
Views: 7406

Use can use User Variables in the Loop Definition 'Delimited Values' prompt.
by chulett
Mon May 01, 2006 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSX import-needs to have CRLF terminators?
Replies: 14
Views: 4981

On the output Sequential File stage? Interesting. What about quotes? Are you writing this as one long Varchar field without quotes - i.e. set to '000'? :?