Hi John,

To mount tapes with Co:Z SFTP, you have to enable the "mount" dynamic
allocation option:

ls /+mount

(And you also need mount authority)

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

On Tue, May 2, 2017 at 1:56 PM, John McKown <john.archie.mck...@gmail.com>
wrote:

> On Tue, May 2, 2017 at 1:07 PM, Ron Thomas <ron5...@gmail.com> wrote:
>
> > Hi . One of my colleagues told me from Linux script ,we can do SFTP using
> > the below file allocation . Just wanted to know whether this possible ?
> As
> > per my understanding this has no significance ? Also, whether from
> virtual
> > machine we can put to a tape GDG file ?
> >
> > ls /+mode=text,lrecl=3000,recfm=vb,space=cyl.100.100
> >
>
> ​The above makes me think that you have installed Dovetailed Technologies's
> SSH/SFTP enhancements.​
>
>
>
> > put /pas/input/rtb/one.txt //'PCICST.FXIN.MAXRTCRO.OT(+1)'
> >
>
> ​I was able to send to a +1 generation on disk, but not tape.​ When I tried
> tape, I got:
>
> ZosSettings[I]: Transfer options:
> clientcp=ISO8859-1,lrecl=1500,mode=text,recfm=fb,servercp=
> IBM-1047,space=trk.5.5,trim,unit=vts2
> ZosDataset[I]: Opening dataset TSH009.LISTCAT(+1) for write with options:
> lrecl(1500) recfm(f,b) tracks space(5,5) unit(vts2) new catalog
> IKJ56221I DATA SET TSH009.LISTCAT NOT ALLOCATED, VOLUME NOT AVAILABLE+
> IKJ56221I VOLUME  NECESSARY TO SATISFY YOUR REQUEST NOT ON SYSTEM, AND
> CANNOT BE MOUNTED
> DatasetHandler[E]: BPXWDYN allocation failed S99ERROR=0x0218 S99INFO=0x0000
> DatasetHandler[E]: BPXWDYN command was: "alloc fi(SYS00005) reuse msg(2)
> da('TSH009.LISTCAT(+1)') lrecl(1500) recfm(f,b) tracks space(5,5)
> unit(vts2) new catalog"
> DatasetHandler[E]: Dataset TSH009.LISTCAT(+1) open error: EDC5000I No error
> occurred. (errno2=0xC4070044)
> DatasetHandler[E]:   __amrc last_op=604, error=0x5620062, msg=
>
> ​I think that this is because BPXWDYN, which is apparently what is used to
> do the dynamic allocation rather than SVC 99 directly, requires that the
> caller use the MOUNT option​. There may be some sftp server option that I
> have missed, however.
>
>
>
> >
> > Thanks
> > Ron T
> >
>
>
> --
> Advertising is a valuable economic factor because it is the cheapest way of
> selling goods, particularly if the goods are worthless. -- Sinclair Lewis
>
>
> Maranatha! <><
> John McKown
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to