HP Integrity NonStop J-Series User Manual
Page 85

Using the ELMM Utility Interface Program
(INTFACE)
Entry Level Media Manager Installation and User’s Guide— 694639-001
6 -5
REPORT Function
3. The operator imports them into the ACL with the GUI.
4. Now the ELMM utility REPORT function can be invoked in a TACL routine to create
an ACL 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 an ACL. 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 ACL 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 ELMM utility to report on tape cartridges filed in the ACL slots
== Parameters shown are needed.
== Run
==
===============================================================
#frame
==
== Create the variables needed by the routine