Search found 42189 matches

by chulett
Fri Jun 16, 2006 6:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Update action with condition in sequential file
Replies: 11
Views: 2629

The only way to avoid creating an empty file as output is to not run the job when your input would produce zero output rows. Perform some sort of preprocessing step to check.

Kumar need to fix his link to not include the 'sid' (search id) information.
by chulett
Thu Jun 15, 2006 5:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Automatic DataStage Maintenance
Replies: 8
Views: 5185

You do this every week? :shock:

I don't recall ever needing to do anything like this unless SHGVVW - Something Had Gone Very, Very Wrong.
by chulett
Thu Jun 15, 2006 2:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoiding Data disappear
Replies: 6
Views: 1294

Or load a second copy of the table and when the load completes, swap it in for the original. :wink:
by chulett
Thu Jun 15, 2006 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS Oracle optimization (parallel processing / query rewrite)
Replies: 4
Views: 1127

Keep in mind the fact that Example #1 is using an OCI stage to do a reference lookup... and that it will fire once for each row through the job. I would imagine the overhead of doing parallel queries on these singleton selects explains the increased execution times.
by chulett
Thu Jun 15, 2006 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ChangeTimestamptoyear
Replies: 7
Views: 1294

If your 'timestamp' comes in in a consistent format, both pieces can simply be sub-stringed out.
by chulett
Thu Jun 15, 2006 6:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instance
Replies: 3
Views: 950

You will need to make sure that this job can run in parallel by yourself - for instance by checking to see that any output or interim sequential files have a unique name by instance. As Arnd notes, there's more to it than just checking off a box. I wanted to highlight this sentence because it is cr...
by chulett
Wed Jun 14, 2006 4:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best way of creating a list of jobs
Replies: 7
Views: 1431

Actually, Arnd meant: You could do it from the command line using...
by chulett
Wed Jun 14, 2006 11:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Query in ODBC stage
Replies: 4
Views: 1052

... and you better select as many fields in your query as you have columns in the stage, and do so in the same order. :wink:
by chulett
Wed Jun 14, 2006 7:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Ok... I'm going to take a step back from this. For some stoopy reason I thought we were discussing Oracle and now I see it's DB2. Doh! I'm not certified for solo flight in a DB2. :wink:
by chulett
Wed Jun 14, 2006 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find Max Sequence Number from a record
Replies: 13
Views: 4150

A series of 'If then else' checks, starting from the 'back'. Or check into the Oracle 'COALESE' function if you have that available, it may help.
by chulett
Wed Jun 14, 2006 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Actually, my point was around the issue of the 'default value' blocking sending that value in 'normally'... it doesn't. I have no idea why you can't send your 'high nines' time in directly but then you've never specified the actual error you get when you try to do so - or what your derivation or SQL...
by chulett
Wed Jun 14, 2006 6:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

Define the 'different results' you see in a transformer. And if you're going this route to the summit, I suggest a slight modification: Ans = 0 UnixCommand = "wc -l ":Arg1 Call DSExecute ("UNIX",UnixCommand,Output,SystemReturnCode) Ans = trim(Output<1>)
by chulett
Wed Jun 14, 2006 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First Character of source to First char of target
Replies: 5
Views: 959

ArndW wrote:You are going from CHAR(1) to CHAR(2). Use explicit padding of one space in your derivation...

Isn't that... completely unnecessary? Since when will char fields be right justified? Just map one to the other, no extra who-ha needed. :?
by chulett
Wed Jun 14, 2006 6:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: load two diff text files using single sequential file stage
Replies: 23
Views: 3881

Ok... you've never been able to 'multi-run' jobs like that that I've ever seen. What would be so wrong with starting them one after another in quick succession I wonder? Or what's so horrible about the 'put both jobs in a Sequence job' idea? :?