API Guide
2-604 API Functions 601355 Rev A
100 /* Note that the command handle is
not */
101 /* destroyed in this routine, but in
*/
102 /* vst_dispatch when final status is
received. */
103 cmd = VS_Command_Create();
104 if (cmd != (VST_COMMAND_HANDLE )NULL)
105 {
106 /* Send the command to the VolServ
software. */
107 /* Note that status is not
processed here. */
108 /* Instead, it is processed in the
*/
109 /* vst_dispatch routine. Also,
note that */
110 /* default values such as timeout,
value */
111 /* retry limit and priority are
set as */
112 /* default parameters. */
113 rc =
VSCMD_CreateArchiveMediaClass(cmd
,
114 VSID_ARCHIVE_NAME,
archive,
115 VSID_MEDIA_CLASS_NAME,
mediaclass,
116 VSID_HIGH_MARK,
highmark,
117 VSID_LOW_MARK,
lowmark,
118 VSID_CAPACITY,
capacity,
119 VSID_ENDFIELD);
120 }
121
122 return ( rc );
123}