I'll just add a small footnote to that one... We version stamp every program, by insering a block that reads e.g :
ADGVERDATA='' ADGVERDATA := 'Version=004003054;' ADGVERDATA := 'VerDate=13394;' ADGVERDATA := 'VerProd=MVQUERY;' ADGVERDATA := 'VerTM=MMT mvQuery;' ADGVERDATA := 'VerCopy=Copyright MMT Computing (Thames Valley) Ltd.;' ADGVERDATA := 'CatName=qusane;' ADGVERDATA := 'VerHist=01 SEP 04 4.3.54 brian Cut for version 5.2.0|01 SEP 04 4.3.53 helen...' And various other bits besides. We have a couple of command line utilities to update it. The advantage of this is that the version information is held not only in the source code, but because we assign it to a variable it is compiled into the object code string table. So if we need to get the version information from some object code, e.g. something in global catalog space, we can easily do so, and check that the object version matches the source version. We hold the last n history details (I can't remember how many). And we commit it through RCS and CVS for version control. The RCS is tagged with the same version number as in the source, so we can easily get back any version. It also allows us to do safe installations, say if a library routine is used by multiple products: we never install or catalog an older version over a newer one (unless we force it manually). [AD..sort of] Incidentally, and as a follow up, I'm building an installation product similar to the setups we use to distribute the MMT software like mvQuery. This generates an installable package containing everything that requires installation, creating files, running commands etc. - kind of an InstallShield for multivalue. It uses a simple script that can be either generated or assembled using a Windows client. It is a packaged version of the setups we have used for 10 years, supporting U2, D3 and jBASE, and that has probably saved me more time and heartache than any other utility. If anyone is interested, please drop me a line. Brian ________________________________________________________________________ This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/