Owner's manual

Using the SMM Utility Interface Program (INTFACE)
Silo Media Manager Installation and User’s Guide541559-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 SMM UTILITY with the EXPORT function. Variables in
== BOLD have to be changed for your environment.
==
== Usage for the SMM UTILITY EXPORT function:
== The given parameters are needed.
== Run <SMM ISV>.INTFACE EXPORT <tape number> <SMM ISV location>
==
===============================================================
#frame
==
== Create the variables
#push tape^number == variable contains a tape number
#push ^status == variable for checking status of EXPORT
#push smm^loc == SMM location $vol.subvol on NonStop
==
== Set the location of the SMM ISV
#set smm^loc $<vol>.<subvolume>
==
== 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 [smm^loc].INTFACE/outv ^status/ EXPORT [tape^number] [smm^loc]
==
== Checks status of EXPORT command
[#if [#charfind ^status 1 Error] |then|