Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

WRITE-COMMENT

This statement is used to write comments to the output medium defined by the statement //MODIFY-LOGGING-PARAMETERS TEXT-OUTPUT=..., unlike the WRITE-TEXT statement, which always directs output to SYSOUT or SYSLST.

WRITE-COMMENT

COMMENT = ’ ’ / <c-string 1..1024 with-low>

COMMENT = ' ' / <c-string 1..1024 with-low>
Comment text. If nothing is specified, a blank is used as the default value, i.e. a blank line is generated.

Statement return code

(SC2)

SC1

Maincode

Meaning


2

0
0
1
32
64
130

CMD0001
LMS0129
CMD0230
LMS1002
LMS1004
LMS0041

No error
Statement aborted by user
Syntax error
Internal error
Other error
System address space exhausted

Example

The text enclosed in apostrophes, which may also extend over multiple lines, is interpreted as a comment.

//write-comment 'This is the last LMS statement to be described.//

A new chapter begins on the next page.'