On Tue, 28 Apr 2009 14:19:02 -0500, Mark Steely <[email protected]> wrote:
>We are z/OS V1R9. I have a customer you is trying to ftp a file from a >Unix machine down to the mainframe. The FTP is executing on the >mainframe and is receiving the file. The file is delimited by x'05'. The >FTP does not recognize this and the file comes across and is strung >together. Is there a way to specify a delimiter or is there a better why >to handle this type of file. > >Thank You I don't understand "delimited by x'05'". On z/OS EBCDIC, x'05' is a tab character, equivalent in my experience with x'09' ASCII. Each line on the UNIX machine should be terminated with a single LF or 0x0a. If is it, then an ASCII upload to the mainframe should work. It certainly does for me. Your UNIX people might want to do an "od" command to view their file to be sure that each line is delimited by 0x0a (aka \n). -- John ---------------------------------------------------------------------- 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

