Now we are changing 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.. along with the data my client is only receiving LF at the 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
Code: Select all
ascii
lcd /u/myid
put File1.txt FileNew1.txt
chmod 775 FileNew1.txt
quit
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.[/img]