RE: [U2] Unix copying Universe files {Unclassified}

2005-05-13 Thread Stevenson, Charles
Question (per Mike Henderson's post on this thread): If a file has been setup for transaction logging, and you make a copy of a file using OS-level tools (cp, rcp, ftp, tar, etc.), how do you remove the TxLg info buried in the file header of the cloned file? Answer: 1. Use filepeek to edit

Re: [U2] Unix copying Universe files

2005-05-12 Thread Manu Fernandes
Did you try a sequence like : cd `cat .uvhome` ; uvsh SUSPEND.FILES ON sync cp . . cd `cat .uvhome` ; uvsh SUSPEND.FILES OFF Why not ? Manu Fernandes Infodata S.`r.l. Tel : (352) 33 16 48 Fax : (.352) 33 75 55 - Original Message - From: [EMAIL PROTECTED] To: u2-Users

RE: [U2] Unix copying Universe files

2005-05-12 Thread iggchamp
11, 2005 10:29 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Unix copying Universe files Thanks for responding Bruce. The last time that I did it, I was sure that all users had logged off. -- Original message -- Goo'day, Scott At 23:52 11/05

Re: [U2] Unix copying Universe files

2005-05-12 Thread Martin Phillips
Beware of the big problem Alternate key index subfiles are located via a pathname stored in the file header. If you copy a file and then update it, you may be updating the indices of the original file. See the SET.INDEX command for a solution to this. Martin Phillips Ladybridge Systems 17b

Re: [U2] Unix copying Universe files

2005-05-12 Thread iggchamp
Good point. My routine takes care of that as well as distributed files. Thanks for the heads up. I did make that mistake when I first started at this company some years ago. I had never worked with secondary indices prior to coming here. After copying all of our production files into a test

RE: [U2] Unix copying Universe files

2005-05-12 Thread Robert.Porter2
of those things that if you do it once, you probably won't do it a second time. Robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips Sent: Thursday, May 12, 2005 10:27 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Unix copying

Re: [U2] Unix copying Universe files

2005-05-12 Thread iggchamp
Excellent answer Manu. I will give it a look. -- Original message -- Did you try a sequence like : cd `cat .uvhome` ; uvsh SUSPEND.FILES ON sync cp . . cd `cat .uvhome` ; uvsh SUSPEND.FILES OFF Why not ? Manu Fernandes Infodata S.`r.l. Tel : (352) 33

RE: [U2] Unix copying Universe files

2005-05-12 Thread Stevenson, Charles
Just to pick nits, if you use Transaction Logging, the txlg number is in the file header, too. Subsequent updates of the cloned file can goof up your logs. Is there a similar concern with data replication? Distributed files also have pathnames buried in them. -Original Message- From:

RE: [U2] Unix copying Universe files {Unclassified}

2005-05-12 Thread HENDERSON MIKE, MR
Charles, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Friday, 13 May 2005 04:49 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unix copying Universe files Just to pick nits, if you use Transaction Logging

RE: [U2] Unix copying Universe files {Unclassified}

2005-05-12 Thread Ed Clark
:[EMAIL PROTECTED] Behalf Of HENDERSON MIKE, MR Sent: Thursday, May 12, 2005 3:18 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Unix copying Universe files {Unclassified} Charles, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson

Re: [U2] Unix copying Universe files

2005-05-11 Thread Bruce Nichol
Goo'day, Scott At 23:52 11/05/05 +, you wrote: Hi All, UV9.6 HPUX 11 I have a program that I use to update our test account from time to time using the unix cp command. It works fine except... Every once in a while I run into a corrupted file. I am guessing that it is because the file