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.

To create page groups and indexes in production AFP files:
  1. 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
    • 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
    For install_directory, use the directory where you installed AFP Visual Environment.

    For directory, use the directory where the file is located.

  2. If the return code from IndexAFP or PluginMgr is <0, look in stderr or the log for error messages.
  3. Repeat the command for each production AFP file.