Getting data out of @VOLUMES? (AREV Specific)
At 17 APR 2003 12:32:04PM Michael Slack wrote:
I'm are working in AREV 3.12. I have the need to use the information in the system variable @VOLUMES. I write a little program to print the information in @VOLUMES to the screen, I wanted to make sure I knew how to get the data out of it before actually trying to us it. The problem I've run into is the data I'm pulling out doesn't exactly match the data I see in @VOLUMES when I view it thru the debugger. Plus for the 5 parts of @VOLUMES, I get the same exact information on my output.
I realize that I can't modify the @VOLUMES and I don't want to. I'm surprised that I can't make a duplicate of it in a variable of my making so I can find in the copy the data I want. I'm also surprised that the data from my copy is different that what is in @VOLUMES.
I've included the little program that I've been using to learn about the @VOLUMES and the data in it. Can anyone tell me what I'm doing wrong and point me in the right direction? I get the same sort of results when I do the same thing with @FILES.
Thank you for your time.
Michael Slack
EXPENDABLE SUBROUTINE SEE_VOLUMES
DIM VOLUMES_INFO(5)
MAT VOLUMES_INFO=@VOLUMES
PRINT @(-1)
PRINT "VOLUMES VALUES."
FOR I=1 TO 5
HOLD_VOLUMES_INFO=VOLUMES_INFO(I)CNT_VOL=COUNT(HOLD_VOLUMES_INFO, @FM) + (HOLD_VOLUMES_INFO # "")FOR J=1 TO CNT_VOLPRINT HOLD_VOLUMES_INFONEXT JNEXT I
PRINT "PROGRAM DONE."
END
At 17 APR 2003 01:10PM prabir maulik wrote:
Do a search on @volumes. You will find your answer.
At 17 APR 2003 04:00PM Michael Slack wrote:
Before I wrote my question, I did search this on-line discussion area for @volumes. I didn't find anything useful. I could have missed something, so if you could be a bit more precise as to what to look for (like a date or a subject title or an authors name or a key word or two) that would be a big help.
Thanks,
Michael Slack
At 17 APR 2003 04:20PM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
You seem to have missed http://www.revelation.com/__8525652b0066bfaf.nsf/0/D8D9555C58FC3CD4852568490081A4CF?OpenDocument
Regards
World Leaders in all things RevSoft
At 21 APR 2003 09:39AM Michael Slack wrote:
Thank you for pointing me in the right direction. I'm already well on my way to using the information from both of the SYSTABLES and SYSVOLUMES tables to get what I need.
I'm just surprised and disappointed that I can't pull out the information I want from the @VOLUMES and @FILES system variables. I completely understand the need to prevent a non-system process from modifying them but it would have made things mush simpler for me if I could have used that information in a read-only mode. Oh well, that's the way the ball bounces some times.
Again, thank you for your help.
Michael Slack