On Mon, 24 Apr 2017 09:45:02 -0500, Walt Farrell wrote: >On Mon, 24 Apr 2017 08:17:55 -0500, Ron Thomas wrote: >> >>Script >>----------- >>sftp to1c...@cray.cps.se.com >><< EOF >>site blocksize=0 lrecl=3000 recfm=fb prim=25 sec=25 cyl >>put /sap/co2ekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt >>//'CH2ICST.X.Y.R1' >>quit >>EOF >> >>Log Message >>---------------- >>sftp> site blocksize=0 lrecl=3000 recfm=fb prim=25 sec=25 cyl >>Invalid command. >>sftp> put /sas/co2ekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt >>//'CH2ICST.X.Y.R1' >>Uploading /sas/comtekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt to >>//CH2ICST.X.Y.R1 >>/sap/co2ekh/backup/global_chgback_escoa_2017-01-22:22:00:10.txt >> 68% 2208KB 1.8MB/s >> 00:00 ETA >>Couldn't write to remote file "//CH2ICST.X.Y.R1": Failure > >You're not using ftp. You're using sftp, which is entirely different and not >related to ftp at all. > And sftp does not deal with Classic data sets; only with UNIX files, to which BLKSIZE, LRECL, RECFM, PRIM, and SEC are irrelevant.
Unless you install the Dovetailed enhancements. https://dovetail.com/products/sftp.html But your source file is probably a stream-structured file for which a z/OS UNIX file is a better match than a Classic data set. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN