> SORTSTMT DC AL2(SORTEND-SORT) > SORT DC C' SORT FIELDS=(1,1,CH,A)' > DC C' RECORD TYPE=F,LENGTH=80' > SORTEND EQU *
I noticed you've not included a trailing blank after the last control statement. According to the DFSORT manual, a trailing blank is required. > The rules for preparing the program control statements are: > > o The control statements must be separated by one or more blanks. A > blank preceding the first statement is optional; however, a trailing > blank is required. No labels, comment statements, or remark fields are > allowed. Because each control statement image must be defined > contiguously by one or more assembler DC instructions, explicit and > implicit continuation of statements is not necessary or allowed. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN