RSOCHAT-CON-OUT more debugging to isolate error

two text files with output included
RSOCHAT-CON-OUT switched print to write