I am able to work around the append by using disp=mod on the ls command, and change the append to a put. However I am curious if failure with append is due to a mis-configuration or a bug. Please advise.
CoZBatchÝN¨: version: 5.0.0 2018-01-10
CoZBatchÝN¨: Copyright (C) Dovetailed Technologies, LLC. 2005-2018. All rights r
CoZBatchÝI¨: executing progname=login-shell="-/bin/sh"
Co:Z SFTP version: 5.0.0 (6.4p1) 2018-01-10
Copyright (C) Dovetailed Technologies, LLC. 2008-2018. All rights reserved.
Connecting to sp04ftp...
Connected to sp04ftp.
Connection established, local_addr=172.26.250.9 local_port=38979 remote_addr=172
cozsftp> ls /+mode=text,lrecl=80,recfm=fb,space=cyl.1.5
/+mode=text,lrecl=80,recfm=fb,space=cyl.1.5
cozsftp> -rm //CCOODY.TMP.APPEND.REMOTE
Removing //CCOODY.TMP.APPEND.REMOTE
cozsftp> put //CCOODY.SP.PARMLIB(DONKEY) //CCOODY.TMP.APPEND.REMOTE
Uploading //CCOODY.SP.PARMLIB(DONKEY) to //CCOODY.TMP.APPEND.REMOTE
ZosSettingsÝI¨: Transfer options: mode=binary
ZosDatasetÝI¨: Opening dataset CCOODY.SP.PARMLIB(DONKEY) for read with options:
ZosDatasetÝI¨: Closing dataset //CCOODY.SP.PARMLIB.V1(DONKEY) - 27 records read,
cozsftp> append //CCOODY.SP.PARMLIB(DONKEY) //CCOODY.TMP.APPEND.REMOTE
Uploading //CCOODY.SP.PARMLIB(DONKEY) to //CCOODY.TMP.APPEND.REMOTE
ZosSettingsÝI¨: Transfer options: mode=binary
ZosDatasetÝI¨: Opening dataset CCOODY.SP.PARMLIB(DONKEY) for read with options:
Ý29.099¨ Couldn't write to remote file "//CCOODY.TMP.APPEND.REMOTE": Failure
ZosDatasetÝI¨: Closing dataset //CCOODY.SP.PARMLIB.V1(DONKEY) - 27 records read,
CoZBatchÝI¨: returning rc=exitcode=1