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

3.12.1 COBW3_NAME

These subroutines search any name (NAME) from Web parameters acquired by "COBW3_INIT".

These subroutines also acquire the value (VALUE) corresponding to the name (NAME). The padding string (padding character) used when the acquired value (VALUE) is blank.

How to write

CALL "COBW3_NAME" USING COBW3.

Data setting for calling

COBW3-SEARCH-DATA

Set the name (NAME) to be searched (The name here is that specified in the name of the HTML document of the page for calling).

COBW3-SEARCH-LENGTH [optional]

If the name (NAME) has a valid blank at the end, set the string length (byte length) of the name including the blank.

Value

Meaning

0

Searches the name using the length up to the last character excluding the blank.

1 to 1024

Searches the name using the specified string length.

COBW3-NUMBER [optional]

If multiple entities with the same name (NAME) exist in the Web parameters, set the order of appearance of the names to be searched.

Condition name

Value

Meaning

COBW3-NUMBER-INIT

1

Searches the name that matches first.

-

2 to 9999

Searches the names in the specified order of appearance.

Processing result data

COBW3-SEARCH-FLAG

Condition name

Value

Meaning

COBW3-SEARCH-FLAG-NON

"0"

The name to be searched does not exist.

COBW3-SEARCH-FLAG-EXIST

"1"

The name to be searched exists.

COBW3-GET-DATA

VALUE corresponding to NAME to be searched is set.

COBW3-GET-LENGTH

The string length (byte length) of VALUE corresponding to NAME to be searched is set.