How do I manually run freechain on qualified files?
Mike Schwartz
mschw at athenet.net
Fri Jul 18 09:11:48 PDT 2014
SOC Openserver 5.0.7 with filePro 5.0.13
I run the following script to rebuild all the indexes on the main
filePro files. It also rebuilds all the freechains:
# cat reindex
echo "Started `date`" >/u/mjs/retime.txt
cd /appl/filepro
for file in *
do echo $file
cd $file
/appl/fp/lib/freechain $file
for indx in `ls indexPS.[A-H] 2>/dev/null`
do echo $file $indx
i=`echo $indx | sed s,index.,,`
echo $file $index $i
/appl/fp/dxmaint $file -o$i -r -a -e
sleep 2
done
cd ..
done
echo "Ended `date`" >>/u/mjs/retime.txt
(Yes, I know I could rewrite the index command using the new options
-RA -E. I just haven't bothered to do so yet.)
This customer has data stored in two qulaifiers; PS and LTD. I added
the PS to the index command, but am not sure how to get the freechain
command to rebuild the freechains on the qualifiers.
Or, when I run a command like "freechain CUST2" does it rebuild the
freechains on all the qualifiers? (I wouldn't think that it does.)
Actually, I don't think I ever saw a listing of options that the
freechain command accepts. I know filePro is supposed to run the freechain
command automatically, but there are times when I'd like to run it manually.
Thanks!
Mike Schwartz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20140718/e1336f48/attachment.html
More information about the Filepro-list
mailing list