API Guide
2-34 API Functions 601355 Rev A
350 printf(“** Archive Media Class
handle **\n”);
351 printf(“Enter Archive Name ==> “);
352 gets(Archive);
353 printf(“Enter Media Class Name ==>
“);
354 gets(MediaClass);
355 printf(“Enter Media Type Name ==>
“);
356 gets(MediaType);
357 printf(“Enter Capacity ==> “);
358 Capacity = atoi(gets(input));
359 printf(“Enter MediaClass Percent
==> “);
360 MediaClassPercent =
atoi(gets(input));
361 printf(“Enter Archive Action Mode
==> “);
362 ActionMode = atoi(gets(input));
363 printf(“Enter High Mark Mode ==>
“);
364 HighMark = atoi(gets(input));
365 printf(“Enter Fill Level Mode ==>
“);
366 FillLevel = atoi(gets(input));
367 printf(“Enter Migration Priority
==> “);
368 MigrationPriority =
atoi(gets(input));
369 printf(“Enter Target Archive ==>
“);
370 gets(TargetArchive);
371 rc =
VS_ArchiveMediaClass_SetFields(h,
372 VSID_ARCHIVE_NAME,
Archive,
373 VSID_MEDIA_CLASS_NAME,
MediaClass,
374 VSID_MEDIA_TYPE_NAME,
MediaType,
375 VSID_CAPACITY,
Capacity,