D3 NT 7.2
On VME restore, all PEQS items are lost, of course, since they live in
DM. Has anyone found a way to permanently move the PEQS to FSI?
I achieve this programmatically by capturing the spooler number and
writing it to a FSI file. Looking for a more elegant way.
Thanks.
Diets
copy peqs *
to:(fsi:account,myfile,
Don't hold me to this, but I seem to recall that if the PEQS file is
defined as a "QS" (or was it DS? - I remember the suffix "S") file
then it will be saved and restored.
Otherwise a simple copy to an FSI save file before the save and
restore after will save the items - but losing the original date/time/
etc. info in the process.
I'm very curious as to the answer if there is one.
Tom
>
> Don't hold me to this, but I seem to recall that if the PEQS file is
> defined as a "QS" (or was it DS? -
"QS" would be most likely --> a super Q pointer that is to be saved,
rather than a "DS", which IIRC is a case "S"ensitive D pointer (ie:
keys and KEYS are different records)
Try this: in DM account (actually, I think any account may work),
UD PEQS, then change "Q" to "QS". I have been saving my peqs, and
restoring on occasion, for several years. I am currently on 7.4.7c,
but the change to "QS" was made some time ago. Keep in mind that if
you do D3 upgrades, you will have to make the change, again.
Good luck,
Jim Cronin
Dir. MIS
Kittery Trading Post
"Diets" <di...@homemail.co.za> wrote in message
news:1f20ed78-1dcd-43a6...@25g2000hsx.googlegroups.com...
This is the real trick to moving the file. PEQS isn't a normal file
and just moving the file doesn't preserve the metadata. I don't know
if there is a permanent way to move all PEQS elements. I would write
code to relocate both data and metadata. This could be run via
triggers, by a phantom that monitors the file, or on-demand.
T
Thanks guys, this pointed me in the right direction. I now have a
utility that will copy PEQS safely out, including the
"HDR:PEQS" (Peter, not the HDR.DEFS file) along with the PEQS items.
When these FSI files are restored (or written back using BASIC), all
the required stuff (or meta data, as Tony calls it) is also there.
Thanks again
Diets