====== Detach_Volume subroutine ====== ==== 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|Declare]], [[detach_table|Detach_Table]] , [[alias_table|Alias_Table]] , [[get_status|Get_Status()]], [[attach_table|Attach_Table]] ==== Example ==== /* Detach the DATAVOL volume. */ Call Detach_Volume("DATAVOL", status) If status <> 1 Then GoSub Error_Processing ** **