Previous Topic: PDFINDEX Member ExamplesNext Topic: Example 2: Extract Report Data and Populate the Index Value with the Respective INDEX


Example 1: Extract Report Data and Populate the Index Value with the Respective INDEX

This example extracts index values that are located after the characters "COST:" on each page of the PDF document. The maximum length of an index value is 20 characters.

INDEX=(BANKCOST,*,EQ,*+6,L(20),SE,COST:)

The fields on the index statement are as follows:

For example if the report data "COST: $200.56 ", the index value would be $200.56 for the index name BANKCOST.