Once you have created all the necessary files, you are ready to create a version of the title complete with search index. You do this by using the BUILDDOC command.
BUILDDOC runs the MVC compiler and the index programs in the correct sequence to create a title and its associated search index.
If everything goes smoothly, BUILDDOC creates a Viewer title and its associated search index in the project directory and then returns the MS-DOS prompt. The title has the same name as the project file, only with a .MVB extension. The index file also uses the project name with a .IND extension.
·To build the title and search index:
1.To monitor what is happening during the build process, enter the following option in the [OPTIONS] section of the project file:
REPORT = ON
2.Enter any troubleshooting options in the [OPTIONS] section before you begin building. See “Troubleshooting the Build Process,” later in this chapter, for more information on these options.
3.Change to the directory that holds the project file; for example:
cd \viewer\usa
4.Type the BUILDDOC command using the following syntax:
BUILDDOC projectfile
The project filename is the name of your project file. Don't include the .MVP extension; for example:
builddoc usa
5.If it encounters no major errors, BUILDDOC creates the title file and its associated search index. The example BUILDDOC command shown above produces USA.MVB and USA.IND.