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:
  1. 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 in OUTPUT statements or object variables, the characters are displayed according to your code page.
  2. The email addresses from SENDMAIL are used by the SMTP task on your system, therefore the CHARMAIL character must match the user and domain delimiter as understood by your SMTP server setting, for example dino@rana.com.