Multivolume datasets

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
sven
Posts: 6
Joined: Mon Feb 28, 2011 1:44 pm

Multivolume datasets

Post by sven »

Hi,
I'm using CoZ SFTP (1.7.2) and I've tried to transfer (put) large file (1,5 GB) from Windows server to some dataset on z/OS. Transfer fails when I try put in multivolume dataset. It seems like transfer is failing when primary allocation is filled and no extend is made.

When I try to put the same file in single volume dataset everything works fine - when primary allocations is filled additional extends are allocated.

Is it possible to use multivolume datasets?

Regards,
Sven
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Co:Z SFTP uses the IBM C library for dataset I/O.
We have tested multi-volume datasets and it works fine.

Can you provide specifics in terms of how you are allocating the dataset?
Is it a new or existing dataset?
Could your problem be your installation SMS rules?

This works fine on my system:

(from remote system)
sftp user@zos
sftp> ls /+space=trk.1.1,maxvol=2,recfm=fb,lrecl=80
sftp> put localfile //HLQ.NEW.DATASET

For me this uses up to 30 extents as expected.
sven
Posts: 6
Joined: Mon Feb 28, 2011 1:44 pm

Post by sven »

I've solved a problem - it was related to the rules on my installation.

Thank you for your time.

Regards,
Sven
Post Reply