Dick, as per your suggestion I could come up with the below code........ It worked and I got the results as expected.........
//STEP0002 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTOUT DD DUMMY
//SORTIN DD DSN=USERX.SECND.OUTER.BARXRAY.FISCHERS.BACKS,
//SYSIN DD *