Software >> OS >> OpenVMS >> DCL >> How to write to a file

$ OPEN/WRITE OUTFILEHANDLE SYS$LOGIN:TEST.LOG $ WRITE OUTFILEHANDLE "some text to write into the file" $ CLOSE OUTFILEHANDLE