How to capture Focus Master files for Focus Hold files

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
PRINT *
ON TABLE HOLD AS PAULCAR
END
-RUN

UNIX ls -l $EDATEMP
UNIX cat $EDATEMP/paulcar.mas
UNIX cp $EDATEMP/paulcar.mas /home/paul/holdmast
-RUN

 

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 env
UNIX echo $EDATEMP
-RUN

 

 

 

138 views

Need help? Let me take care of your IT issues.

Share this page

Scroll to Top