Question : Transfer file from unix to VM mainframe

I am having some peculiar problem transferring ASCII file from unix to mainframe(VM/CMS). Certain characters in the file get converted to some funky values.
 
I am copying some sample records below.

On Unix
[\PM1 60\PM1\PM1\
]\PM1 62\PM1\PM1\
^\PM1 63\PM1\PM1\

On VM
Ý\PM1 60\PM1\PM1\
¨\PM1 62\PM1\PM1\
¬\PM1 63\PM1\PM1\

Can anyone please let me know how to resolve this.

Thanks
Ron

Answer : Transfer file from unix to VM mainframe

To expand on where Gheist is going with this... Unix uses ASCII whereas the mainframe uses EBCDIC.

If you transfer in "ASCII" mode it will do the conversion for you, but some special characters you're using will also get "converted".

If you transfer in "binary" mode it won't do the conversion, but you get to do the conversion yourself.
Random Solutions  
 
programming4us programming4us