Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 12 DEC 2021 06:16:39PM cmeyer wrote:

What is the best way to edit a revmedia map in OI10 or change the volume name.

After installing a new copy of OI10.1, one of the attached folders now has a slash at the end of the volume name "PBC_MAIN\" where as OI9.4.6 has "PBC_MAIN". Now when I try to programatically detach "PBC_MAIN" before replacing with another copy there is an error. Tried using OICONSOLE but cannot find any routines to edit the revmedia map or change the volume name in OI10 to remove the slash..

Any advice would be grateful.

Chris


At 13 DEC 2021 06:21AM Carl Pates wrote:

Hi Chris,

You can attach the media yourself and make the change, but there are other considerations such as entries stored in index tables, the DBT file etc, so it's best to use something like the Rename_Volume stored procedure which you can run from TCL.

If you do want to edit the REVMEDIA directly you can use Attach_Table like this:

   call attach_table( volumeName, "REVMEDIA", "", "" )

And then just edit the records in the REVMEDIA table.

Of course, I suggest you back up before any changes are made regardless of the method used.

Regards

Carl

Carl Pates

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/db6a10832bbf7d40bd6bcf8b8b2a4e69.txt
  • Last modified: 2024/01/04 20:57
  • by 127.0.0.1