Search found 42189 matches

by chulett
Thu Mar 11, 2010 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: read all files from load directory
Replies: 11
Views: 2368

Ack... parallel job. Yes, what Arnd suggested could be an option as well, depending on how tight that 'process one by one' requirement has you in its grasp.
by chulett
Thu Mar 11, 2010 10:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove header and trailer from records.
Replies: 27
Views: 13421

Use a combination of DCount() and Field(), the former to let you know how many 'fields' there are and the latter to pull out everything from the 2nd field to the 'next to last' one.
by chulett
Thu Mar 11, 2010 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: read all files from load directory
Replies: 11
Views: 2368

In other words, a looping Sequence job. :wink:
by chulett
Thu Mar 11, 2010 10:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IBM Support for 1gb or more size XML file.
Replies: 15
Views: 13370

There's not much to ask. You cannot process XML files that large and people that send them out like that should be shot. IMHO. :wink: You'll need a 'pre-processing' step to break them up into digestable pieces or use a third-party parsing tool that doesn't need to suck the whole thing up into memory...
by chulett
Thu Mar 11, 2010 10:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: read all files from load directory
Replies: 11
Views: 2368

'Read' in what sense? If you are required to process them one by one, build a looping Sequence job. Otherwise, cat them all together (before job or in the Filter option) and 'read' them as one big file.
by chulett
Thu Mar 11, 2010 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: YearweekFromDate
Replies: 2
Views: 2065

By default, Sunday is considered the first day of the week and there are places where you can pass an optional 'origin day' to change that. This function doesn't look like one of those. :( Seems to me you'd have to run some tests to determine how it decides what a 'week' is or you'd need to ask your...
by chulett
Thu Mar 11, 2010 10:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregating Data
Replies: 3
Views: 1515

Is it working for you? If so, it is certainly *a* right way.
by chulett
Thu Mar 11, 2010 9:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove header and trailer from records.
Replies: 27
Views: 13421

asorrell wrote:Craig? Are you getting too old to chase tail?
My own tail, yes. :lol:
by chulett
Thu Mar 11, 2010 9:53 am
Forum: Site/Forum
Topic: Problem with posting.php
Replies: 11
Views: 9317

Don't have to be a Moderator to do that, Andy. Well, unless it's much later and there's a reply, then you would need superpowers. :wink:
by chulett
Thu Mar 11, 2010 9:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove header and trailer from records.
Replies: 27
Views: 13421

OK, so finally a much more representative example gets posted. Let's keep going... What needs to happen to this record? I get the 'ignore/remove the HDR and TRL information' (right?) but there are 9 DTL pieces stuffed in there. Where do they go? Do you need to parse out them and summarize them in so...
by chulett
Thu Mar 11, 2010 9:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove header and trailer from records.
Replies: 27
Views: 13421

Can I humbly suggest that we wait for the requirements to be clarified before we throw out any more suggestions? Especially UNIX based one when this may be easily accomplished 'in tool' once we know. Thanks.
by chulett
Thu Mar 11, 2010 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with insert / update
Replies: 1
Views: 1534

U is not here and please do not advertise your problems via private email. :?

No-one can help you without details about your job design and data. What stages / database / settings are you using? How are you assuring updates happen when they should? Details, man, details.
by chulett
Thu Mar 11, 2010 8:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: limit of files and subdirectories in AIX
Replies: 10
Views: 6020

Sreenivasulu wrote:As far as i know AIX uses JFS file system and it does not have a limit on the number of files.
Ray said the same thing: "no practical limit on the number of files". The issue is specifically the number of subdirectories supported.
by chulett
Thu Mar 11, 2010 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LIKE operator in IF ELSE Condition
Replies: 12
Views: 10004

The Index() suggestion is akin to '%DELL%' rather than 'DELL%'. If the condition is index()=1 then it will work like 'DELL%' and index()<>0 is similar to '%DELL%'. :wink: True, but my point was that it does a substring match across the entire string so can find it anywhere and without you specifica...
by chulett
Thu Mar 11, 2010 8:09 am
Forum: General
Topic: Commiting records after successful completion of job
Replies: 10
Views: 5623

You can't do a "load" as that uses sqlldr and bulk loads don't commit in the sense that you need. And you need to esure the job aborts if there are any rejects so no closing commit is done.