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(@)
The characters you can use for these options cannot be standard
upper or lower case alphabetic characters, numbers, minus signs (-)
or periods (.). They must not be in conflict with any other
CHARxxxx keywords
or VARNAMES keyword. Note:
- These
OPTIONSkeywords 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 inOUTPUTstatements or object variables, the characters are displayed according to your code page. - The email addresses from
SENDMAILare used by the SMTP task on your system, therefore theCHARMAILcharacter must match the user and domain delimiter as understood by your SMTP server setting, for exampledino@rana.com.