dsput and gdg

A 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 » Thu Sep 19, 2019 8:32 pm

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 » Fri Sep 20, 2019 7:07 am

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: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: dsput and gdg

Post by dovetail » Thu Sep 26, 2019 11:49 am

Currently, only regular sequential data sets are supported with dsget and dsput.
You can't use GDG relative references.

Post Reply