Specifying Fileshare Locations in the Fileshare Client Configuration File

The Fileshare client configuration file is called fhredir.cfg. If there is an fhredir.cfg file present, MSS consults it whenever it needs a file that has no explicit Fileshare server location specified in its catalog entry or SELECT clause. It does not consult it if an explicit Fileshare server location is specified.

If you want to specify a Fileshare location in the fhredir.cfg file for a cataloged file you must make sure you specify an explicit filename in Physical File that matches an entry in the fhredir.cfg file, rather than letting MSS allocate a name. Fileshare is case sensitive so filenames in the catalog and the fhredir.cfg file must use the same case.

You can either let the location of the fhredir.cfg file default to the current folder, or specify the location in the environment variable FHREDIR.

You must set the FHREDIR environment variable before you start the enterprise server.

For more information about setting FHREDIR and the use of Fileshare within Enterprise Server see the section Fileshare in the chapter Configuration in your Configuration and Administration Guide

You can use entries in the fhredir.cfg file in a variety of ways. For example, you can

For full details of all the options and examples see the chapters Standard Operation and Configuration in your Fileshare Guide.