Description
Temporarily excludes a volume from access by OpenInsight. To make this permanent, run Define_Database, or use Database Manager.
Syntax
Detach_Volume ( locationlist , status)
Parameters
The Detach_Volume subroutine has the following parameters.
Parameter | Description |
---|---|
Locationlist | Specifies the location of the existing volume. Can be specified in any of the following ways: [ location ] volume_pointer_name Typically, this value will be the path to a directory containing Native Tables. |
status | Status code, indicating success or failure. If 1, successful; otherwise, failure. |
See also
Declare, Detach_Table , Alias_Table, Get_Status(), Attach_Table
Example
/* Detach the DATAVOL volume. */ Call Detach_Volume("DATAVOL", status) If status <> 1 Then GoSub Error_Processing