Discussion:
Conversion from Old (Omnis 7) to New (Omnis Studio)
Bill Pope
2008-12-18 20:42:29 UTC
Permalink
Today's question/problem/challenge:

I'm trying to convert an Omnis 7 data file, to be used with Omnis
Studio 4.3 (native data file). I can't open the data file at all when
using Omnis Studio 4.3, but I have been able to get to the point where
the data file is opened with older software (Omnis 7.3). I have gone
through the motions of converting the data file in Omnis 7.3, but when
I try to open it with Omnis 3.3.1 or Omnis 4.3.2, I get a message
saying it needs to be converted, and I tell it to convert the data.
Whenever I access the data file after that, Omnis again says the data
file needs to be converted.

I also get messages saying "This data file contains some old type data
which first must be converted using the Omnis 7 v3.x data file tools."

Does anyone know where I can find those tools, or can anyone offer
suggestions about how I can convert the data file?
--
Bill at PowerSoft Innovations

William H. Pope, Chief Information Officer
PowerSoft Innovations Corporation
Developers, Distributors and Supporters of LawStream?
Integrated Law Office Management for Macintosh and Windows
Phone: 250.247.9999 Fax: 250.247.8000
Web site: www.lawstream.com
E-mail: ***@lawstream.com
Jeff Gibson
2008-12-18 22:00:04 UTC
Permalink
Bill,
If you can open an original copy of the data file (sounds like a Omnis 7 v1.4 format) in Omnis 7.3, then you should have the Convert Old Data types from there. It's an option in your d utilities. We have had a boat load of data files we have con Omnis 7 v1.4 to Omnis 7.3 and then to Omnis Studio 4.0.3.
Steps....
Open you app library that is compatible with Omnis 7.3
It will say it needs to convert the file. Go ahead and do that. Then open your utilities menu, there should be an option that lets look at all the file formats and see which ones need reorganization, re -indexing, conversion of old data types. I can't remember what this i actually called because Omnis 7.3 no longer opens correctly under Windows 2000. I have to run these changes on a Windows NT Workstation.
Anyway, I will convert the old data types on all file formats. Afte that, I will usually check the file for errors. If there are errors will repair them there. That keeps me from possibly bringing an e more serious problem over into Studio. If that scan is clean, the re-index all the file formats. If reorganization is needed, I do to. However, I have yet to see a file that needed that, since we made any file format changes in the production code.
Once t to do th Once in Studio, I open the app lib Tell Studio to open the file I about converting. I te Then, just to really be anal about it, I go ahead file under Studio (trying to be safe here). I well, but that is just more of a way to gather som the file.
From that point on, those files are f migrated thousands of these files fo represents a job.
Never had a probl warning.
If I HTH.
Jeff Gibson
Intercept Solutions
Nashville, TN
Dec 18, 2008 02:42:37 PM,
Today's question/problem/challenge:
Studio 4.3 (native data file). I can't open the data file at all whe using Omnis Studio 4.3, but I have been able to get to the poin the data file is opened with older software (Omnis 7.3). through the motions of converting the data file I try to open it with Omnis 3.3.1 or Omni saying it needs to be converted, and I t Whenever I access the data file afte file needs to be converted.
I also get messages saying "This data file contains some old type data which first must be converted using the Omnis 7 v3.x data file to Does anyone know where I can find those tools, or can anyone o suggestions about how I can convert the data file?
-- Bill at PowerSoft Innovations
William H. Pope, Chief Informatio PowerSoft Innovations Corporation
Developers, Distributors Integrated Law Office Management fo Phone: 250.247.9999 F Web site: www.lawstream.com
E-mail: ***@lawstream.c _____________________________________________________________
Kelly Burgess
2008-12-18 22:59:42 UTC
Permalink
Hi Bill,

Use this tech note as a guide..

http://www.omnis.net/technotes/cn01stps.html

Note item 6 where it says "Remove any unwanted slots"

Kelly
Bill Pope
2008-12-18 23:22:49 UTC
Permalink
Jeff and Kelly (and other kind and helpful folks)...

