View previous topic :: View next topic
|
Author |
Message |
nehansh
New User
Joined: 12 Nov 2010 Posts: 2 Location: bangalore
|
|
|
|
Hi
I am using the SORT utility to get the sum of a particular field in my input file.
After some research on this forum I came up with :
SORT FIELDS=COPY
OUTFIL FNAMES=SORTOUT,NODETAIL,REMOVECC,
TRAILER1=(C'000010010', *XMIT-FILE-ID
COUNT=(PD,LENGTH=06), *XMIT-REC-CT INTEGER
TOT=(72,16,C))
Does this work for alphanumeric fields too is what I would like to know. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Which release of which sort product is used on your system?
Quote: |
Does this work for alphanumeric fields too is what I would like to know. |
No, fields must be numeric to be totaled.
How would "adding" names be of any value? |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
If you have only numeric values in that field, yes, you can. |
|
Back to top |
|
|
|