beautypg.com

HP NonStop G-Series User Manual

Page 121

background image

Using the MSMM Utility Interface Program
(INTFACE)

Mid-Range Silo Media Manager Installation and User’s Guide 541530-001

7 -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 MSMM UTILITY with the EXPORT function. Variables
in

== BOLD have to be changed for your environment.

==

== Usage for the MSMM UTILITY EXPORT function:

== The given parameters are needed.

== Run .INTFACE EXPORT

==

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

#frame

==

== Create the variables

#push tape^number == variable contains a tape number

#push ^status == variable for checking status of EXPORT

#push msmm^loc == MSMM location $vol.subvol on NonStop

==

== Set the location of the MSMM ISV

#set msmm^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 [msmm^loc].INTFACE/outv ^status/ EXPORT [tape^number] [msmm^loc]

==

== Checks status of EXPORT command

[#if [#charfind ^status 1 Error] |then|