Search found 42189 matches

by chulett
Wed Jun 14, 2006 6:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: decompiler
Replies: 10
Views: 2930

Anyone gonna ask for the 'why' behind the question? :?
by chulett
Wed Jun 14, 2006 6:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: load two diff text files using single sequential file stage
Replies: 23
Views: 3881

i have 2 instances of the same job but i m unable to run them simultaniously. I'm lost... why the heck not? That's the whole point of these kind of jobs - so you can run the same job multiple times at the same time. Highlight the main job in the Director, click 'Run', supply a unique Invocation ID ...
by chulett
Wed Jun 14, 2006 6:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

Are you passing in a full pathname to the routine? What was wrong with using 'test' - as noted, you need to check the exit status of the command, not the output of it as it doesn't have any. Are you sure it will be empty empty? If the file includes a first row of headers it will never be zero bytes.
by chulett
Wed Jun 14, 2006 5:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Invalid arguments in script
Replies: 12
Views: 3197

That tr must come with MKS because it ain't no DOS command. :wink:
by chulett
Tue Jun 13, 2006 10:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Invalid arguments in script
Replies: 12
Views: 3197

Sorry, just took it as a complaint that your problem wasn't getting solved fast enough. Been a long day.

Hope you figure it out... or someone running a Windows server throws us all a bone. :wink:
by chulett
Tue Jun 13, 2006 9:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE ABORT
Replies: 19
Views: 4525

Name is hshCustomer and also i forgot to mention..the job name is also hshCustomer..Do you think thats throwing error...

Ans.No, that would not be a problem.
by chulett
Tue Jun 13, 2006 9:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Invalid arguments in script
Replies: 12
Views: 3197

I have spent an amount of time on this problem and would like to be able to solve it so I can move on. Do you think you are the only one? Food for thought: C:\DOCUME~1\Craig>type fred.txt -param FRED=fred -param BOB=bob C:\DOCUME~1\Craig>echo fred.txt fred.txt C:\DOCUME~1\Craig>echo 'type fred.txt'...
by chulett
Tue Jun 13, 2006 7:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE ABORT
Replies: 19
Views: 4525

How about sharing with us the actual File name you've been using in the hashed file stage? I'm wondering if there's something... funky... about it. Also, when you changed the stage to 'Use account Name' instead of a directory path - did you put something in the Account Name field? If so, what? If yo...
by chulett
Tue Jun 13, 2006 7:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob Invalid arguments in script
Replies: 12
Views: 3197

What exactly is in your file? You've never said and people are just assuming they know what's there. If you don't have that correct then no amount of proper echo'ing or type'ing is going to get you proper command line syntax. :evil:
by chulett
Tue Jun 13, 2006 7:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Re: Generate timestamp only if condition met.

Nothing, just clarifying how to trigger the default value on a required field. If the incoming timestamp is high 9s, i cannot pass 9999-12-31 23:59:59.999999 as that is the default value and the database will not accept that. What makes you say this? Why would the database care? (hint: it won't)
by chulett
Tue Jun 13, 2006 4:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

You're right in that you can't send NULL to a required field. However, you can trigger the default value in the required field by not including the field in your DML.

Perhaps two different links are in order?
by chulett
Tue Jun 13, 2006 2:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH FILE ABORT
Replies: 19
Views: 4525

As previously noted, after the job aborts you need to Reset the job (note, not recompile but reset). Look to see if the reset brings new information into the job's log labelled as 'From previous run...'.

Let us know if they show up and if they do double-click on them and paste the details here.
by chulett
Tue Jun 13, 2006 8:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Key Expression
Replies: 5
Views: 966

Ken Bland posted these routines back in 2003 to do ranged lookups in hashed files. Only 'problem' is they are considered Premium Content now, but I'm sure you could contact Ken directly as all of his stuff is 'open source' I do believe. :wink:
by chulett
Tue Jun 13, 2006 8:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

Cute. Nothing like a little revisionist history. :lol:
by chulett
Tue Jun 13, 2006 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Key Expression
Replies: 5
Views: 966

Yah, noticed that after I posted here. However, I didn't notice the '4' in the output... and what the OP is looking for is specifically a 'range lookup' rather than a 'non-equaljoint' one. Ken Bland posted a way to do this in hashed files which I've leveraged in the past. Not for the faint of heart,...