Search found 42189 matches

by chulett
Sun Mar 29, 2009 7:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to understand Datastage Director Warning
Replies: 5
Views: 2373

I'm curious how that is "not good for the design". Or how putting a zero in a CHAR(40) is an appropriate represention of an empty string field. :? In my opinion, what you did is not a workaround but rather the solution. The fact that the warning is now gone should be a big clue, a 'workaro...
by chulett
Sat Mar 28, 2009 9:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dealing With Special Characters ...
Replies: 6
Views: 3067

:idea: If you're going to quote people or otherwise make use of the [tags] that are available here, make sure you do not check the "Disable BBCode in this post" option or they won't work... as you can see in your reply.
by chulett
Sat Mar 28, 2009 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dealing With Special Characters ...
Replies: 6
Views: 3067

Re: Dealing With Special Characters ...

However, when I try to load the single character into the database, it rejects the reject. Rejects how, exactly? Can you post the entire message? Yes, UTF-8 is a "multi-byte encoding" character set. Certain things like your umlaut can cause it to need two (and other things even three) byt...
by chulett
Sat Mar 28, 2009 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dealing With Special Characters ...
Replies: 6
Views: 3067

[nothing to see here, move along]
by chulett
Sat Mar 28, 2009 8:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dealing With Special Characters ...
Replies: 6
Views: 3067

Sometimes known as an "O-with-dots", the dots are a diacritic mark known as an umlaut or diaeresis or trema as well, it seems. So "O-umlaut". :wink:

Is your install "NLS enabled"? Assuming yes, but need to double-check. Also what stage are you using with DB2?
by chulett
Fri Mar 27, 2009 1:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a job for x number of lines in a file
Replies: 15
Views: 3467

True. The "separate line" part could be handled in DataStage by converting the Field Marks to nothing which would pull all the lines up into one and the last delimiter could be sub-stringed off. You could probably do the same thing with multiple invocations of 'sed'... or you could write a...
by chulett
Fri Mar 27, 2009 1:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsjob command - error while using ./dsenv
Replies: 2
Views: 2183

You don't "run" it like that, you're missing a "dot space" in front:

Code: Select all

. ./dsenv
That's how you "source" the file, btw.
by chulett
Fri Mar 27, 2009 11:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsjob command in LINUX - 'command not found' error
Replies: 1
Views: 2756

How much UNIX experience do you have? Or any other command line O/S for that matter? You either need to make sure the directory the command is in is in your $PATH or that you fully path the command or (in this case) since you're parked in the same directory it lives in, stick a "dot slash"...
by chulett
Fri Mar 27, 2009 11:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a job for x number of lines in a file
Replies: 15
Views: 3467

Silly thought, but why not use sed to add a comma (or whatever) to the end of each line?

Code: Select all

sed 's/$/,/' filename
Results would go to stdout and thus easily picked up in your UserVariables stage.
by chulett
Fri Mar 27, 2009 9:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: UtilityHashLookup Transform Function
Replies: 5
Views: 1841

However, the message 'table not found' indicates that either your hashed file doesn't exist or your environment variable isn't resolving itself properly. If you're certain about the former, check the latter.
by chulett
Fri Mar 27, 2009 9:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a job for x number of lines in a file
Replies: 15
Views: 3467

Both issues are addressed in this post:

viewtopic.php?t=117081
by chulett
Fri Mar 27, 2009 9:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a job for x number of lines in a file
Replies: 15
Views: 3467

Search the forums for "ParamValue/Limitvalue is not appropriate", this has been discussed here quite a bit.
by chulett
Fri Mar 27, 2009 8:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Altering Environmental files for Dynamic RDBMS stage
Replies: 1
Views: 770

Actually, you'll need to create new entries there for this.
by chulett
Fri Mar 27, 2009 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Junk characters in char column of DB2 Table
Replies: 5
Views: 2611

8) Please mark the topic as Resolved using the button at the top of the sreen.
by chulett
Fri Mar 27, 2009 8:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting the file
Replies: 3
Views: 1307

What have you tried? And for the example that you posted, can you please also post the expected output, showing us what each file would need to look like after all the shenanigans?