API Guide
601355 Rev A API Functions 2-981
Functins
28 printf(“*** Move parameters ***\n” );
29 printf(“\nEnter Archive: “);
30 gets( archive);
31
32 /* If the next prompt is answered
yes, the move */
33 /* will fail unless both archives are
attended. */
34 printf(“\nMove only with Attended
Archives (0) no, (1) yes: “);
35 attended = atoi(gets(input));
36
37 /* The wait parameter will cause the
move to */
38 /* not return final status until the
physical */
39 /* move is complete, or return
immediately. */
40 printf(“\nWait for status until Move
complete (0) no, (1) yes: “ );
41 wait = atoi(gets(input));
42 count = vst_getmedialist(medialist,
VST_MAX_ITEMS);
43
44 /* create the command handle */
45 /* Note that the command handle is
not */
46 /* destoyed in this routine, but in
*/
47 /* vst_dispatch when final status is
received.*/
48 cmd = VS_Command_Create();
49 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
50 {
51 /* Send the command to the VolServ
software. */
52 /* Note that status is not
processed here. */
53 /* Instead, it is processed in the
*/