I am attempting to transfer a binary file for my pc to a uss file and then convert it to ascii. There is a little issue, in that the CRLF sequences x'0d0a' are getting converted to '0d15'. When I ftp with ascii they get translated to '0D0A'.
I do the translation in USS via the iconv utility, this causes the 0D15 sequence. iconv -f ISO8859-1 -t IBM-1047 asm.sh > ../asm.sh I have also tried IBM-037. The short version as to why, is that I am creating an archive file on the PC (actually a WAR file via ANT) and then doing the binary transfer, so that the un-waring (JAR -XF file.ext) creates the identical build directory structure under uss as I had on the PC. I then need to go thru and convert specific files that are ascii, to ebcdic. Depending upon the USS utility that is being used, it may or may not recognize the '0D15' as being the same as '0D0A'. I could write a custom utility to convert the '0D15' to 0D0A, but was kinda hoping there was a standard utility to do this. Thank you Brad Taylor ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

