1.Functional Description
1.1 Purpose
Search string for a specific character. Return existent status of the character in the string.
1.2Setup Notes and Prerequisites
1.3Special Logic
If the search is failed and the passed character is an asterisk "*"
Search the string again for a percent "%" character.
(QBE converts this character when it call BSFN)
2.Technical Specifications
2.4Processing
If values passed in are not correct, return Error Message ID (DTAI) as '0002'.
Search the string for the passed character.
If the search is failed and the passed character is an asterisk "*"
Search the string for a percent "%" character.
(QBE converts this character when it call BSFN)
If the character is FOUND
Set Character Exists flag to "1"
Else
Set Character Exists flag to "0".
D3200970 - Search a String for a Character
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szInputString | VC30A | char | NONE | NONE |
This is a generic field used as a work field in Everest. | ||||
cSearchCharacter | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cCharacterExists | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
|
None |
None |