API Guide
2-796 API Functions 601355 Rev A
31 /* Note that the command handle is
not */
32 /* destoyed in this routine, but in
*/
33 /* vs_dispatch when final status is
received. */
34 cmd = VS_Command_Create();
35 if (cmd != (VST_COMMAND_HANDLE )NULL)
36 {
37 /* Send the command to the VolServ
software. */
38 /* Note that status is not
processed here. */
39 /* Instead, it is processed in the
*/
40 /* vst_dispatch routine. Also,
note that */
41 /* default values such as timeout,
value */
42 /* limit and priority are
setarchive */
43 /* retry mediaclassas default
parameters. */
44 rc =
VSCMD_DeleteArchiveMediaClass(cmd
,
45 VSID_ARCHIVE_NAME,
archive,
46 VSID_MEDIA_CLASS_NAME,
mediaclass,
47 VSID_ENDFIELD);
48 }
49 return ( rc );
50 }