I have Never Use Substring in JCL, for this reason I asked for JCL / SORT Card.
After today, you will have used substring. It is NOT in JCL - it is in the "sort card".
The Syncsort documentation describes substring. If you do not have the documentation, you should contact Syncsort and they can tell you how to download the material.
I Appreciate if U can help me out.
You have been "helped out". . .
Please explain why you have not copied some existing sort jcl and changed it for your use (using the "sort card" provided by Mr Spock to control the process).