Sequential File - Filter - Unix Sort -SequentialMode Problem

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
koti9
Participant
Posts: 52
Joined: Wed Nov 09, 2005 10:51 am

Sequential File - Filter - Unix Sort -SequentialMode Problem

Post by koti9 »

Hello all, I am planning to do unix sort in Sequential file filter,but Sequential file is by default read using Sequential Mode, wont that mess up my sorting done via unix?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No. Or at least I don't see why it would. Once you leverage the filter, the stage is no longer reading the file itself. It runs your filter command which outputs data to stdout and the stage will consume this stream via stdin.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

The only times that the UNIX sort and a subsequent DataStage sort might differ are with null handling (which can be specified in DataStage) and on sort order of non-single-byte characters and that is done by specifying the correct character set both in UNIX and within DataStage.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Also, unless you specify where your temp space is on the sort command, you'll be using /tmp. Please don't fill it up.

Any reason why you do not want to use the sort stage?
Post Reply