ADIC Server Server User Manual


 
aci_scratch_get 4-109
21 Dec 2001
Figure 4-99 Example of the aci_robstat Function
aci_scratch_get
The aci_scratch_get function gets a scratch volume. See
Figure 4-100.
Figure 4-100 aci_scratch_get Function Call
Get a scratch volume from subpool and return the volume
name in volser. The displayed volume is after the command in
the database automatically set to unscratch. Refer to
Table 4-44 on page 4-110.
For additional information, refer to aci_scratch_set on page
4-114, and aci_scratch_unset on page 4-116.
/* Check robot status */
int rc;
char szRobot[ 3 ] = "R1";
char szAction[ 5 ] = "STAT";
if( ( rc = aci_robstat(szRobot, szAction)))
{
aci_perror("Version request failed: ");
}
else
{
printf("Robstat 1 : %s\n", szSourceCoord );
printf (“robstat sucessful\n)
}
#include "aci.h"
int aci_scratch_get( char *subpool,
enum aci_media type
char *volser,)