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

Unable to open VOC (AREV Specific)

At 05 MAR 2002 07:46:34PM David Reddy wrote:

Gentlepersons,

I upgraded from 2.03 to to 3.10 to 3.12. Windows NT 4.0.

When I go into arev normally: arev david /x /m4096 at a DOS prompt, I get the message "Unable to open VOC" and am thrown back into DOS.

If instead at the DOS prompt I enter: arev sysprog /x I get in and then I can go to Application, Run, F2 and choose the application and get in and it works fine.

I've tried copying the DOS files that contain my VOC from another working copy of the database.


At 07 MAR 2002 02:23AM Warren wrote:

From Sysprog menu -] options -] User

Type in "david" (unless the application itself is "david", if so skip to next paragraph). Check to see what application "david" is linked to.

From Sysprog menu -] options -] Application

Type in the application name.

Note the location.

From TCL (press F5) type:

LISTMEDIA what-ever-the-location-was

Look for VOC in this list, note the application name(s). There may be one or more VOC files linked to other applications (this shouldn't be the case but could happen). If there is no VOC file for the application in question in this volume try looking in REVBOOT. If you should locate it in some other volume than the application 'root' as specified above then move it there with the tables copy option from the menus.


At 07 MAR 2002 02:00PM David Reddy wrote:

OK, I was able to listmedia and got a voc file in the cd that contains my application (only after starting the application. LISTMEDIA was an unrecognized command before I started the application.)


At 07 MAR 2002 03:24PM Don Miller - C3 Inc. wrote:

David .. I don't quite understand ..

If you start the system in the SYSPROG account (AREV SYSPROG …) you ought to be able to look at any media:

LISTMEDIA REVBOOT

LISTMEDIA DATAVOL

LISTMEDIA MYAPP .. or whatever it's called

This assumes that the SYSPROG account isn't password protected or if it is, that you know the password.

Since you started your app …

AREV MYAPP … etc.

When you typed LISTMEDIA, by default you are looking at REVBOOT. Your VOC should be there. If you have a VOC in your application, it will over-ride the VOC on REVMEDIA when you attach your Volume ..

Part of the logon procedure should be:

ATTACH DATAVOL

ATTACH MYAPP

.. or something like that.

You can compare the VOC in your app to the one in DATAVOL to note any differences. You also might check the DICT.VOC too.

Don


At 07 MAR 2002 05:25PM David Reddy wrote:

I get the same error "LISTMEDIA" is an unrecognized word." when I go into my working copy of AREV 3.12. as SYSPROG.

I started AREV arev myname /x /m4096 and it gave me the "UNABLE TO OPEN VOC" statement and closed down.

There is no VOC file in DATAVOL.

Edit dict.voc gets statement "No rows in dict.voc" but then opens table window. If you f2 Rows there are words in the table. They appear to be relational terms like if, and, , ge, lt, but also the days of the week, file, etc.


At 07 MAR 2002 05:53PM Victor Engel wrote:

In Arev 3.12 the command is LISTVOLUME.


At 07 MAR 2002 06:02PM David Reddy wrote:

OK I did arev sysprog listvolume and it correctly went to my application and did find one VOC file in my application's directory.


At 07 MAR 2002 08:17PM Warren wrote:

Okay, did you confirm that the proper application is associated to that VOC file?

And that there was no duplicate VOC file associated to this application any where else?

Assuming that both above are true then from SYSPROG check to see if there is a start command for either the application or the user that you are logging in as.

Then edit in the VOC file of the application in question that start command. If there is no start command specified try editing items in the voc such as LOGON, LOGIN, the application name, or the user name you are logging in as.

What we are looking for are attach or attachtable commands that may be trying to attach another copy of the VOC file in some other volume. The start command could be calling a program so you may have to locate that program and edit it.

Also confirm that none of the REV*.LK and REV*.OV files are marked as Read-only.


At 08 MAR 2002 03:35PM David Reddy wrote:

the voc file is in my application and I can't find any others except for the one for sysprog etc.

I created a new user "george" associated with the application tn_council.

arev george /x /m4096 got tcl:

tn_council

attach indexing

attach secure

attach wp5merge

attach datavol

attach thc

the define run utilities dbadmin help exit ribbon came at the top.

I added the line: runmenu "fl.council" to the voc and it opened my menu, but only until I escaped out of a window.

The rev*.lk and rev*.ov files that hold my voc are not protected.


At 08 MAR 2002 06:37PM David Reddy wrote:

Hooray or Huh!?

I changed the default menu for george to fl.hum, my default. arev george /x /m4096 got me fully into my application. but now when I create a new user, I don't even have to do that. AREV was, for some reason, not accepting my application as "APPMAIN." Now, all of the sudden, it is.

Go figure.

Thaks for all the help guys.

David Clueless Reddy

View this thread on the forum...