Reputation: 93
Can you please let me know the approach to convert ebcdic file to ascii file using unix or informatica?
I have searched in google but no clue and expert says it can be done through power exchange but not sure about it.
Below is the sample file for your reference and few files may come in fixed width and few may come in delimited format since we have multiple source applications which generates files.
Thanks in advance for your help and form past several days i have searched in google.
Upvotes: 3
Views: 1396
Reputation: 7235
You can use command like:
iconv -f EBCDIC -t ASCII filename >output_filename
or with dd
dd conv=ascii if=filename of=output_filename
Upvotes: 4