Identifier declarations follow the comment lines. There is one parameter,
di_pattern
, which is declared as a string and represents a string pattern. It will be used in a database extraction function to retrieve data-items whose names match this pattern. Becausedi_pattern
is a parameter, you specify its value in a form before executing the template. Changing the string pattern enables you to generate the properties for different lists of data-items.Next, the template declares two variables:
●st
- Returns a status code used with all Statemate database extraction functions. It is declared as typeINTEGER
. See Documentor Functions for more information on using return status codes
●di_ids
- Represents the list of IDs of data-items for which the report is produced. It is declared as aLIST
OF
DATA_ITEM
.The identifiers declared in the template so far belong to the initiation section and thus are global in scope (they can be used throughout the entire template).