Hello K. Singh,
Here are a few posts which can help you with the problem:This
post poses a similar problem as yours.This
post has links to some really helpful DFSORT manuals shared by 'Frank'; you should be looking at 'DFSORT: Beyond Sorting' for quick tips; though a good place to start with DFSORT would still be 'z/OS DFSORT Application Programming Guide'This
post gives another approach for the same problem, converting packed data to zoned data.
If it still doesn't work, please post what you've tried along with sample input data and we'd be able to help you out.