Search found 15603 matches

by ArndW
Tue Dec 18, 2007 9:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Unprintable characters
Replies: 11
Views: 8575

How do you define unprintable? Is it characters with ASCII values <32 and greater than 126? Any exceptions? How you code this depends upon what you need done.
by ArndW
Tue Dec 18, 2007 9:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Purpose of setting Nullable property as 'No'??
Replies: 18
Views: 2912

Ok, you now have the 3rd option - neither NULL nor SQL.NULL but just an empty field. This will come into a VarChar field as '', or an empty string {which is very different from null!}. What Minhajuddin wrote now applies, but only sort-of. Basically, unless you are loading to a VarChar2 Oracle these ...
by ArndW
Tue Dec 18, 2007 8:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to removw the duplicate words in thecolumn
Replies: 2
Views: 841

There is no single function in DataStage that will do this for you. It isn't a complex thing to do in either a Server BASIC program or a C++ routine, though. I would assume that the space character is the token delimiter and then write a loop to check each token with all following ones to check for ...
by ArndW
Tue Dec 18, 2007 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Purpose of setting Nullable property as 'No'??
Replies: 18
Views: 2912

Ok, let us take things step by step. Normally this type of problem starts with mistaking an ASCII NUL and SQL NULL values for the same thing. Normally, a sequential file doesn't contain SQL NULLs. So as the first step let us see what kind of values we are dealing with. Use your favorite editor to lo...
by ArndW
Tue Dec 18, 2007 7:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Purpose of setting Nullable property as 'No'??
Replies: 18
Views: 2912

Minhajuddin - what you recommend means that an empty string is equated to SQL Null, which I believe is not the poster's intent. Also, strings containing 0x00 (the NUL value) would not correctly be converted to SQL NULL (0x280).
by ArndW
Tue Dec 18, 2007 7:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Purpose of setting Nullable property as 'No'??
Replies: 18
Views: 2912

I use both default values (for constrained columns like dates, times & numerics) and a transform stage with derivations for strings.
by ArndW
Tue Dec 18, 2007 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance upgradation needed in datastage 7.X
Replies: 4
Views: 1009

Adding indices usually increases query performance but slows down insert/update operations.

If you remove the lookup operation what does your performance do?
by ArndW
Tue Dec 18, 2007 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP stage
Replies: 10
Views: 4139

I'm not at a UNIX box right now, but if you go into FTP and type "help" there will be some command there that will display verbose output, including the ports used for communication.
by ArndW
Tue Dec 18, 2007 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Simultaneously appending data to same dataset
Replies: 8
Views: 3573

You can concurrently write to the same dataset from different jobs; but you would need to sort your data explicitly when reading from the dataset. You would need to use the "append" mode and each process will create it's own partfiles inside the dataset.
by ArndW
Tue Dec 18, 2007 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pass job parameters to the called script in after subroutine
Replies: 3
Views: 1390

The Before and After job subroutines will only accept 1 parameter. But it is a simple matter to concatenate strings with separators into the one parameter and then parse out those elements in your routine. The FIELD() function is usually the simplest solution.
by ArndW
Tue Dec 18, 2007 6:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify stage Error
Replies: 5
Views: 1288

Well, I just did the same thing in a test program and it worked like a charm, except when I miss-spelled a column and then I got a "The modify operator has a binding for the non-existent output field "TESTTER"." I can't see what might be causing this error. If you rename your input/output columns do...
by ArndW
Tue Dec 18, 2007 6:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reg:Data validation using DB2 Load Utility
Replies: 2
Views: 1479

This sort of logic should be done in an active stage before you get to the passive DB2 write stage.
by ArndW
Tue Dec 18, 2007 5:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Purpose of setting Nullable property as 'No'??
Replies: 18
Views: 2912

Actually, you should get errors when writing nulls to a sequential file without handlers; so this means that you probably don't have a real SQL NULL but a UNIX null (0x00)
by ArndW
Tue Dec 18, 2007 5:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP stage
Replies: 10
Views: 4139

Ahh, it looks like the PORT command is the culprit. Are you sure that you are using the correct ports for commands and data in the FTP command?
by ArndW
Tue Dec 18, 2007 5:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use Macro
Replies: 2
Views: 1114

What sort of a "Macro"? There are many different types and definitions of macros. In DataStage the term is not really used, I've seen it used in relation to DataStage Transforms but somehow don't think that this is what you mean. Excel Macros cannot be used in DataStage.