View previous topic :: View next topic |
Author |
Message |
Martin Beginner

Joined: 20 Mar 2006 Posts: 133 Topics: 58
|
Posted: Fri Jul 07, 2006 11:44 am Post subject: Sort Issue |
|
|
Hi All,
Here the sort issue ( I thought it is better to explain with an example.)
Input file
0012
0013
1131
1132
0011
0012
1111
1112
Output file
0011
0012
1111
1112
0012
0013
1131
1132
If you see here records with 00 should not be sorted, But next few records after the 00 should be sorted.
Can this be done?
- Martin |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12383 Topics: 75 Location: San Jose
|
Posted: Fri Jul 07, 2006 11:58 am Post subject: |
|
|
Quote: |
If you see here records with 00 should not be sorted, But next few records after the 00 should be sorted.
|
Martin,
What about Records 1 & 2 in your output ? Why are they sorted?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Fri Jul 07, 2006 1:07 pm Post subject: |
|
|
Martin,
Huh? It's not clear at all what "rules" you want to use for sorting. I can't see any obvious pattern in the output records. Please explain clearly and in detail the "rules" you want to use to get from input to output. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|
Back to top |
|
 |
|
|