[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== How To: Check to see if a Volume is attached. (AREV Specific) ====
=== At 22 JAN 2001 02:43:03PM GMotter wrote: ===
{{tag>"AREV Specific"}}
I am attempting to progromatically determine whether a Volume is attached or not. Is there a Virtual table that you can look at to see if a volume is currently attached. I know you can 'listvolumes' from TCL to see the currently attached volumes but am not sure how to access that data from within a program.
An alternative would be to be able to suppress an error message when detaching a volume, but the (s) does not seem to work with the detach TCL command.
Thanks much,
Greg Motter
----
=== At 22 JAN 2001 02:51PM WinWin/Revelation Technical Support wrote: ===
Greg-
In your program, look at a variable named @VOLUMES. This is a field mark delimited list of volumen names that are currently attached. Edit the Volumes or Sysvolumes tables (depending upon your version of Arev) to see other information regarding the volume.
Hope it helps-
Mike Ruane
----
=== At 22 JAN 2001 03:12PM Greg Motter wrote: ===
Thanks very much. Exactly what I needed.
Greg Motter
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=4A3DD67C058A79AB852569DC006C501D|View this thread on the forum...]]