Thanks for your suggestions. Thing still don't work. First, there is
no Omnis application in my "convert" folder. It has files called
compcopy.lbs, omnispic.df1 and updatevcs.lbs, but nothing else. I'm
stuck at the point where I get the "This data file contains some old
type data which first must be converted using the Omnis 7 v3.x data
file tools" message, or other equally unhelpful messages, whenever I
try to open the data file.

Any other guesses?

Bill Pope, Gabriola Island, British Columbia, Canada
Post by Kelly Burgess
Hi Bill,
Use this tech note as a guide..
http://www.omnis.net/technotes/cn01stps.html
Note item 6 where it says "Remove any unwanted slots"
Kelly
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
David Ferri
2008-12-18 23:40:11 UTC
Permalink
Post by Bill Pope
Jeff and Kelly (and other kind and helpful folks)...
Thanks for your suggestions. Thing still don't work. First, there
is no Omnis application in my "convert" folder. It has files called
compcopy.lbs, omnispic.df1 and updatevcs.lbs, but nothing else. I'm
stuck at the point where I get the "This data file contains some old
type data which first must be converted using the Omnis 7 v3.x data
file tools" message, or other equally unhelpful messages, whenever I
try to open the data file.
Any other guesses?
Hi Bill,

You're getting a misleading message from Studio. Look at the data
file in Omnis 7 and compare the library's existing file formats to
the slots in the data file. If you have "orphaned" slots in the data
file, i.e. slots that don't have a matching file format, you will get
the error out of Studio. Here is a procedure that will delete the
orphan slots for you. I wrote this a few years ago and have been
using it regularly since then, so it's well tested, but BACKUP YOUR
DATA FILE FIRST. :) Good luck and let us know if this fixes the
problem.

Regards,
David Ferri, President
Word Master, Inc.
320 Earls Ct.
Deerfield, IL 60015
Ph: 847-948-9600
Cell: 847-922-0080
Fax: 847-948-9617
http://www.wordmaster.com
==================================================================


483 DeleteOrphanSlots
----------------------
Begin reversible block
Set current list lvDataSlotsList
End reversible block

Calculate lvDataSlotsList as $cdata.$slots.$makelist($ref.$name)
Redefine list {lvSlotName} ;; Load the list of slots

Set search as calculation {pos('#',lvSlotName)>0}
Search list (From start,Select matches (OR),Deselect non-matches
(AND),Do Not Load Line) ;; Eliminate system slots
Delete selected lines

Set current list lvFileList
Calculate lvFileList as $clib.$files.$makelist($ref.$name)
Redefine list {lvFileName} ;; Load the list of file formats in the library

; Spin through the list and identify the slots that have matching file formats
For each line in list from 1 to #LN step 1
Working message (High position,Large size,Repeat count) {Checking
[lvDataSlotsList.$linecount] slots for orphans . . .}
Load from list

Set current list lvDataSlotsList
Set search as calculation {lvSlotName=lvFileName}
Search list (From start,Select matches (OR),Do Not Load Line)

Set current list lvFileList
End For

Set current list lvDataSlotsList
Delete selected lines ;; Leave slots with no matching file format

If lvDataSlotsList.$linecount>0
For each line in list from 1 to #LN step 1
Working message (High position,Large size) {Deleting
[lvDataSlotsList.$linecount] orphaned slots . . .} ;; Showing the
repeat count gives scary results, so not shown
Load from list
Calculate #F as $clib.$files.$add(lvSlotName) ;; Because the
Delete data command will not work unless the slot name appears in the
library
Delete data {[lvSlotName]}
Calculate #F as $clib.$files.$remove($clib.$files.[lvSlotName])
;; Now take the slot name back out of the list
End For
End If

Close working message

Quit procedure
Local variable lvDataSlotsList (List)
Local variable lvSlotName (Character 255)
Local variable lvFileList (List)
Local variable lvFileName (Character 255)
Bill Pope
2008-12-19 03:55:04 UTC
Permalink
Thanks, all.

Deletion of the unused slots seemed to be the key to the solution.

