dbTalk Databases Forums  

Unidata upgrade query

comp.databases.pick comp.databases.pick


Discuss Unidata upgrade query in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tim
 
Posts: n/a

Default Unidata upgrade query - 11-22-2005 , 03:00 PM







Hello

We have just upgraded from Unidata 4 to Unidata 6.1 and opted not to
recompile our unibasic programs. Everything is working fine.

However, we are now in the process of tidying up and have found a few BP
files in data accounts that we would prefer are held in a separate account
with the other source/object files. The programs are cataloged directly
with the object and source in the same file.

My question is Can we just create a new BP DIR in the other account and
just use Unidata COPY to copy the object and source files into it?

Are we better to just copy the source and recompile?

Cheers
Tim

Reply With Quote
  #2  
Old   
frosty
 
Posts: n/a

Default Re: Unidata upgrade query - 11-22-2005 , 03:44 PM






Tim wrote:
Quote:
Hello

We have just upgraded from Unidata 4 to Unidata 6.1 and opted not to
recompile our unibasic programs. Everything is working fine.

However, we are now in the process of tidying up and have found a few
BP files in data accounts that we would prefer are held in a separate
account with the other source/object files. The programs are
cataloged directly with the object and source in the same file.

My question is Can we just create a new BP DIR in the other account
and just use Unidata COPY to copy the object and source files into it?
I would imagine so.

Quote:
Are we better to just copy the source and recompile?
I would recommend that... if you have a compile issue, it's
better to find out sooner than later. I'd save the old "_]"
(compiled) item, first.

--
frosty




Reply With Quote
  #3  
Old   
vvg
 
Posts: n/a

Default Re: Unidata upgrade query - 11-24-2005 , 02:26 AM



Yuor pointers might get out of whack if you dont recompule and recatalog
under the new BP directory.


What I would do is Create the new BP file copy the source recompile and
recatalog then you are clean.

as a caveat keep the old BP file for at least 6 months.

good luck,

Theo

"Tim" <atla13 (AT) hotmail (DOT) co.uk> wrote

Quote:
Hello

We have just upgraded from Unidata 4 to Unidata 6.1 and opted not to
recompile our unibasic programs. Everything is working fine.

However, we are now in the process of tidying up and have found a few BP
files in data accounts that we would prefer are held in a separate account
with the other source/object files. The programs are cataloged directly
with the object and source in the same file.

My question is Can we just create a new BP DIR in the other account and
just use Unidata COPY to copy the object and source files into it?

Are we better to just copy the source and recompile?

Cheers
Tim



Reply With Quote
  #4  
Old   
Tim
 
Posts: n/a

Default Re: Unidata upgrade query - 11-24-2005 , 03:52 PM



"vvg" <vvgstation11 (AT) violetvortex (DOT) com> wrote in
news:ZOehf.117304$Hs.9247 (AT) tornado (DOT) ohiordc.rr.com:

Quote:
Yuor pointers might get out of whack if you dont recompule and
recatalog under the new BP directory.


What I would do is Create the new BP file copy the source recompile
and recatalog then you are clean.

as a caveat keep the old BP file for at least 6 months.

good luck,

Theo



We have been running under unidata 6.1 for about 4 weeks now and the
fact that everthing is working OK we are a bit concerned about
recompiling at this stage.

If we do recompile will the fact that the majority of our other programs
havn't been recompiled cause any problems?

If we did copy both the source and object to the new BP DIR could we not
use unidata PATHSUB to amend the pointers in the data accounts?

Tim


Reply With Quote
  #5  
Old   
Ken Wallis
 
Posts: n/a

Default Re: Unidata upgrade query - 11-24-2005 , 05:17 PM



Tim wrote:

Quote:
We have been running under unidata 6.1 for about 4 weeks now and the
fact that everthing is working OK we are a bit concerned about
recompiling at this stage.

If we do recompile will the fact that the majority of our other
programs havn't been recompiled cause any problems?

If we did copy both the source and object to the new BP DIR could we
not use unidata PATHSUB to amend the pointers in the data accounts?
Your problem with recompiling could be that although UniData make sure of
object code compatibility through upgrades, new keywords in BASIC could mean
that some programs wouldn't compile and then I think the old object would be
gone and calls to it would fail until you fixed the source problem and
successfully compiled.

If the programs are CATALOGed DIRECT then moving the object will mean that
VOC pointers will be wrong, and again calls will fall over. So, if you move
the code and object (which you can certainly do with ECL COPY, but I'd
probably do at the OS level since it'll be faster and you don't have to
worry your brain about the fact that the object is binary) you will need to
either reCATALOG the object once you've moved it or modify the VOC entries
with PATHSUB as you suggest.

At some point, I'd look hard at copying your source elsewhere and doing test
compiles to see if you have everything you need - includes etc, because sure
as eggs is eggs, there'll come a point where you need to be able to
recompile and it's always better to work this stuff out when it doesn't
matter...

As always, any queries regarding UniData are far better addressed to the U2
specific mailing list u2-users which you can get to from u2ug.org

Cheers,

Ken




Reply With Quote
  #6  
Old   
Tim
 
Posts: n/a

Default Re: Unidata upgrade query - 11-26-2005 , 03:00 PM




Thanks Ken.

I think I will take your advice and copy the DIRs at UNIX level instead of
the ECL COPY.

Out of interest do you think the ECL copy could potentially cause problems
when copying object code?

Thanks also to Frosty and Theo for your replies.

Tim

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.