Hi, It is probably something very obvious, but i am having a hard time figuring out what is wrong...I am trying to use the SUM function provided by DFSORT. My control statements are, as the documentation indicates, something like:
SORT FIELDS=(20,5,CH,A) SUM FIELDS=(30,4,BI) When i run the DFSORT (as a batch job), it ends with RC=0. However, the SUM is not performed (but the records are sorted, tough). Despite many records having identical value in position 20-24, their values in field 30-33 are not added. It seems that the SUM statement is ignored. Any ideas of what could be happening? Thanks in advance, JUAN MAUTALEN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

