You can certainly use 'characters' in the Case statement of the switch.
For example, try:
CASE = SMITH=0
CASE = JONES=1
Under Options, pick either Drop to drop rows not in the CASE, OUTPUT for sendingdown a reject link, or FAIL to abort.
Search found 93 matches
- Mon May 09, 2011 7:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: switch stage
- Replies: 8
- Views: 13603
- Fri May 06, 2011 9:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can .txt file contain null value?
- Replies: 10
- Views: 9228
Actually, they're not. What you have in sequential files are empty fields rather than nulls. ... <sigh> Picky, picky,picky :wink: True, they are empty fields, but when you are processing them into a transformer and writing them out you need to handle them as being null, which is what I believe the ...
- Fri May 06, 2011 8:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Can .txt file contain null value?
- Replies: 10
- Views: 9228
- Fri May 06, 2011 7:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Writing to NPS via nzload method
- Replies: 2
- Views: 5612
- Fri May 06, 2011 6:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weird ODBC Stage Behaviour
- Replies: 6
- Views: 3282
- Fri May 06, 2011 5:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Spiltting a huge file into multiple small files
- Replies: 5
- Views: 3347
I don't think coming up with ways to split the file will accomplish anything other than complicating the job and getting the same results. :roll: The issue the OP has is one of disk space. You can split the file into hundreds of smaller files and it won't matter one iota if you are still writing the...
- Wed May 04, 2011 7:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: hash file
- Replies: 4
- Views: 2740
- Mon May 02, 2011 1:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Quick question on querying DS_JOBS table
- Replies: 17
- Views: 15537
- Fri Apr 29, 2011 6:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML 2 same tags,same attributs but the value differents
- Replies: 15
- Views: 7381
- Fri Apr 29, 2011 6:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML 2 same tags,same attributs but the value differents
- Replies: 15
- Views: 7381
- Fri Apr 29, 2011 6:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML 2 same tags,same attributs but the value differents
- Replies: 15
- Views: 7381
I think you asked this already in another entry... ... @eostic, that s not the anwser that i expected, if you see any post with answer you can send me the link ...and why should he do that??? You can check your own posts and see that you've asked this before: http://www.dsxchange.com/viewtopic.php?...
- Thu Apr 28, 2011 10:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: current date () - 6 months
- Replies: 17
- Views: 8448
In transformer stage, Sort the input Date Column in DESC order and using constraint send out the First Six Rows. If you are running your job in parallel use this in constraint to filter the last 6 months: (((@INROWNUM -1) * @NUMPARTITIONS) + @PARTITIONNUM + 1) <= 6 Hope this helps Huh??? :roll: I t...
- Thu Apr 28, 2011 10:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: current date () - 6 months
- Replies: 17
- Views: 8448
Well, here is one way to get your results, though I'd check your resulting file carefully :D . For this, define your YYYYMM column in your sequential file as integer. Create a stage variable - in this example I named it 'CUTOFF'. This is defined as follows: StringToDecimal(DateToString(DateFromDaysS...
You might want to review the docs for Sequences to get a better handle on them, but in answer to your question, yes, it can be done. In your Job Activity stage, on the Triggers tab you can set a Custom conditional expression. In the expression, you can specify the conditions that the next job activi...
- Wed Apr 27, 2011 1:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Current date in Teredata
- Replies: 9
- Views: 6803