Hi I am using the following code to send mails from z/OS to email addresses.My mail datset in z/OS contains special characters like Open Square Bracket and closed square brackets.[,]..but when I receive the mail these special char are converted into some junk characters.I have to use CODESET which understands these special char.How to use those CODESETS in this mail pgm so that special characters also will be sent right in the attachment.
FILENAME MYMAIL EMAIL;
FILE MYMAIL TO=("mail address")
SUBJECT='TEST MAIL FROM SAS'
PUT 'ATTACHMENT Report Test Mail Summary';
A statement that I've seen working sending attachements from a Mainframe was:
attach =("datasetname" ct='text/plain' extension="TXT")
If it's 'only' about special characters: If you dare not to be part of the (US-) English realm in the world then I remember quite a bit of problems with finding the accurate translation table for EBCDIC/ASCII conversions. Does it work in 'normal" email text with the translation of special characters?
I am using the same attach statement.my dataset(file) in mainframe is in EBCDIC format and /charset is ibm-037 and my txt file is ASCII and should be compatible with iso8859-1 to display special characters.Could you please suggest the syntax I can use for that..thanks..