API Guide
601355 Rev A API Functions 2-103
Functions
45 capacity = atoi(gets(input));
46 printf(“Enter Archive action option
(0-none/1-mig/2-notify) ==>“ );
47 action = atoi(gets(input));
48 printf(“Enter High Mark Percentage
==> “ );
49 highmark = atoi(gets(input));
50 printf(“Enter Low Mark Percentage ==>
“ );
51 lowmark = atoi(gets(input));
52
53 if ( action == VSE_ARCHIVE_ACTION_MIG
)
54 {
55 printf(“Enter Target Archive ==> “
);
56 gets( targetarchive );
57 printf(“Enter Migration Priority
== > “ );
58 migpri = atoi(gets(input));
59 /* These only need to be set when
migration */
60 /* is used. */
61
VSCMD_ModifyArchiveMediaClass_Set
Defaults (
62 VSID_TARGET_ARCHIVE_NAME,
targetarchive,
63 VSID_MIGRATION_PRIORITY,
migpri,
64 VSID_ENDFIELD );
65 }
66
67 printf(“How many prefered placements
(0 to skip): “);
68 count = atoi(gets(input));
69 if (count > 0)
70 {
71 comphandletable =
VS_Table_Create(VSE_COMPONENT_HAN
DLE, count);