Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 3: Introduction to Library Functions
Release 6.1.1
E70305-03

NAME

sam_mig_stage_end - Completes staging function for foreign data migration program

SYNOPSIS

cc [ flag … ] file … -L∕opt∕SUNWsamfs∕lib -lsamut [ library … ]

#include "∕opt∕SUNWsamfs∕include∕mig.h"

int sam_mig_stage_end(tp_stage_t * stage_req , int error );

AVAILABILITY

SUNWsamfs

DESCRIPTION

sam_mig_stage_end() is called when the foreign data migration program has finished the stage or detected an error after sam_mig_stage_file has been called without error. stage_req is the number of this stage request. error is the number of the error to pass back to the file system. A 0 indicates no error.

RETURN VALUES

Upon succesful completion a value of 0 is returned.

FILES

∕opt∕SUNWsamfs∕migkit∕mig_cd.c

The example Migration Toolkit program.

∕etc∕opt∕SUNWsamfs∕mcf

The configuration file for StorageTek QFS and Oracle HSM file systems.

SEE ALSO

sam_mig_stage_file (3).