Author: vasanthz
Subject: FTP from Mainframe to Unix - with CRLF
Posted: Thu Mar 23, 2017 5:12 am (GMT 5.5)
Hi,
We are sending a PS FB LRECL=80 file from Mainframe to a Unix FTP server. Mainframe is the client.
Currently the file has only LF X'OA' and is missing CR X'13' . We would want to have CR+LF on the file.
FTP parms:
When I tried LOCSITE SBSENDEOL=CR The destination file had neither CR or LF.
I tried QUOTE SITE HELP
Does this mean that only these commands are supported on QUOTE SITE command?
Thanks in advance,
Vasanth.S
_________________
Unbelievable fact No.43: Emma Stone is not made of stone
Subject: FTP from Mainframe to Unix - with CRLF
Posted: Thu Mar 23, 2017 5:12 am (GMT 5.5)
Hi,
We are sending a PS FB LRECL=80 file from Mainframe to a Unix FTP server. Mainframe is the client.
Currently the file has only LF X'OA' and is missing CR X'13' . We would want to have CR+LF on the file.
FTP parms:
Code: |
FTP.SERVER USERID PASSWORD ASCII LOCsite lrecl=80 blksize=27920 LOCSITE SBSENDEOL=CRLF put 'WELLS.PS.FILE' "wells.txt" quit |
When I tried LOCSITE SBSENDEOL=CR The destination file had neither CR or LF.
I tried QUOTE SITE HELP
Code: |
ftp> QUOTE SITE HELP 214- The following SITE commands are recognized (* =>'s unimplemented). UMASK CHMOD BANDWIDTH PASV IDLE HELP KEEPALIVE |
Does this mean that only these commands are supported on QUOTE SITE command?
Thanks in advance,
Vasanth.S
_________________
Unbelievable fact No.43: Emma Stone is not made of stone