View previous topic :: View next topic
|
Author |
Message |
svsarath
New User
Joined: 30 May 2006 Posts: 16
|
|
|
|
Hi,
Please help me on the following using SORT
Code: |
Input:
Column#1 Column# 2
1 -50
2 10
1 10
2 20 |
T
Thanks for your help. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Any chance that you could mention what sort product you are using, the record format and length, the field lengths, positions, and formats, just so we don't have to guess at everything. Any chance that you could search on previous posts? |
|
Back to top |
|
|
JnanaR
New User
Joined: 20 Jul 2009 Posts: 23 Location: Mumbai
|
|
|
|
sort fields=(position of column1,1,CH,A)
sum fields=(position of colum2,2,ZD) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The posted code was not tested. . . It will not work as posted. . .
Quote: |
Any chance that you could mention what sort product you are using, the record format and length, the field lengths, positions, and formats, just so we don't have to guess at everything. Any chance that you could search on previous posts? |
Little to no chance. . .
I guess i'd forgotten that Christmas was supposed to be a Psychic Day. . . |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
With the information in hand, you may try something similar to what is suggested here. |
|
Back to top |
|
|
|