Use this syntax to define a library that represents a TAPE
or FILE storage resource that is maintained by Tivoli® Storage
Manager for z/OS® Media.
Define a library of type ZOSMEDIA when you want the library
to be exclusively managed by Tivoli Storage
Manager for z/OS Media.
The library appears to the Tivoli Storage
Manager server as
a logical storage device that does not require DRIVE definitions.
A PATH definition is required for the Tivoli Storage
Manager server and
any storage agents that need access to the ZOSMEDIA library resource.
Privilege class
To issue this command, you
must have system privilege or unrestricted storage privilege.
Syntax
>>-DEFine LIBRary--library_name--LIBType--=--ZOSMEDIA----------><
Parameters
- library_name (Required)
- Specifies the name of the library to be defined.
- LIBType=ZOSMEDIA (Required)
- Specifies that the library type is the ZOSMEDIA which represents
a TAPE or FILE storage resource that is maintained by Tivoli Storage
Manager for z/OS Media.
Example: Configure a ZOSMEDIA library
The following
example shows the steps needed to define and configure a zosmedia
library. The configuration includes these components:
- A Tivoli Storage
Manager server
named sahara
- A library defined as type zosmedia named zebra
- A z/OS media
server named
oasis
- A storage agent named mirage
Define a library named ZEBRA with a library type of ZOSMEDIA:
define library zebra libtype=zosmedia
Define
the
z/OS media
server:
define server oasis serverpassword=sanddune
hladdress=9.289.19.67 lladdress=1777
The server requires
a path to the library resource managed by
Tivoli Storage
Manager for z/OS Media:
define path sahara zebra srctype=server
desttype=library zosmediaserver=oasis
The storage agent
requires a path to the library resource managed by
Tivoli Storage
Manager for z/OS Media:
define path mirage zebra srctype=server
desttype=library zosmediaserver=oasis