Using WebFOCUS 7.6 the Focus Master files can be captured when a Focus Hold file is created.
The basic steps are described in the example below. Some customization for your environment will be required.
TABLE FILE CAR
ON TABLE HOLD AS PAULCAR
UNIX ls -l $EDATEMP
UNIX cat $EDATEMP/paulcar.mas
UNIX cp $EDATEMP/paulcar.mas /home/paul/holdmast
The hold file is PAULCAR and a temporary master file will be created somewhere like /ibi/sn/76/wfs/edatemp as specified by the EDATEMP environment variable. In this case the temporary master will be copied to /home/paul/holdmast.
Note that the hold file name must be unique – if you use HOLD1 and someone else is also is using this name, then wrong master file may be left in Holdmast.
This will work with any type of hold file not just Flat files and for running in both Online and Deferred modes.
To find out more about the WebFOCUS environment use.
UNIX echo $EDATEMP