beautypg.com

Import function, Export function – HP NonStop G-Series User Manual

Page 122

background image

Using the SMM Utility Interface Program (INTFACE)

Silo Media Manager Installation and User’s Guide 541559-001

7 -2

IMPORT Function

IMPORT Function

The IMPORT function of the utility program will allow the importing of all tape
cartridges in the CAP of the tape library connected to the NonStop system. It reports
an error if the import does not occur.

Syntax:

Run .INTFACE/NAME/ IMPORT ISV location>

Examples:

Run $SYSTEM.SMM.INTFACE/NAME/ IMPORT 000001 $SYSTEM.SMM

IMPORT is the function.

000001 is the tape number.

$SYSTEM.SMM is the NonStop server location of the SMM
software. It can be any valid $volume.subvolume.

Run $SYSTEM.SMM.INTFACE/NAME/ IMPORT ALL

IMPORT ALL is the function.

(SMM ISV location was not specified as an argument, therefore
it will use default location. Default location must be the
location of the SMM server files. This rule is for all
commands).

EXPORT Function

The EXPORT function of the utility program allows the export of one tape cartridge to
the CAP of the tape library connected to the NonStop system. It reports an error if the
export does not occur.

Syntax:

Run <SMM ISV>.INTFACE/NAME/ EXPORT location>

Example:

Run $SYSTEM.SMM.INTFACE/NAME/ EXPORT 000001 $SYSTEM.SMM

EXPORT is the function.

000001 is the tape number.

$SYSTEM.SMM is on the NonStop server location of the SMM
software. It can be any valid $volume.subvolume.

This function can be embedded in a TACL routine. The routine could pull tape numbers
from a spooler report or the DSM/TC database and then loop through executing the
utility function for every tape cartridge. This would fully automate your backups. When
the backup was complete, the remainder of the backup TACL routine could then export
the tape cartridges used to the tape library.