Search found 15603 matches

by ArndW
Thu May 11, 2006 4:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Difference
Replies: 2
Views: 769

Please DO NOT double post. You have an answer in your other thread with this problem.

Moderator - please delete this duplicate thread.
by ArndW
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]...
by ArndW
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...
by ArndW
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

It looks like you have neglected to specify a Schema and the mload defaults to a different schema and thereofore the table is not being found.
by ArndW
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

As you are on Windows, declare the two text files to be ODBC data sources and then you can do your cartesian join on them.
by ArndW
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 ...
by ArndW
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

Kris, each client instance of the 3 main tools (designer,director and manager) can be open to a different project (on the same or another host) at the same time.
by ArndW
Wed May 10, 2006 9:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Inverse Hash File Lookup?
Replies: 7
Views: 2314

The one I mentioned earlier, use Reflink.NOTFOUND builtin value.
by ArndW
Wed May 10, 2006 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine processing file
Replies: 4
Views: 1247

Craig - that's odd, when I "edit" my post the code shows up nicely indented, but not in the post. I wonder if I need to use quote tags?
--> Correction, I neglected to close the code tag, so the indentation disappeared :shock:
by ArndW
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

Hmmm... if referential constraints in your table are stopping you from loading data you really only have two options:
1. turn off referential integrity or disable constraints
2. fix your data so that it doesn't violate the constraints.
by ArndW
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

The problem is not so much hashed file performance as it is job design. Can you not flag changed records in your table so that instead of reloading 80 million rows each and every time you run this job you will just update those values that have changed?
by ArndW
Wed May 10, 2006 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unlocking jobs
Replies: 17
Views: 6390

vsi wrote:... Because once i used the comman LIST.READU and all the jobs just vanished...
The LIST.READU command cannot do this, but the DS.TOOLS reindex can do this if you run it while others are working.
by ArndW
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

I have had no problems using FTP with fixed width files. What seems to be the error?
by ArndW
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 ...
by ArndW
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...