WHAT IS THE MEANING AND WHY WE USE IT. WHAT IS THE MEANING OF INREC(2:4,8) AND OUTREC(9:3,10)
The inrec and outrec can be sued to reformat the sorted record prior and after the sort.
Your inrec says the second thru ninth byte of the sorted record consists of the fourth thru eleventh byte of the input record.
It is similar for the outrec, the outputted record, beginning at byte 9 consists of byte 3 - 12 of the sorted record.
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from: