dbTalk Databases Forums  

D3 NT preserve hold files after VME restore

comp.databases.pick comp.databases.pick


Discuss D3 NT preserve hold files after VME restore in the comp.databases.pick forum.



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

Default D3 NT preserve hold files after VME restore - 07-19-2006 , 10:38 AM






Is there a way to preserve the hold files so they will still be there
after a VME restore?

Can I do a COPY PEQS * to a temp file and copy them back after the VME
restore?

Thanks for any help.

Matt


Reply With Quote
  #2  
Old   
Tracy Raines
 
Posts: n/a

Default Re: D3 NT preserve hold files after VME restore - 07-19-2006 , 10:42 AM







Matt Harting wrote:
Quote:
Is there a way to preserve the hold files so they will still be there
after a VME restore?

Can I do a COPY PEQS * to a temp file and copy them back after the VME
restore?

Thanks for any help.

Matt
I do that on a D3/Linux system, but when you copy them back you lose
the date, time and user information.



Reply With Quote
  #3  
Old   
Robert Burke
 
Posts: n/a

Default Re: D3 NT preserve hold files after VME restore - 07-20-2006 , 09:13 AM




Matt Harting wrote:
Quote:
Is there a way to preserve the hold files so they will still be there
after a VME restore?

Change the peqs q-pointer to a qs-pointer ('s' means save the data):

logto spooler
ed dict peqs peqs
001 qs
002
003 peqs:



Reply With Quote
  #4  
Old   
Tracy Raines
 
Posts: n/a

Default Re: D3 NT preserve hold files after VME restore - 07-20-2006 , 05:31 PM




Robert Burke wrote:
Quote:
Matt Harting wrote:
Is there a way to preserve the hold files so they will still be there
after a VME restore?


Change the peqs q-pointer to a qs-pointer ('s' means save the data):

logto spooler
ed dict peqs peqs
001 qs
002
003 peqs:
Robert,

Does that work in the Linux version too?



Reply With Quote
  #5  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: D3 NT preserve hold files after VME restore - 07-20-2006 , 05:51 PM



Brain dump below.

"Tracy Raines" <liveblues (AT) gmail (DOT) com> wrote:

Quote:
Matt Harting wrote:
Is there a way to preserve the hold files so they will still be there
after a VME restore?

Can I do a COPY PEQS * to a temp file and copy them back after the VME
restore?

Thanks for any help.

Matt

I do that on a D3/Linux system, but when you copy them back you lose
the date, time and user information.
The PEQS file resides in the SPOOLER account. The data pointer is a
special OSFI pointer:
ct dict peqs peqs
peqs
001 q
002
003 peqs:

I believe you will save your print jobs if you change that "q" to a
"qs". I hope someone else will confirm this.

If you just want to do copies, you can see the header data like this:
li hdreqs

You can copy hdreqs items to some other file to preserve the
original status, but AFAIK you cannot copy them back to this read-only
buffer. Looking a the hdr item in the OSFI host definition I see it
says "For viewing information about items". Note the word Viewing.
(ct dm,hosts, hdr)

As you have both stated, you can also copy the peqs items themselves,
but when you copy them back to peqs you get a status with the current
timestamp and other default data.

Mark, any insight for writing into the hdr areas for peqs or other
files?

HTH
T



Reply With Quote
  #6  
Old   
Peter McMurray
 
Posts: n/a

Default Re: D3 NT preserve hold files after VME restore - 07-21-2006 , 12:15 AM



Hi
To make this even more effective do
dev-make -t tape -a "C:\basesys,p"
SET DEVICE n
SELECT MDS WITH A1 "D"
FILE-SAVE
This will give you a current VME within a few seconds and all your hold
files intact for rapid restore
Obviously you will need to enter your own path.
Then before restarting D3 got to the D3 Windows device manager and lock this
save as a pseudo device for use when doing D3Vme /restore.
..
Peter McMurray
"Robert Burke" <robert.burke (AT) rainingdata (DOT) com> wrote

Quote:
Matt Harting wrote:
Is there a way to preserve the hold files so they will still be there
after a VME restore?


Change the peqs q-pointer to a qs-pointer ('s' means save the data):

logto spooler
ed dict peqs peqs
001 qs
002
003 peqs:




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.