These subroutines search any Cookie name from the requested Cookie data acquired by "COBW3_INIT". Also, they acquire the Cookie value corresponding to the Cookie name.
The following lists the meaning of each subroutine:
ASCII environment
Searches an alphanumeric character string Cookie name to return the corresponding Cookie value as an alphanumeric character string.
Unicode environment
Searches an alphanumeric character string Cookie name to return the corresponding Cookie value as an alphanumeric character string.
Searches a national character string Cookie name to return the corresponding Cookie value as an alphanumeric character string.
Searches an alphanumeric character string Cookie name to return the corresponding Cookie value as a national character string.
Searches a national character string Cookie name to return the corresponding Cookie value as a national character string.
The padding string (padding character) used when the acquired Cookie value is blank.
How to write
CALL "COBW3_GET_COOKIE" USING COBW3.
CALL "COBW3_GET_COOKIE_XX" USING COBW3.
CALL "COBW3_GET_COOKIE_NX" USING COBW3.
CALL "COBW3_GET_COOKIE_XN" USING COBW3.
CALL "COBW3_GET_COOKIE_NN" USING COBW3.
Data setting for calling
Set the Cookie name to be searched.
For COBW3_GET_COOKIE, COBW3_GET_COOKIE_XX and COBW3_GET_COOKIE_XN, set the Cookie name to COBW3-COOKIE-NAME.
For COBW3_GET_COOKIE_NX or COBW3_GET_COOKIE_NN, set the Cookie name to COBW3-COOKIE-NAME-N.
If the Cookie name has a valid blank at the end, set the string length (byte length) of the Cookie name including the blank.
Value | Meaning |
---|---|
0 | Searches the Cookie name using the length up to the last character excluding the blank. However, if COBW3-COOKIE-NAME or COBW3-COOKIE-NAME-N is completely blank, the string length is set to zero for processing. |
1 to 64 | Searches the Cookie name using the specified string length. |
Processing result data
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. |
The Cookie value corresponding to the Cookie name to be searched is set.
For COBW3_GET_COOKIE, COBW3_GET_COOKIE_XX and COBW3_GET_COOKIE_NX, the Cookie value is set to COBW3-COOKIE-VALUE.
For COBW3_GET_COOKIE_XN or COBW3_GET_COOKIE_NN, the Cookie value is set to COBW3-COOKIE-VALUE-N.
The string length (byte length) of the Cookie value corresponding to the Cookie name to be searched is set.