I have a sequential file that contains a wide variety of non-printable characters. I need to convert these to spaces. How can i do this in a cobol2 program running on zOS/390 mainframe.
The valid ASCII hex values are x'20' thru x'7E'. Hence, we need to convert x'00' thru x'1F' & x'7F' thru x'FF' to spaces.
Any ideas are appreciated. Thank you.
The valid ASCII hex values are x'20' thru x'7E'. Hence, we need to convert x'00' thru x'1F' & x'7F' thru x'FF' to spaces.
Any ideas are appreciated. Thank you.