Using the Adapter for Flat File, developers can index
file repositories with Magnify using WebFOCUS protocols and keep
them synchronized as new files are added, modified, renamed, moved,
or deleted in the repository. This chapter describes how to configure
the Adapter for Flat File to monitor file repositories.
The following are the required configuration steps:
- Create a new application mapping to the file repository
directory.
- Define a new application directory.
- Define a file monitor synonym.
- Configure the file monitor master file.
- Update the synonym to point to the application mapping.
- Configure a FORMAT MAGNIFY procedure that uses the file monitor
synonym to index the application mapping directory that is being
monitored.
xFile Indexing Requirements
Ensure that the following file
indexing requirements are met:
- Files must be accessible from a URL and a File system.
- A persistence file will be created by the Adapter for Flat File
to monitor changes to the application mapping directory:
- _m_<user>.chp
- Only changes from the last TABLE request are stored.