#4: Author: semigeezer, Location: AtlantisPosted: Sun Apr 09, 2006 2:12 am You are using the ISPF editor which has nothing to do with SORT. You can run the editor in batch and use the TFLOW verb in an edit macro. See the ISPF FAQ topics for more information about that.