It's possible to create a file from an UDC execution ?

I'm trying to create a log file depending over some actions, something like
in Unix.
For example "echo The action before is ok > filename", then you create a
file containing the line "The action before is ok"

Thanks,

Manuel