This subroutine registers conversion data specified in the Web page for processing result output to be output by "COBW3_PUT_HTML".
The registered information is referenced during execution of COBW3_PUT_HTML and conversion in the Web page for processing result output is carried out according to the registered data.
Note
If multiple different conversion names are specified in the Web page for processing result output, call "COBW3_CNV_SET" for each conversion name to register conversion data.
How to write
CALL "COBW3_CNV_SET" USING COBW3.
Data setting for calling
Set the conversion name to be converted.
If the conversion name has a valid blank at the end, set the string length (byte length) of the conversion name including the blank.
Value | Meaning |
---|---|
0 | Registers the conversion name using the length up to the last character excluding the blank. However, if COBW3-CNV-NAME is completely blank, the string length is set to zero for processing. |
1 to 30 | Registers the conversion name using the specified string length |
Set the conversion results (conversion character string).
If the conversion string has a valid blank at the end, set the string length (byte length) of the conversion string including the blank.
Value | Meaning |
---|---|
0 | Registers the conversion string using the length up to the last character excluding the blank. However, if COBW3-CNV-VALUE is completely blank, the string length is set to zero for processing. |
1 to 1024 | Registers the conversion string using the specified string length |
Set the conversion type.
Condition name | Value | Meaning |
---|---|---|
COBW3-CNV-MODE-ADDREP | LOW-VALUE | Adds conversion data if the specified conversion name has not been registered. |
COBW3-CNV-MODE-REPLACE | "1" | Replaces conversion data. If the specified conversion name has not been registered, an error is output and no replacement is carried out. |
COBW3-CNV-MODE-ADD | "2" | Adds conversion data. If the specified conversion name has been registered, an error is output and no addition is made |
Processing result data
None