Creating page groups and indexes in production AFP files
The IndexAFP command creates page groups and index tags in production AFP files. It
uses the AFP Visual Environment control file that contains the definitions for the page groups and index tags.
IndexAFP applies the definitions that create page groups and index tags to an AFP file that contains MO:DCA-P data and writes the result to another AFP file. You can run IndexAFP directly, or you can use the PluginMgr command to run IndexAFP. If the control file also contains definitions to create hidden areas and bar codes, it is more efficient to run PluginMgr because it can run IndexAFP and EditAFP at the same time.
You can configure InfoPrint Manager to automatically run IndexAFP or PluginMgr before
printing.
- Do one of these:
- Run the IndexAFP command. For example:
- AIX:
java -jar /install_directory/plugins/IndexAFP/IndexAFP.jar -i /directory/infile.afp -o /directory/outfile.afp -c /directory/infile.ctl
- Windows:
java -jar C:\install_directory\plugins\IndexAFP\IndexAFP.jar -i C:\directory\infile.afp -o C:\directory\outfile.afp -c C:\directory\infile.ctl
- z/OS UNIX:
java -jar /install_directory/plugins/IndexAFP/IndexAFP.jar -i /directory/infile.afp -o /directory/outfile.afp -c /directory/infile.ctl
- AIX:
- Run the PluginMgr command. For example:
- AIX:
java -jar /install_directory/PluginMgr.jar -i /directory/infile.afp -o /directory/outfile.afp -c /directory/infile.ctl
- Windows:
java -jar C:\install_directory\PluginMgr.jar -i C:\directory\infile.afp -o C:\directory\outfile.afp -c C:\directory\infile.ctl
- z/OS UNIX:
java -jar /install_directory/PluginMgr.jar -i /directory/infile.afp -o /directory/outfile.afp -c /directory/infile.ctl
- AIX:
For install_directory, use the directory where you installed AFP Visual Environment.For directory, use the directory where the file is located.
- Run the IndexAFP command. For example:
- If the return code from IndexAFP or PluginMgr is <0, look in stderr or the log for error messages.
- Repeat the command for each production AFP file.