![]() |
*WRITE Display a Message on the Screen
*WRITE ['text'|CLEAR] [, file [,O|E|N] ]
The text enclosed in single quotes will be displayed on screen, or written to the specified file.
text The text may contain constants, CFS procedure variables or logical control codes (WROUT output in Line mode). If text is not specified, CFS will display an empty line.
CLEAR The contents of the screen are cleared.
file Name of the file into which the text should be written (Fcbtype=SAM).
O The file will be opened in Output mode. An existing file with the same name will be overwritten. The file will be closed after the record has been written.
E The file will be opened in Extend mode. The record will be appended to the end of the existing file, and the file will be closed after the record has been written.
N The file will be opened in Extend mode, and will remain open after the record has been written. This option will prevent each write operation from extending the file by a full PAM page.