Search found 42189 matches
- Sat Aug 20, 2005 7:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to read a file and rewrite it?
- Replies: 8
- Views: 2915
So, just to be clear... Because you are using a routine that reads the entire file into memory, this allows you to write everything back to the same filename when you are done - something that is not possible when using Sequential File stages. Ray, you mention 'ReadU' but don't use it in the posted ...
- Sat Aug 20, 2005 7:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Storing Date in Integer Field
- Replies: 5
- Views: 1131
Re: Multiple Conversion Technique
ray.wurlod wrote:Iconv() and Oconv() functions can perform multiple conversions; the list of conversion specifications is presented as a multi-valued field (that is, conversion specifications separated from each other by value marks). It's a handy shortcut sometimes.
Zowie. I had no clue you could do that.
- Fri Aug 19, 2005 7:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Is there any limit for aggregator stage in handling rows
- Replies: 7
- Views: 2023
- Fri Aug 19, 2005 7:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Strange behaviour of a Before-Job Sub routine
- Replies: 3
- Views: 1147
You learn pretty quickly that 'it runs from the command line' doesn't mean it will run when executed from a DataStage job. The environment they run under is pretty restricted, even when using 'the same userid'. Make no assumptions about what environment variables are available. Explicitly set them i...
- Fri Aug 19, 2005 7:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Storing Date in Integer Field
- Replies: 5
- Views: 1131
- Fri Aug 19, 2005 3:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting an error while trying to read excel sheet in Sequen
- Replies: 5
- Views: 1320
- Fri Aug 19, 2005 11:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Storing Date in Integer Field
- Replies: 5
- Views: 1131
Try stripping the date separators from the field. For example:
Code: Select all
EReplace(Oconv(Date(),"D-YMD[4,2,2]")),"-","")- Fri Aug 19, 2005 11:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to read a file and rewrite it?
- Replies: 8
- Views: 2915
- Fri Aug 19, 2005 8:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating PX jobs using Server Job
- Replies: 5
- Views: 1462
- Fri Aug 19, 2005 7:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Creating PX jobs using Server Job
- Replies: 5
- Views: 1462
- Fri Aug 19, 2005 7:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Is there any limit for aggregator stage in handling rows
- Replies: 7
- Views: 2023
As noted, there is a definite limit on the number of rows the aggregator can handle. That number, of course, isn't a fixed number as the total size of the rows being aggregated is more of the issue. The only way I've found to successfully agg millions of rows is by presorting them. Then it only need...
- Fri Aug 19, 2005 7:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to reset job status (96) via job control
- Replies: 7
- Views: 2811
I'm not really sure how you would safely do this from job control. If it thinks it is running, it won't touch it. For those kind of situations, that's why the Clear Status option asks you "Are you really sure you want to do this?". Do you then go grepping for pids as a double-check? Perhaps a recomp...
- Thu Aug 18, 2005 8:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Statistic with UPDATE/INSERT Option
- Replies: 4
- Views: 1110
The problem is that it not possible (itseems so for me) to implement update and insert in two separated links. Umm... this is pretty much ETL 101. Check the incoming data against the existing data so you know which rows should be inserted and which should be updated. How? Read on... Hash up existin...
- Thu Aug 18, 2005 5:17 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Statistic with UPDATE/INSERT Option
- Replies: 4
- Views: 1110
However, if what you are doing is using a single link with an update action of the "Insert then Update" (or the opposite) type, you can never know which ones ended up being inserts and which ones ended up being updates. Except, perhaps, by querying the results if you are timestamping records. They ...
- Thu Aug 18, 2005 3:58 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Discovering Where Hashed Files are used
- Replies: 10
- Views: 4717