Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

3.12.2 COBW3_VALUE

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

COBW3-SEARCH-DATA

Set the value to be searched.

COBW3-SEARCH-LENGTH [optional]

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.

COBW3-NUMBER [optional]

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

COBW3-SEARCH-FLAG

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.