Cosort Plug-In with DataStage Problem
Posted: Tue Apr 26, 2005 12:29 am
We have been trying to use cosort with datastage but faced the following problem:
1. The data donot get sorted.
2. If sorted data is provided the data becomes unsorted.
Four instances of run is given below :
1. An input file containing 4 3 2 1 was fed with the sort condition as x des none no no. The output file contained 4 1 2 3
2. An input file containing 1 2 3 4 was fed with the sort condition as x des none no no. The output file contained 1 4 3 2
3. An input file containing 4 3 2 1 was fed with the sort condition as x asc none no no. The output file contained 4 1 2 3
4. An input file containing 1 2 3 4 was fed with the sort condition as x asc none no no. The output file contained 1 4 3 2
The following is the datstage log warning message:
DataStage Job 139 Phantom 2400
CoSORT Version 8.2.2 D8050210-1400 Copyright 1978-2005 IRI, Inc. www.cosort.com
IST 10:54:57 AM Tuesday, April 26 2005. #05104.7683
Expires May 20, 2005 Monitor Level 1
<00:00:00.00> event (66): cosort() process begins
<00:00:00.05> event (67): cosort() process ends
DataStage Phantom Finished
1. The data donot get sorted.
2. If sorted data is provided the data becomes unsorted.
Four instances of run is given below :
1. An input file containing 4 3 2 1 was fed with the sort condition as x des none no no. The output file contained 4 1 2 3
2. An input file containing 1 2 3 4 was fed with the sort condition as x des none no no. The output file contained 1 4 3 2
3. An input file containing 4 3 2 1 was fed with the sort condition as x asc none no no. The output file contained 4 1 2 3
4. An input file containing 1 2 3 4 was fed with the sort condition as x asc none no no. The output file contained 1 4 3 2
The following is the datstage log warning message:
DataStage Job 139 Phantom 2400
CoSORT Version 8.2.2 D8050210-1400 Copyright 1978-2005 IRI, Inc. www.cosort.com
IST 10:54:57 AM Tuesday, April 26 2005. #05104.7683
Expires May 20, 2005 Monitor Level 1
<00:00:00.00> event (66): cosort() process begins
<00:00:00.05> event (67): cosort() process ends
DataStage Phantom Finished