### 37.2.5 Merging ancillary Help files with DCL

You can use DCL to merge contents, index, and other data files for HTML-based Help, by providing a file that lists the items to be included. For example, for HTML Help you can use DCL to merge the part files (.bh*) to make a TOC or index; for OmniHelp, you can merge the full-text search and context-sensitive help files.

The list file must have extension .lst. The first line in this file must begin with LIST, and each subsequent line must specify the base name of a FrameMaker file to be included, with a special file-name extension. The extension must be one of the following:

chp | FrameMaker chapter file
frm | FrameMaker LOF, LOT, or LOR
toc | FrameMaker TOC
idx | FrameMaker standard IX
bkm | FrameMaker special index (IOM or IOR)
gen | FrameMaker generated file other than the above

For example, list file M2GTest.lst might look like this:

LIST for C:\test\m2gts\hh\M2GTest.lst

Cover.chp

M2GTestLOF.frm

M2GTestLOT.frm

Intro.chp

TextFmts.chp

FigsTbls.chp

OtherFmts.chp

Appendix.chp

For this example the DCL command, which must be executed in the directory where the list file is located, would look like this for HTML Help:

dcl -fMB M2GTest.lst

See §7.3.4.3 Merging contents and index files from the command line.

| 37.2.4 Converting a group of MIF or DCL files |  | 37.3 DCL command-line syntax |