CHARMAIL – Set the at sign (@) for email addresses
Within Workload Automation Programming Language,
the at sign (@) is used to build an email address from any unqualified
addresses in the SENDMAIL
command by using
the character in combination with the OPTIONS MAILSERV
setting.
However, with some code pages the at sign (@) character might be
displayed differently. The CHARAT
keyword
enables you to determine what character is actually in use for your
code page by issuing a SHOW OPTIONS
command.
You can also set the character to be used, so that it matches the
documented character for the code page, for example OPTIONS
CHARAT(@)
CHARxxxx
keywords
or VARNAMES
keyword. - These
OPTIONS
keywords change only these character for the uses specified. When the same characters are used as part of data in your system, or part of field names inOUTPUT
statements or object variables, the characters are displayed according to your code page. - The email addresses from
SENDMAIL
are used by the SMTP task on your system, therefore theCHARMAIL
character must match the user and domain delimiter as understood by your SMTP server setting, for exampledino@rana.com
.