by Robert Sample » Thu Mar 21, 2019 12:28 am
You are not at all clear about what you want. Questions you haven't answered:
Is the EBCDIC text file on a z/OS or z/VM system?
Is the ASCII text file going to be on a z/OS or z/VM system?
If the EBCDIC text file in Unix System Services or a native z/OS data set?
Is the ASCII text file, assuming it will be on a z/OS or z/VM system, going to be in Unix System Services or a native z/OS data set?
If either is NOT on the z/OS or z/VM system, but the other will be on the z/OS or z/VM system, how will you be getting the data from system to system?
In general, on a z/OS system you will use the Unix System Services command iconv to convert from EBCDIC to ASCII or vice versa (which way the conversion goes depends upon the specific options used with the iconv command). If this is what you want to do, look up iconv in the Unix System Services Commands manual available through the IBM web site.