Bill Pope, Gabriola Island, British Columbia, Canada
Post by Kelly Burgess
Post by Bill Pope
Jeff and Kelly (and other kind and helpful folks)...
Thanks for your suggestions. Thing still don't work. First, there
is no Omnis application in my "convert" folder. It has files
called compcopy.lbs, omnispic.df1 and updatevcs.lbs, but nothing
else. I'm stuck at the point where I get the "This data file
contains some old type data which first must be converted using the
Omnis 7 v3.x data file tools" message, or other equally unhelpful
messages, whenever I try to open the data file.
Any other guesses?
Hi Bill,
You're getting a misleading message from Studio. Look at the data
file in Omnis 7 and compare the library's existing file formats to
the slots in the data file. If you have "orphaned" slots in the
data file, i.e. slots that don't have a matching file format, you
will get the error out of Studio. Here is a procedure that will
delete the orphan slots for you. I wrote this a few years ago and
have been using it regularly since then, so it's well tested, but
BACKUP YOUR DATA FILE FIRST. :) Good luck and let us know if this
fixes the problem.
Regards,
David Ferri, President
Word Master, Inc.
320 Earls Ct.
Deerfield, IL 60015
Ph: 847-948-9600
Cell: 847-922-0080
Fax: 847-948-9617
http://www.wordmaster.com
==================================================================
483 DeleteOrphanSlots
----------------------
Begin reversible block
Set current list lvDataSlotsList
End reversible block
Calculate lvDataSlotsList as $cdata.$slots.$makelist($ref.$name)
Redefine list {lvSlotName} ;; Load the list of slots
Set search as calculation {pos('#',lvSlotName)>0}
Search list (From start,Select matches (OR),Deselect non-matches
(AND),Do Not Load Line) ;; Eliminate system slots
Delete selected lines
Set current list lvFileList
Calculate lvFileList as $clib.$files.$makelist($ref.$name)
Redefine list {lvFileName} ;; Load the list of file formats in the library
; Spin through the list and identify the slots that have matching file formats
For each line in list from 1 to #LN step 1
Working message (High position,Large size,Repeat count) {Checking
[lvDataSlotsList.$linecount] slots for orphans . . .}
Load from list
Set current list lvDataSlotsList
Set search as calculation {lvSlotName=lvFileName}
Search list (From start,Select matches (OR),Do Not Load Line)
Set current list lvFileList
End For
Set current list lvDataSlotsList
Delete selected lines ;; Leave slots with no matching file format
If lvDataSlotsList.$linecount>0
For each line in list from 1 to #LN step 1
Working message (High position,Large size) {Deleting
[lvDataSlotsList.$linecount] orphaned slots . . .} ;; Showing
the repeat count gives scary results, so not shown
Load from list
Calculate #F as $clib.$files.$add(lvSlotName) ;; Because the
Delete data command will not work unless the slot name appears in
the library
Delete data {[lvSlotName]}
Calculate #F as $clib.$files.$remove($clib.$files.
[lvSlotName]) ;; Now take the slot name back out of the list
End For
End If
Close working message
Quit procedure
Local variable lvDataSlotsList (List)
Local variable lvSlotName (Character 255)
Local variable lvFileList (List)
Local variable lvFileName (Character 255)
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Jeff Gibson
2008-12-18 23:52:16 UTC
Permalink
Bill,
Do you not have a old copy of your app when it ran under Omnis Omnis 7.3??
I never use anything in the convert folder (d open my library (application) under Omnis 7. Start from there.
Maybe I'm not s something?
< Jeff Gibson
Intercept Solutions
Nashville, TN
< Jeff and Kelly Thanks for your suggestions. no Omnis appl compcop stuck at the point where I get the "This data file contains some old &nbs p;
type data which first must be converted using the Omnis 7 v3.x data & file tools" message, or other equally unhelpful messages, whenever try to open the data file.
Any other guesses?
Bi On Dec 18, 2008, > Hi Bill,
Use t >
http://www.omnis.net/technotes/c >
Note item 6 where it says "Remove any unwanted >
Kelly
_____________________________________ > Manage your list subscriptions at http://l _________________________________________________ Manage your list subscriptions at http://lists.omnis-dev.co
Loading...