HP Integrity NonStop H-Series User Manual

Page 129

Advertising
background image

Using the LMM Utility Interface Program (INTFACE)

Library Media Manager Installation and User’s Guide529970-002

7 -5

REPORT Function

3. The operator imports them into the tape library with the GUI.

4. Now the LMM utility REPORT function can be invoked in a TACL routine to create

a tape library inventory file on disk. This can be done immediately or scheduled for
a certain time of day using a batch scheduler such as Netbatch.

5. The TACL routine uses the inventory output file to check each tape cartridge

against the DSM/TC database. If the status of the tape cartridge is RELEASED,
the routine sets the status to SCRATCH in the DSM/TC database.

This is a sample TACL routine to perform the task of scratching tape cartridges:

?TACL routine

==

== This TACL routine will be used to set tape volumes in MEDIACOM from a

== RELEASED state to a SCRATCH state if they are filed in a tape library. It

== does nothing to a tape status that is not RELEASED state or not in catalog.
Variables

== in BOLD have to be changed for your environment.

==

== Usage: Create a list of RELEASED tape cartridges, have your operator enter
(IMPORT)

== as many RELEASED tape cartridges into the tape library as needed, once all the
tape cartridges that

== are to be entered have been filed into the slots by the robot, run this TACL

== routine.

==

== RUN <$vol.svol>.SCRATCH

==

== It uses the LMM utility to report on tape cartridges filed in the tape library slots

== Parameters shown are needed.

== Run <LMM ISV location>.INTFACE REPORT <filename> <LMM ISV location>

==

===============================================================

#frame

==

== Create the variables needed by the routine

Advertising
This manual is related to the following products: