Hello Tom, Based on your above mentioned answer, I have try a little script to help me to understand. So, value is what I would like to obtain at the end. So, ebcidic_val=put(value,s370ff9.6), will convert my value to ùùKñòóôõö . This converted value is what I probably have into myfile @235. Then, the input statement (newvar1 = input(ebcidic_val,$EBCDIC9. ); convert this strange value into a character. Then we can use another input statement or a format statement to convert it a decimal value, like input(string, 9.6) or format newvar2 9.6 Thank for your help. data test3; format newvar2 9.6 ; value=99.123456; ebcidic_val=put(value,s370ff9.6); newvar1 = input(ebcidic_val,$EBCDIC9. ); newvar2=newvar1; run;
... View more