Search found 9 matches
- Sun Feb 22, 2009 9:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can a parameter be used to supply sql with a list of values?
- Replies: 10
- Views: 5576
Can a parameter be used to supply sql with a list of values?
We have some sql that contains the clause: WHERE CODE IN ('123','456','789') We'd like to replace the hard-coded list with a parameter, something like: WHERE CODE IN (#pCodeList#) We'd rather not have separate paramaters for each code, because the list may expand. So we wish to avoid something like:...
- Wed Feb 18, 2009 11:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can DSJobName be used for InvocationID
- Replies: 12
- Views: 8362
- Wed Feb 18, 2009 9:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can DSJobName be used for InvocationID
- Replies: 12
- Views: 8362
Yes, it is the name of the invoking Sequence job that I want. Thanks for that - I couldn't think of the term to use. I've tried a few things, but cannot seem to get the syntax right. I've tried the following: 1. #BATCHID##DSJobName# = 1234DSJobName (literally, with no substitution). 2. #BATCHID#DsJo...
- Wed Feb 18, 2009 6:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can DSJobName be used for InvocationID
- Replies: 12
- Views: 8362
Thanks for your patient explanation Ray, but I still think we're not quite on the same page. Building from Ray's example: - What we want is for JS to run the multi-instance job JA, and give it the instance-name JA.1234JS (where 1234 is the Batchid (a parameter of JS), and JS is the name of the calli...
- Wed Feb 18, 2009 5:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can DSJobName be used for InvocationID
- Replies: 12
- Views: 8362
- Wed Feb 18, 2009 2:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can DSJobName be used for InvocationID
- Replies: 12
- Views: 8362
- Wed Feb 18, 2009 1:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can DSJobName be used for InvocationID
- Replies: 12
- Views: 8362
Can DSJobName be used for InvocationID
We have some sequences that all call another sequence, potentially at the same time. So the common sequence was made multi-instance. For ease of identification, we'd like the invocation-id to include the name of the calling sequence. Is there a way to include DSJobName in the Invocation-Id? I've tri...
- Wed Feb 11, 2009 9:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence aborts without running all jobs
- Replies: 2
- Views: 2127
Ah, thanks Craig. Yes, I fell for the trap, and thought it meant it'd wait for all jobs to start and finish. Something I forgot to mention: the sequence also has an Exception Handler that links into the error-handling Sequencer, to trap any unexpected problems (such as a job in the wrong state). I'l...
- Wed Feb 11, 2009 4:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence aborts without running all jobs
- Replies: 2
- Views: 2127
Sequence aborts without running all jobs
The current design: We have a "master" sequence that calls a dozen other sequences (After an initialisation job that sets the batchid, there are 6 independent "paths" through the sequence, with each path calling an "extract" and a "load" sequence). Each job a...