I have an internal sort in cobol program. In this sort, there is input & output procedure. The records before the sort (in input procedure ) are having proper values. One record after the sort (in output procedure while returning the sort record ) has spaces and hence it gives a SOC-7. I can't use "IS NOT NUMERIC". Please let me know the alternative solution.