HP Integrity NonStop J-Series User Manual
Page 83

Using the ELMM Utility Interface Program
(INTFACE)
Entry Level Media Manager Installation and User’s Guide— 694639-001
6 -3
EXPORT Function
You can use this TACL routine.
?TACL routine
==
== This TACL routine is an example that can be used to EXPORT tapes from a tape
== library to the CAP using the ELMM UTILITY with the EXPORT function. Variables
in
== BOLD have to be changed for your environment.
==
== Usage for the ELMM UTILITY EXPORT function:
== The given parameters are needed.
== Run
==
===============================================================
#frame
==
== Create the variables
#push tape^number == variable contains a tape number
#push ^status == variable for checking status of EXPORT
#push elmm^loc == ELMM location $vol.subvol on NonStop
==
== Set the location of the ELMM ISV
#set elmm^loc $
==
== You can put this part in a loop and then loop through using different
== tape numbers and inserting a new tape number in the command
== each time it runs
==
Run [elmm^loc].INTFACE/outv ^status/ EXPORT [tape^number] [elmm^loc]
==
== Checks status of EXPORT command
[#if [#charfind ^status 1 Error] |then|