the chances of getting help on such a problem are pretty slim
better ask Your support
the best reply You might get on a forum is the confirmation that
****** ***************************** Top of Data ******************************
000001 //ENRICO1 JOB NOTIFY=&SYSUID,
000002 // MSGLEVEL=(1,1),CLASS=A,MSGCLASS=H
000003 //*
000004 //ICE EXEC PGM=SORT
000005 //SYSOUT DD SYSOUT=*
000006 //SYSPRINT DD SYSOUT=*
000007 //SORTIN DD *
000008 SOME DATA
000009 ...
000010 MORE DATA
000011 //SORTOUT DD SYSOUT=*
000012 //SYSIN DD *
000013 SORT FIELDS=COPY
000014 OUTFIL REMOVECC,NODETAIL,
000015 TRAILER1=('NO OF RECORDS:',COUNT=(M11,LENGTH=7))
****** **************************** Bottom of Data ****************************
runs correctly and returns
********************************* TOP OF DATA **********************************
NO OF RECORDS:0000003
******************************** BOTTOM OF DATA ********************************
looking over again at Your control cards You should have received some kind of syntax error
because the comma at the end of the SORT statement implies a continuation when none is needed
just get rid of it ( the comma ) and see what happens
the forum contains zillions of <sort> examples,
You should have spotted the error Yourself