HP Integrity NonStop H-Series User Manual

Page 130

Advertising
background image

Using the LMM Utility Interface Program (INTFACE)

Library Media Manager Installation and User’s Guide529970-002

7 -6

REPORT Function

#push library^out == variable for naming REPORT output diskfile

#push media_status == output variable for mediacom

#push media_in == input variable to mediacom

#push tape_list == variable to contain REPORT diskfile used in FILETOVAR

#push tapevol == tape cartridge number extracted from tape_list variable in loop

#push line == output variable from VFIND to find tape cartridge in DSM/TC

#push lmm^loc == NonStop server location of LMM ISV $<vol>.<subvol>

#push ^status == variable to check status of report function

#push ^pool == DSM/TC pool name. Can be a '*' if you want all pools

==

== Set the LMM $vol.svol

#set lmm^loc <$vol>.<subvol>

==

== Name of the inventory outfile. It will be re-created every time

#set library^out <$vol>.<subvol>.<filename>

==

== Set the POOL for use in MEDIACOM

== In this usage, ALL POOLS will be looked at

#set ^pool *

==

== Utility accepts three parameters (REPORT, LOCATION OF OUTPUT FILE, LMM
ISV)

==

Run [lmm^loc].INTFACE/outv ^status/ REPORT [library^out] [lmm^loc]

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

#output Bad REPORT Status - [^status]

] == endif

mediacom/nowait, outv media_status, inv media_in dynamic/

== Put the inventory file to a variable

filetovar [library^out] tape_list

==

Advertising
This manual is related to the following products: