Please DO NOT double post. You have an answer in your other thread with this problem.
Moderator - please delete this duplicate thread.
Search found 15603 matches
- Thu May 11, 2006 4:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Difference
- Replies: 2
- Views: 769
- Thu May 11, 2006 4:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Difference
- Replies: 1
- Views: 942
You convert the dates to the internal format using ICONV(In.DateColumn,'D4/DMY[2,2,4]') . Then subtract the two results to get a number of days difference. If you want to output this number of days starting at 01/01/0000 then you can do OCONV(DateDiff+ICONV('1/1/0000','D4/DMY[2,2,4]'),'D4/DMY[2,2,4]...
- Thu May 11, 2006 4:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting all distinct combinations from records in 2 files
- Replies: 7
- Views: 1590
The ODBC connectivity to text files exists in UNIX as well, it is just a lot easier to set up a quick system DSN on Windows than on UNIX. I am not at a DS client where I can test this at the moment, but the cartesian product should be easy to implement, although it is going to be quite slow and usin...
- Thu May 11, 2006 4:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Table/view/trigger/procedure does not exist
- Replies: 8
- Views: 2649
- Thu May 11, 2006 3:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting all distinct combinations from records in 2 files
- Replies: 7
- Views: 1590
- Thu May 11, 2006 3:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: RT_STATUS structure for deleting invocation ids
- Replies: 14
- Views: 8322
Colin, the purge settings are in the log file in the record //PURGE.SETTINGS. You would need to read this record, decide if the log's settings are for {n} days or {n} runs and then go through all of the RT_LOG files records and remove only those that are applicable. I assume that this is a bit more ...
- Thu May 11, 2006 3:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Possibility of working on different projects
- Replies: 5
- Views: 1285
- Wed May 10, 2006 9:49 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Inverse Hash File Lookup?
- Replies: 7
- Views: 2314
- Wed May 10, 2006 9:04 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routine processing file
- Replies: 4
- Views: 1247
- Wed May 10, 2006 9:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Handling Referential constraints in oracle stage
- Replies: 2
- Views: 960
- Wed May 10, 2006 8:59 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Suggestions needed to improve the performance(Hashedfile)
- Replies: 26
- Views: 7404
- Wed May 10, 2006 8:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: unlocking jobs
- Replies: 17
- Views: 6390
- Wed May 10, 2006 8:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Not able to FTP fixed width file using FTP Plug in stage
- Replies: 5
- Views: 1623
- Wed May 10, 2006 8:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: import from saquential file with spaces
- Replies: 9
- Views: 3506
First off, you cannot TRIM a CHAR field. It always has the same length. You can convert implicitly from CHAR to VARCHAR but it will not trim the spaces. If you are writing to Oracle VARCHAR2 columns the trailing spaces are automagically stripped. But you should do your own explicit trim in a modify ...
- Wed May 10, 2006 5:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Routine processing file
- Replies: 4
- Views: 1247
Hadi - wouldn't it be easier to design a trivial DS job to do this? Also, PLEASE use indentation in your code to make it readable. you are using a GOTO to exit your loop and bounce around your programming, that is not good practice ... Finished = 0 READSEQ FileLine FROM FileVar ELSE Finished = 1 LOO...