JobInfo Substitution Does not Support Special Characters
    • 19 Mar 2026
    • 1 Minute to read
    • Contributors
    • PDF

    JobInfo Substitution Does not Support Special Characters

    • PDF

    Article summary

    Due to rules set in C++, JobInfo names cannot have special characters in them for use with JobInfo Substitution (JobInfo name inside hashtags to return value).

    Examples

    Allowed:

    • Username

    • _Username

    • _1Username

    • User_name

    • U1sername

    Not allowed:

    • 1username

    • User name

    • User-name

    • User.name

    • user/name

    • User:name

    • User,name

    • User%name

    • User&name

    • User@name

    ...and many more.

    Here are some of the basic rules:

    • Variable names in C++ can range from 1 to 255 characters.

    • All variable names must begin with a letter of the alphabet or an underscore(_).

    • After the first initial letter, variable names can also contain letters and numbers.

    • No spaces or special characters are allowed.

    Further information can be found here:

    https://www.tutorialspoint.com/What-are-the-rules-to-declare-variables-in-Cplusplus

    More Information

    For more information about JobInfos and JobInfo substitution, see JobInfos .