I suspected this as the problem.
Currently, the Co:Z client when executed under the launcher with SSH tunneling off doesn't support text translation of stdin.
A workaround for this would be to do this:
Code: Select all
echo 'some text' | iconv -f ISO8859-1 -t IBM-1047 | cozclient -ib mylog.sh
If logging is what you want, you can use the Co:Z z/OS "wto" shell command remotely using cozclient.
Just create a shell script on the target server in the PATH called "wto" with this:
Code: Select all
#!/bin/sh
cozclient -in -et wto "$@"
Then you will have a remote version of this command:
http://dovetail.com/docs/coz/dsp-ref_wto.html
Which you can use in on the target server like this:
Code: Select all
wto -r 1 'Here is a console message that will even wrap to multiple lines if required'