I have a sequential dataset on tape, recfm=vb. Sending the file to another zOS host using V5.1.1 works, but I get an error with V6.0.0:
Using Co:Z SFTP version: 5.1.1 (6.4p1) 2018-06-01:
cozsftp> lzopts mode=text,mount
mode=text mount
cozsftp> put //PVTEST.MDX.PRF.OUT /tmp/mlm.txt
Uploading //PVTEST.MDX.PRF.OUT to /tmp/mlm.txt
ZosSettingsÝI¨: Transfer options: clientcp=IBM-1047,mode=text,mount,servercp=IBM-1047,trim
ZosDatasetÝI¨: Opening dataset PVTEST.MDX.PRF.OUT for read with options: mount shr
ZosDatasetÝI¨: Closing dataset //PVTEST.MDX.PRF.OUT - 2 records read, 58 bytes sent
Using Co:Z SFTP version: 6.0.0 (7.6p1) 2020-02-14:
cozsftp> lzopts mode=text,mount
mode=text mount
cozsftp> put //PVTEST.MDX.PRF.OUT /tmp/test1_20200424154945.txt
ZosDataset[E]: may not open data with unsupported DSORG: "PVTEST.MDX.PRF.OUT"
Uploading //PVTEST.MDX.PRF.OUT to /tmp/test1_20200424154945.txt
[15:49:46.557045] Couldn't open local file "//PVTEST.MDX.PRF.OUT" for reading: EDC5134I Function not implemented. (errno2=0x00000000)
Any suggestions would be welcome. Thanks!
Tape dataset error with cozsftp V6.0.0
Re: Tape dataset error with cozsftp V6.0.0
Thanks for reporting this. Some enhancements in V6.0.0 did break this. We will be fixing it soon.
Note: a workaround (and better way) to use tape data sets on the client side is to use a DD.
put //DD:MYDD /tmp/mlm.txt
then in the DD statement in the JCL you can also specify DCB information, since this isn't available for cataloged tape datasets.
Note: a workaround (and better way) to use tape data sets on the client side is to use a DD.
put //DD:MYDD /tmp/mlm.txt
then in the DD statement in the JCL you can also specify DCB information, since this isn't available for cataloged tape datasets.
Re: Tape dataset error with cozsftp V6.0.0
Thanks, and I appreciate the recommendation to use //DD:MYDD.
Re: Tape dataset error with cozsftp V6.0.0
We corrected this problem in release V6.1.0.
The new release also adds additional support for allocating existing tape data sets.
The new release also adds additional support for allocating existing tape data sets.
Re: Tape dataset error with cozsftp V6.0.0
Thanks! We'll give it a shot when we get the chance. Much appreciated!