This subroutine outputs data obtained by adding the line feed code to the specified string to the WWW Browser.
How to write
CALL "COBW3_PUT_TEXT" USING COBW3.
Data setting for calling
Set the string to be output.
If the string has a valid blank at the end, set the string length (byte length) of the string including the blank.
Value | Meaning |
---|---|
0 | Outputs the string using the length up to the last character excluding the blank. However, if COBW3-PUT-STRING is completely blank, the string length is set to zero (line feed only) for processing. |
1 to 1024 | Outputs the string using the specified string length. |
Processing result data
None
How to output string data (including the line feed code) to the WWW Browser:
The following shows an example of writing a program to output "<CENTER>Thank you very much for your cooperation.</CENTER>" to the WWW Browser.
Example
COBOL program
: 000360* Set of strings to be output 000370 MOVE"<CENTER> Thank you very much for your cooperation. </CENTER>" 000380 TO COBW3-PUT-STRING. 000390* Output string data. 000400 CALL "COBW3_PUT_TEXT" USING COBW3. :
Output results on the WWW Browser
: Thank you very much for your cooperation. :