[[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]] ==== Redirect LISTVOLUME to a text file (OpenInsight 32-bit) ==== === At 22 FEB 2012 03:18:01PM cborne wrote: === {{tag>"OpenInsight 32-bit"}} Hello All!! Objective: From AREV32: Generate a text file with all file names currently in an AREV 1.16 volume. (volume has a different application of 'SYSPROG', and has dots in the file names). I create a temporary volume 'TEMPVOL' in VOC, pointing to the folder location of the above volume. -- and ATTACH it. at TCL, [b]LISTTABLES[/b] will not include the files, but [b]LISTVOLUME TEMPVOL[/b] will display the list of files on screen, -- no problem. I attempt to redirect LISTVOLUME to a file, as: [b]PDISK C:\TEMP\PDISK\LISTVOL.TXT[/b] then: [b]LISTVOLUME TEMPVOL (P)[/b] the text file is created (null/empty), and I get: [FS109] Open or Create Media error. The name "TEMPVOL" is an invalid volume directory label. Question is: How do I redirect LISTVOLUME to a text file? or another method for achieving my objective? Thanks in advance. - I appreciate it. ~ Clay ---- === At 23 FEB 2012 05:21AM Andrew McAuley wrote: === Easier to open the REVMEDIA map and read the rows and oswrite the result surely? Unless the attempt to open the REVMEDIA fails in which case what is the error? [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] [url=http://www.sprezzatura.com/blog]The Sprezzatura Blog[/url] [i]World leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === At 29 FEB 2012 07:51AM Aaron Kaplan wrote: === Just so I understand...you're saying that LISTVOLUME TEMPVOL works as expected. LISTVOLUME TEMPVOL (P) gives the FS109 error. Though, Andrew is correct. If you just want the volume out in a text file, and the system is giving problems, just parse the REVMEDIA file. SETFILE TEMPVOL SYSPROG REVMEDIA REVMEDIA_TEMPVOL Each record is in the form TABLE_NAME*ACCOUNT_NAME [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] [url=http://www.sprezzatura.com/blog]The Sprezzatura Blog[/url] [i]World leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=F201D5E600044F6AC857EC600|View this thread on the forum...]]