These subroutines search any value (VALUE) from Web parameters obtained 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 Web page for the invoking application with the check boxes. The following lists the meaning of each subroutine:
ASCII environment
Searches the value (VALUE) of an alphanumeric character string.
Unicode environment
Searches the value (VALUE) of an alphanumeric character string.
Searches the value (VALUE) of a national character string.
How to write
CALL "COBW3_CHECK_VALUE" USING COBW3.
CALL "COBW3_CHECK_VALUE_X" USING COBW3.
CALL "COBW3_CHECK_VALUE_N" USING COBW3.
Data setting for calling
Set the value (VALUE) to be searched.
For COBW3_CHECK_VALUE and COBW3_CHECK_VALUE_X, set the value to COBW3-SEARCH-DATA.
For COBW3_CHECK_VALUE_N, set the name to COBW3-SEARCH-DATA-N.
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. |
Sets the order of appearance of VALUES to be searched when there are multiple VALUES with the same value in the Web parameters.
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. |