dsput and gdg

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
RajeshS
Posts: 3
Joined: Fri Apr 26, 2019 3:37 pm

dsput and gdg

Post by RajeshS »

I am trying to transfer a current gdg(0) from loacl system to remore gdg ds(+1).
Can you provide me a sample jcl.
I am at 5.6 version
RajeshS
Posts: 3
Joined: Fri Apr 26, 2019 3:37 pm

Re: dsput and gdg

Post by RajeshS »

getting

[78.690] could not obtain allocation settings for data set //BSMF01.INTERIM.SMFT1.TEMP(0)

with

cozsftp> dsput //BSMF01.INTERIM.SMFT1.TEMP(0) //XBBL6FP.SMF.TEST(+1)


and

remote open("//XBBL6FP.SMF.TEST(+1)"): Operation unsupported for

cozsftp> dsput //BSMF01.INTERIM.SMFT1.TEMP.G0927V00 //XBBL6FP.SMF.TEST(+1)
Uploading //BSMF01.INTERIM.SMFT1.TEMP.G0927V00 to //XBBL6FP.SMF.TEST(+1)
ZosSettings: Transfer options: *linerule=l4,*mode=binary[binary]
ZosDataset: Opening dataset BSMF01.INTERIM.SMFT1.TEMP.G0927V00 for read with options: shr
[17.794] remote open("//XBBL6FP.SMF.TEST(+1)"): Operation unsupported
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Re: dsput and gdg

Post by dovetail »

Currently, only regular sequential data sets are supported with dsget and dsput.
You can't use GDG relative references.
rjchavez
Posts: 8
Joined: Tue Aug 06, 2019 7:07 am

Re: dsput and gdg

Post by rjchavez »

Is this still the case with version 6.2.1? I'm getting the same error.
coz
Posts: 392
Joined: Fri Jul 30, 2004 5:29 pm

Re: dsput and gdg

Post by coz »

Yes, dsget and dsput support relative GDGs for sequential datasets as of release 6.0.0. Please note that both sides must be at 6.0.0 or later.
Post Reply