![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Developer’s workbench SEARCHLIB searches all the rules or a set of specified rules in a library for a search string and then returns the names of rules containing the string. To use SEARCHLIB, complete the following steps:The type of search determines what kind of search string you can enter. Refer to step 5 below for more information on search types.You can search for an exact token or string or use the wildcard characters “?” (single character) or “*” (multiple characters) in your search string.
3. To restrict the search to a specific rule or set of rules, enter the rule name with the appropriate wildcard characters.You can search for a specific rule or use the wildcard characters “?” (single character) or “*” (multiple characters) in your rule name.
4. To restrict the search to a specific unit or set of units, enter the unit name with the appropriate wildcard characters.You can search for a specific unit or use the wildcard characters “?” (single character) or “*” (multiple characters) in your unit name.
PF6 or Enter Searches for a given string anywhere within a rule. A fast search works as though you entered *searchstring*, and therefore can return false positives (for example, entering MESSAGE as the search string could return a rule containing the token MESSAGES).Because a fast search searches for a string rather than a token, it can find any string, including quoted strings that include spaces. However, it cannot find any of the following:
• Searches for the exact, complete token specified, unless wildcard characters are used.Because a slow search searches for a token rather than a string, you cannot use it to find extended strings containing spaces or TABLENAME.FIELDNAME constructions. A slow search does find reserved words such as CALL or EXECUTE, and numeric values. For large libraries, a slow search can take significantly longer than a fast search.Note The numeric value must be entered exactly as it appears in the Rule Editor.From the screen containing the list of returned rules, you can invoke the Rule Editor to display or edit the rules by placing your cursor on the row containing the rule name and pressing Enter or by typing any character in the command line to the left of the rule name and pressing Enter.The following screen shows a slow search performed for the search string “messages” on rules named “TEST*” in library STANDARD:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |