Search found 15603 matches

by ArndW
Thu Oct 01, 2009 1:16 am
Forum: General
Topic: Regarding Loading chinese characters
Replies: 12
Views: 7063

What if you were to change your job and all stages in it to UTF-8 to avoid convertions altogether, does the warning still appear?
by ArndW
Wed Sep 30, 2009 10:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Searching for a word in string in a column
Replies: 7
Views: 1350

Yes, so look for "BANANA " and/or " BANANA" to avoid that type of error.

p.s. Rob - I'm here because my compiles are taking 30 minutes or longer today :)
by ArndW
Wed Sep 30, 2009 9:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Searching for a word in string in a column
Replies: 7
Views: 1350

Code: Select all

INDEX(In.COL1,"BANANA",1)
will return 0 if the string is not found, or a numeric start position.
by ArndW
Wed Sep 30, 2009 8:01 am
Forum: General
Topic: Regarding Loading chinese characters
Replies: 12
Views: 7063

Ok, what about looking at it differently. What should the string be after the date? It looks like it is garbled, with single-byte extended Latin characters instead of initial bytes of multibyte Chinese ones.
by ArndW
Wed Sep 30, 2009 7:45 am
Forum: General
Topic: Regarding Loading chinese characters
Replies: 12
Views: 7063

In the extended attribute for the string do you have "unicode" set?
by ArndW
Wed Sep 30, 2009 7:17 am
Forum: General
Topic: Regarding Loading chinese characters
Replies: 12
Views: 7063

Now add "APT_DISABLE_COMBINATION" to your job and set the value to "true" for one run and the warning will tell you the actual stage generating the message, please post that.
by ArndW
Wed Sep 30, 2009 7:12 am
Forum: General
Topic: Regarding Loading chinese characters
Replies: 12
Views: 7063

Please post your complete and unedited warning message.
by ArndW
Wed Sep 30, 2009 6:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compress Stage
Replies: 1
Views: 1142

The stage is not too much more than a front-end for the OS compression algorithm you choose, "compress" or "gzip"; you can read up on the differences between the two in the manpages. No stage that process column values will be able to process compressed data. Your sample data is ...
by ArndW
Wed Sep 30, 2009 2:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create sequential file only if any rows written into it
Replies: 6
Views: 1513

I've only used "test -s" in scripts and don't know how it can be used in a single command line to delete zero length files, which is why I reverted to the time-honored and much distinguished "find" command. Do you have an example of how to use "test" without writing or ...
by ArndW
Wed Sep 30, 2009 2:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse Look Up on DB2 UDB on Mainframes in PX
Replies: 4
Views: 1562

Does that mean that the lookup works when it is not defined as sparse?
by ArndW
Wed Sep 30, 2009 2:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Operator terminated abnormally: received signal SIGSEGV
Replies: 3
Views: 6537

Which operator? (hint: post the full error message).
by ArndW
Wed Sep 30, 2009 2:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in reading variable number of columns from file
Replies: 7
Views: 1674

Except in this case the source is a sequential file.
by ArndW
Wed Sep 30, 2009 2:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Create sequential file only if any rows written into it
Replies: 6
Views: 1513

Instead of complicated workaround, put in an after-job call to SH and execute "find . -name {YourFileName} -size 0 -exec rm -f {} \;" . I am sure that the real UNIX experts will suggest a more efifacious command, but this should work well enough.
by ArndW
Tue Sep 29, 2009 6:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in reading variable number of columns from file
Replies: 7
Views: 1674

This is tougher to do in PX than in server - I would use a server job, where missing columns at the end of a line can be handled automatically - a functionality not present in PX jobs. The Server job could read & reformat the file and then a PX job could do the real processing.
by ArndW
Tue Sep 29, 2009 6:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot find job TEST
Replies: 12
Views: 3750

Code: Select all

LIST DS_JOBOBJECTS WITH NAME EQ "TEST"
should suffice to see if any artefacts are left.