

PDF Indexing in CA View › Establish the Indexing Definitions › PDFINDEX Member Examples › Example 1: 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:
- BANKCOST—Names the index
- *—Indicates that the entire page is to be searched
- EQ—The search is for a specific string (that is, "COST:")
- *+6—The index value is located 6 characters after the search string "COST:"
- L(20)—The maximum length of the index value --20 characters
- SE—The index value ends at the first blank
- COST:—The string to search for
For example if the report data "COST: $200.56 ", the index value would be $200.56 for the index name BANKCOST.
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|