Author: Robert Sample
Posted: Thu Jul 21, 2016 6:19 pm (GMT 5.5)
I did NOT say that QUOTE LOCSITE SBSENDEOL=LF would fix your problem; I asked if you had tried it since it can fix some line terminator issues. Since you won't post any data for us to look at, and you keep saying things "don't work" -- which is a TOTALLY USELESS phrase since it doesn't provide any information about the problem -- I see no reason to continue attempting to help. You would benefit from finding the IP User's Guide manual in the Communications Server bookshelf for your release of z/OS and reading up on FTP along with its sub-commands and options.
I don't provide extraneous information in my code, generally. If I write QUOTE LOCSITE ... then I mean QUOTE LOCSITE ... and leaving off the QUOTE, as you did, does not really make sense.
Contact your site support group. Or, FTP directly from the Unix machine to the z/OS machine so the line terminator issue becomes moot. Or, realize that FTP won't do what you want from the Windows machine and use a different method (depending upon your site, you could have a number of options -- but only your site support group can tell you for sure) to transfer the data.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Posted: Thu Jul 21, 2016 6:19 pm (GMT 5.5)
I did NOT say that QUOTE LOCSITE SBSENDEOL=LF would fix your problem; I asked if you had tried it since it can fix some line terminator issues. Since you won't post any data for us to look at, and you keep saying things "don't work" -- which is a TOTALLY USELESS phrase since it doesn't provide any information about the problem -- I see no reason to continue attempting to help. You would benefit from finding the IP User's Guide manual in the Communications Server bookshelf for your release of z/OS and reading up on FTP along with its sub-commands and options.
I don't provide extraneous information in my code, generally. If I write QUOTE LOCSITE ... then I mean QUOTE LOCSITE ... and leaving off the QUOTE, as you did, does not really make sense.
Contact your site support group. Or, FTP directly from the Unix machine to the z/OS machine so the line terminator issue becomes moot. Or, realize that FTP won't do what you want from the Windows machine and use a different method (depending upon your site, you could have a number of options -- but only your site support group can tell you for sure) to transfer the data.
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth