Upto now we are transferring file from our mainframes to Windows system(Client system) via Normal FTP. My Client is receving the file with "Carriage Return"(CR) and "Line Feed"(LF) at the end of each file..
Now we are changinf the transfer mechanism to sFTP..Below are the steps I am following 1. Copy the PS file to OMVS system of Mainframe. 2. Run the sFTP commands and send the file to Client system.
Now the problem is..My client is along with the data my client is only receving LF ant end of each line..CR is missing.. I have tried options like "ascii dos unix" in the sftp script and "SBSENDEOL CRLF" in JCL..But no luck
Below is the script i am running
put File1.txt FileNew1.txt
chmod 775 FileNew1.txt
Below is how they expect the file to be
But this is how the file is received when I run the script I have pasted above
Please let me know if there is option to achieve CR and LF.