I have a input file as below;
the input file is sorted based on the first two bytes.
01111111111aaaaaaaaaaaaaaaaaaaaaaaaaa
01222222222aaaaaaaaaaaaaaaaaaaaaaaaaa
01333333333aaaaaaaaaaaaaaaaaaaaaaaaaa
02bbbbbbbbbbbbbbbbbbbbbbbb111111111vv
02bbbbbbbbbbbbbbbbbbbbbbbb222222222vv
02bbbbbbbbbbbbbbbbbbbbbbbb333333333vv
400111111111yyyyyyyyyyyyyyyyyyyyyyyyyyyyy
400222222222yyyyyyyyyyyyyyyyyyyyyyyyyyyyy
400333333333yyyyyyyyyyyyyyyyyyyyyyyyyyyyy
By using sort utility in jcl i want the output file as below: the output files should be sorted based on the 9 digit values i.e
111111111
222222222
333333333
01111111111aaaaaaaaaaaaaaaaaaaaaaaaaa
02bbbbbbbbbbbbbbbbbbbbbbbb111111111vv
400111111111yyyyyyyyyyyyyyyyyyyyyyyyyyyyy
01222222222aaaaaaaaaaaaaaaaaaaaaaaaaa
02bbbbbbbbbbbbbbbbbbbbbbbb222222222vv
400222222222yyyyyyyyyyyyyyyyyyyyyyyyyyyyy
01333333333aaaaaaaaaaaaaaaaaaaaaaaaaa
02bbbbbbbbbbbbbbbbbbbbbbbb333333333vv
400333333333yyyyyyyyyyyyyyyyyyyyyyyyyyyyy