The No Domain Support With the CAN-DO Function (-nocandodomain) parameter forces CAN-DO to treat "@" as a regular character instead of as a delimiter for the domain in a fully qualified user ID.

Operating system and syntax UNIX / Windows -nocandodomain
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session

By default, the CAN-DO function treats the "@" symbol as the domain delimiter in a fully qualified user ID. You can use the -nocandodomain parameter to force CAN-DO to treat the "@" symbol as a regular character. For example:

  • When -nocandodomain is not in use, the statement CAN-DO("abc","abc@") evaluates to TRUE because both strings are interpreted as user abc in the blank domain.
  • When -nocandodomain is in use, the statement CAN-DO("abc","abc@") evaluates to FALSE.

You can achieve the same effect within the session by setting the CAN-DO-DOMAIN-SUPPORT attribute on the SECURITY-POLICY handle to FALSE. Similarly, setting the CAN-DO-DOMAIN-SUPPORT attribute to TRUE will override -nocandodomain. See ABL Reference for more information.