This subroutine retrieves an arbitrary name (NAME) according to the Web parameters that were acquired using the COBW3_INIT. When this subroutine is called from an application-invoking Web page having a check box, the subroutine checks, by using VALUE, the item that was confirmed by the WWW browser.
Format
CALL "COBW3_VALUE" USING COBW3.
Data setting at calling
Specify a retrieval value (VALUE) that is to be retrieved.
When the retrieval value has a valid blank at the end, specify the byte length of the blank-containing retrieval value (character string).
Value | Explanation |
---|---|
0 | Retrieves a value up to the last character other than the blank. |
1 to 1024 | Retrieves a value of the specified character string length. |
When two or more of the same values (VALUE) are specified in the Web parameter, specify the occurrence sequence of the retrieval targets.
Condition name | Value | Explanation |
---|---|---|
COBW3-NUMBER-INIT | 1 | Retrieves the first matching VALUE. |
- | 2 to 9999 | Retrieves the VALUE with the specified occurrence sequence. |
Processing result data
Condition name | Value | Explanation |
---|---|---|
COBW3-SEARCH-FLAG-NON | "0" | The retrieved VALUE was not found. |
COBW3-SEARCH-FLAG-EXIST | "1" | The retrieved VALUE was found. |