If <Not(IsNull(Trim(filed name)))> is not working, then it is probably because you have empty strings rather than NULLs.
Try Trim(filed name) <> "" and see if that works.
Search found 251 matches
- Thu Nov 03, 2005 10:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with Pivot Stage
- Replies: 2
- Views: 1059
- Thu Nov 03, 2005 12:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problems in upgrade to 7.5.1A from 7.5
- Replies: 1
- Views: 1061
Problems in upgrade to 7.5.1A from 7.5
Just thought I'd share an upgrade experience. We have recently upgraded from 7.5 to 7.5.1A. Contrary to voluminous advice in this forum (and much to my chagrin) we have been using Fully Generated SQL in our ORAOCI source stages (long story, but another day...). We upgraded, started building/updating...
- Thu Nov 03, 2005 12:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing a job by sending an SMS
- Replies: 3
- Views: 1464
- Tue Nov 01, 2005 11:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Partitioner Stage outputs zeros
- Replies: 8
- Views: 3517
Just to make sure, you did check the KEY attribute on each output link matched the input link, didn't you (sorry - just me being pedantic). Just to be doubly sure, use right-click / propogate columns / {input link} / All links (if avail. in your version). Also, make sure that the Derivation is popul...
- Tue Nov 01, 2005 8:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Partitioner Stage outputs zeros
- Replies: 8
- Views: 3517
- Tue Oct 25, 2005 6:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Maintaining a oracle session across different OCI stage/Job
- Replies: 3
- Views: 1331
I don't think it's a good idea in your case, but with Oracle 10g you can perform point-in-time SELECTs (I think they are called FLASHBACK). They rely on the Archive/Redo log functionality in Oracle that supports backups.
Or, you could write all of your results to files and then load them afterwards.
Or, you could write all of your results to files and then load them afterwards.
- Tue Oct 25, 2005 12:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: OCI "Rows per transaction" is being overridden
- Replies: 3
- Views: 924
I converted the Shared Container to Local and was able to change the value to 250. I converted it back to shared and it was stuck on 250 - I couldn't change it to any other value!!! It seems that the Rows Per Transaction attribute (unlike all of the other OCI attributes) is bound to the container ou...
- Mon Oct 24, 2005 9:15 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: OCI "Rows per transaction" is being overridden
- Replies: 3
- Views: 924
OCI "Rows per transaction" is being overridden
I have a shared container with two outputs. In one job that uses the shared container, one of the outputs goes straight to an OCI stage. The OCI is set to " Insert Rows Without Clearing ", array size =250, rows per transaction =0. I want it to commit regularly, so I change the Rows Per Tra...
- Sun Oct 23, 2005 7:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Normalizing options in Hashed Files
- Replies: 2
- Views: 831
Normalizing options in Hashed Files
In a recent thread http://www.dsxchange.com/viewtopic.php?t=96063 , Nag teased us with a primer on using the Normalizer options in a Hashed File stage. Intrigued, I took a look at the online help and the DS Server Job Developer manual. The information there amounted to "yes, you can normalize&q...
- Tue Oct 18, 2005 9:17 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential File stage need to select latest File to Extract
- Replies: 9
- Views: 6670
Beeram, I think you will have to do it with a Unix command. You can call the Unix command from a before-job-subroutine, or from a Shell Exec activity that precedes the Job Activity in a Job Sequence. Two options for the Unix command are: 1. Find the lastest file and move it to a static file name. 2....
- Tue Oct 18, 2005 8:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Conditionnal update
- Replies: 5
- Views: 2033
To be thorough, it could be done with a SQL like:
But the advice above is the right way, so do that.
Code: Select all
UPDATE TAB
SET NAT = CASE Type WHEN 'NAT' then :2 ELSE NAT END
, REG = CASE Type WHEN 'REG' then :2 ELSE REG END
WHERE Key=:1
- Mon Oct 17, 2005 6:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: multi record processing
- Replies: 6
- Views: 1868
I wouldn't be so quick to dismiss this one, it's actually an interesting question. What Mahi is trying to do is (in database terms) a CROSS JOIN, or cartesian join. There's a little more to it than that, since he wants the ability to filter out some of the result rows, but worst case scenario would ...
- Fri Sep 30, 2005 6:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Packed Integer for Sequential File
- Replies: 3
- Views: 2034
- Thu Sep 29, 2005 8:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Packed Integer for Sequential File
- Replies: 3
- Views: 2034
- Thu Sep 29, 2005 5:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Oracle Bulk
- Replies: 5
- Views: 2723
If you're still having problems, could you post the error message into your next reply. Try connecting to the userid/password using a SQL client like TOAD or SQL*Plus and issue the command: INSERT INTO table_name SELECT * FROM table_name WHERE 1=0; One of three things will (ok, should) happen: - ORA...