beautypg.com

HP NonStop G-Series User Manual

Page 123

background image

Using the SMM Utility Interface Program (INTFACE)

Silo Media Manager Installation and User’s Guide 541559-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 .INTFACE EXPORT

==

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

#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 $.

==

== 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|