This gives the above message in DFSMSG log - ICE039A F INSUFFICIENT MAIN STORAGE - ADD AT LEAST 28K BYTES
I tried giving OPTION MOSIZE=0 and later set the diagnostic message on by giving //SORTDIAG DD DUMMY
Please find the diagnostics messages for :-
Joined: 06 Jun 2008 Posts: 8165 Location: East Dubuque, Illinois, USA
]//STEP005 EXEC PGM=ICETOOL,REGION=????
is what you need -- where ???? is a value dependent upon your site. You might try 4M (or 4096K) and adjust from there. If the default region size your site uses is insufficient, and that is what the message about adding 28K means, none of the parameter values you can change in ICETOOL will be able to impact the lack of region .
When posting information to preserve spacing, you need the Code tags, not Img tags.
Robert didn't suggest coding 0M, which is an entirely sloppy way to do it unless you have specific reason (if documentation says so).
Why did you use ICETOOL? It is an entirely routine SORT with JOINKEYS. Why use ICETOOL's SORT operator anyway, when you only want to copy the file. Why use OUTREC to leave the record unchanged? Why do you have 12 work-datasets? Take the DCB information off your output file. DFSORT will accurately provide it and you won't have two places to get it the same, and then keep the same during maintenance.