This subroutine searches any value (VALUE) from the Web parameters acquired by "COBW3_INIT". This subroutine is used, for example, to evaluate the items checked by the WWW Browser based on the value (VALUE) when activated from a page for calling with check boxes
How to write
CALL "COBW3_VALUE" USING COBW3.
Data setting for calling
Set the value to be searched.
If the value (VALUE) has a valid blank at the end, set the string length (byte length) of the value including the blank.
Value | Meaning |
---|---|
0 | Searches the value using the length up to the last character excluding the blank. |
1 to 1024 | Searches the value using the specified string length. |
If multiple entities with the same value exist in Web parameters, set the order of appearance of values to be searched.
Condition name | Value | Meaning |
---|---|---|
COBW3-NUMBER-INIT | 1 | Searches the value that matches first. |
- | 2 to 9999 | Searches the values in the specified order of appearance. |
Processing result data
Condition name | Value | Meaning |
---|---|---|
COBW3-SEARCH-FLAG-NON | "0" | The value to be searched does not exist. |
COBW3-SEARCH-FLAG-EXIST | "1" | The value to be searched exists. |