To add to that, that is basically what the guest support for z/VSE did. 
VGLIBSRV if I remember correctly. It wasn't there when I looked at it, so I had 
a little cooperation with I think Antoinette Kashner (I may have spelled her 
name wrong, or remembered incorrectly, anyway someone from Boeblingen) and 
wrote the CMS based additions for VSE class support myself. I don't remember 
who did DFSMS then in Endicott, but he accepted my changes into the IBM 
product. They were still there years later when my company dropped z/VSE.

best regards,

Pieter Harder
________________________________________
Van: Harder, Pieter
Verzonden: dinsdag 22 januari 2019 23:40
Aan: Linux on 390 Port
Onderwerp: Re: Examples of tape access

Long ago, in a different galaxy I had Ficon tapes library-mounted for Linux 
guest through a companion CMS server (hello WAKEP!!) that did the DFSMS stuff. 
Crude, but it worked.

best regards

Pieter Harder
(still daily comparing VMWare ESX with z/VM and finding it lacking...)
________________________________________
Van: Linux on 390 Port <LINUX-390@VM.MARIST.EDU> namens Alan Altmark 
<alan_altm...@us.ibm.com>
Verzonden: dinsdag 22 januari 2019 23:23
Aan: LINUX-390@VM.MARIST.EDU
Onderwerp: Re: Examples of tape access

On Tuesday, 01/22/2019 at 04:42 GMT, "Duerbusch, Tom"
<duerbus...@stlouis-mo.gov> wrote:
> Are you talking something like this?
>
> /bin/sh /sbin/chccwdev -e 0.0.05b0
> regina /home/sleep30.rexx
> /bin/sh /sbin/lstape
> mtst -f /dev/ntibm0 rewind
> regina /home/sleep30.rexx
> /bin/sh /sbin/lstape
> mtst -f /dev/ntibm0 fsf 1
> regina /home/sleep30.rexx
> /bin/sh /sbin/lstape
> mtst -f /dev/ntibm0 compression 1
> regina /home/sleep30.rexx
> /bin/sh /sbin/lstape

Necessary, but not sufficient.  (Why mtst instead of mt?) It's strange
that the DD book doesn't mention which of the tape operations are
supported for FICON.  In any case, you must be able to issue commands to
the library.  I don't see any support for that at all.

Linux is all about SCSI tape, not FICON, but if you're willing to do
manual mounts and category changes via the storage unit UI, you should be
good to go.

>From CMS, as a DFSMSrms admin (untested):
1. DFSMSRM MOUNT SCRATCH SCRATCHx RDEV rdev VDEV 181 WAIT
2. TAPE FSF
3. Write left("VTS BULK VOLUME DATA REQUEST", 80) to 181
4. Write left("<specific-data-request>", 80) to 181
5. DFSMSRM DEMOUNT RDEV rdev WAIT TARGETCAT VOLSPECIFIC
6. DFSMSRM MOUNT VOLUME volid RDEV rdev WAIT
7. TAPE FSF
8. Start reading the data

In step 1, you can mount a specific volume if you want.  So if you have a
IBM or CA tape manager software, you just ask it to mount a scratch tape
from one of its managed scratch pools.

Alan Altmark

Senior Managing z/VM and Linux Consultant
IBM Systems Lab Services
IBM Z Delivery Practice
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to