Best answer is Ray's answer - get the provider of the file to cut you a break and build you a straight non-funky ascii file.
Search found 42189 matches
- Fri Apr 29, 2005 12:37 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to convert a FIXED DECIMAL type in using flat files
- Replies: 7
- Views: 2421
- Fri Apr 29, 2005 12:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential file error during the execution
- Replies: 8
- Views: 1972
- Fri Apr 29, 2005 7:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Use of the following commands
- Replies: 9
- Views: 3119
- Fri Apr 29, 2005 7:32 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential file error during the execution
- Replies: 8
- Views: 1972
- Fri Apr 29, 2005 7:29 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to Delete Entry from Version Control
- Replies: 11
- Views: 3364
- Thu Apr 28, 2005 1:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Purging deleting data from batch job
- Replies: 5
- Views: 1218
Cool. Are you using ODBC? From what I recall it doesn't do deletes for some reason. You never said what database you were dealing with, but most of the native stages (like OCI for example) have that option from what I recall. The 'downside' is the fact that you'll have no idea how many rows were act...
- Thu Apr 28, 2005 7:37 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem Of Date Conversion in DRS while retrieving data
- Replies: 10
- Views: 2495
- Thu Apr 28, 2005 7:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem Of Date Conversion in DRS while retrieving data
- Replies: 10
- Views: 2495
Makes it kind of hard to provide good advice when you leave out details like that, Andal. Don't worry, people here can read 'complex' sql. My only point was using user defined sql in a DRS stage removes any benefit of the 'D'ynamic part of it, unless you can stick with extremely generic sql. At wors...
- Thu Apr 28, 2005 7:27 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: adding job parameter to many jobs
- Replies: 6
- Views: 1574
- Thu Apr 28, 2005 7:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Implicit columns & transform question
- Replies: 3
- Views: 1009
- Wed Apr 27, 2005 10:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem Of Date Conversion in DRS while retrieving data
- Replies: 10
- Views: 2495
- Wed Apr 27, 2005 9:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error Control
- Replies: 3
- Views: 796
- Wed Apr 27, 2005 9:35 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: based on previous record how to update record
- Replies: 14
- Views: 3387
There's always more than one way to solve problems here. If you do take this route and 'latest record' means 'max' date or something to that effect, make sure you sort the file first if there is any doubt about the order they will come in. Otherwise you will literally get the last record for that so...
- Wed Apr 27, 2005 5:01 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: based on previous record how to update record
- Replies: 14
- Views: 3387
Yup, that would be a simple approach that leverages the 'destructive overwrite' of hash files - last one in wins for each combination of the key fields. It would require that your data be sorted properly. Another option would be to sort the file descending on the key fields and then take the first r...
- Wed Apr 27, 2005 4:52 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Purging deleting data from batch job
- Replies: 5
- Views: 1218
You could create a DataStage job to do this. Or three. Me, I'd stick to one. What you need is a transformer and your RDBMS stage of choice, one link for each of these processes. Define a stage variable in the transformer so the compiler doesn't complain, but you won't have to use it. Have your thre...