is it possible to sort vsam files,if so how to sort Vsam files?
Yes, you can use DFSORT to sort VSAM files. If you want more specific information, you need to explain more about what you're trying to do. Are you trying to use a VSAM file as input and a non-VSAM file as output, or a VSAM file as input and another VSAM file as output, or what? What is the position, length and format of the key you want to sort on? Are all of the records in the VSAM file the same length or are they different lengths?
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: