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