Functional Description
Purpose
This function counts the number of characters and spaces in a string until a null character or an
asterisk is encountered at the end of the input string.
Technical Specification
Processing
This business function accepts a wildcard search description as input and returns the number of
non-asterisk elements in the integer data item "PartialFilterElements".
The number of filter elements can then be passed into B0000166 "WildCard Filter Compare", which will
compare the wildcard search description to a passed-in data item (to the length specified in Partial
Filter Elements). If a partial field match is found, a flag of "Y" is returned through the data
structure.
^
D0000165 - WildCard Number of Elements Count
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSearchDescription | DC | char | NONE | NONE |
Input of partial search description entered by user with optional trailing asterisk.
| ||||
nPartialFilterElements | INT01 | integer | NONE | NONE |
Returned value for number of non-asterisk elements in the input string.
|
None |
None |