wto will write to the operator console,
and you might get away with it once in a while
but it would be better not to make an habit out of it
to display/print things You must follow the usual approach
open a dcb
write
close the dcb
usually most of the shops have already ( if decently setup ) some kind of
display macro which , under the covers, will do that
and quite often associated to a parm switch to enable disable printing
( that' s the way I usually setup things )