Hi,
I would like to use the sendmail command, which is a bridge to CSSMTP, in shell scripts.
I am in a z/OS 2.5 environment with CSSMTP configured to use the IBM-1147 ccsid, and a charAt declaration, @, is tailored to this IBM-1147 ccsid.
I am unable to send mail using the sendmail command from an ssh session opened on the z/OS partition, and I think it would be the same in a shell script, because both work in ccsid IBM-1047 for which the encoding of the charAt character, @, is not the same as for the IBM-1147 ccsid.
Depending on how the charAt character is encoded in the sendmail command and the text file containing the message, either it is the sendmail command which rejects the sending of the message, or it is the CSSMTP task which indicates an error on the message.
The sendmail command does not seem designed to work in a non-US environment, i.e. a z/OS system that is not configured to work with the IBM-037 ccsid which uses the same encoding as the IBM-1047 ccsid for the charAt character, @.
Has anyone had success using the sendmail command in a non-US z/OS environment?
Thanks.
------------------------------
Denis FALLAI
BPCE SI, BPCE group.
------------------------------