leveraging PFDSK

Jeremy Anderson jeremy at plunketts.net
Tue Sep 7 13:44:56 PDT 2004


On my filepro 4.5 system, several files are broken across partitions.  
That is to say, /appl/filepro/SpecInv holds all the processing tables, 
and the map, and everything EXCEPT the actual key file.  
/appl2/filepro/SpecInv holds the key file.

I'm trying to duplicate this using filepro 5.0.13 on linux, where my 
directory structure is slightly different.
On that machine, I have two directories:  /appl/test and /appl/test2.  
Within each is a filepro directory, mirrored from the 4.5 machine's 
/appl and /appl2 .

I am trying to repair a script which automatically rebuilds demand 
indexes.  At some point in the past, it worked.  Before I was employed 
here, it stopped working.

This is the script:
#!/bin/bash
export TERM=vt100
/appl/fp/dxmaint serArch -O1 -S index1 -R -E
/appl/fp/dxmaint acctsrec -O0 -S index0 -R -E
/appl/fp/dxmaint SpecInv -O1 -S index1 -R -E

I need the system to search through both /appl/test/filepro/serArch and 
/appl/test2/filepro/serArch for the map and keyfile. 
On the old system, this was apparently accomplished through the PFDSK 
environment variable.

In my script, I have tried setting PFDSK to be "/appl/test:/appl/test2", 
but this does not work in the way which I expected.
Is what I'm trying to do possible?
If so, what is the best way to go about what I'm trying to do?

Eventually, I plan to archive data out of some of the files, and 
re-merge the portions of the file, but this (like everything else) is on 
the back burner.

I appreciate any help you can offer.

Jeremy

-- 
Jeremy Anderson			      jeremy (at) plunketts.net
IT Manager, Plunkett's Pest Control   Author, Multitool Linux



More information about the Filepro-list mailing list