Note: This program does not convert the file to ASCII. It only interprets the first five records in the file as ASCII values and writes them to the SAS log. The transport file remains unchanged. Code ...
What implementation of grep are you using? GNU grep and POSIX RE's don't appear to support that syntax of referring to characters by their hex value.
Because the CMS host stores character data in EBCDIC format, you cannot read the transport file as ASCII data. In order to view an EBCDIC file in ASCII or hexadecimal format, you must interpret it.
Computer memory saves all data in digital form. There is no way to store characters directly. Each character has its digital code equivalent: ASCII code (for American Standard Code for Information ...