Using system variables in email subject
Using system variables in email subject
I already use system variables in the email body but how can we use system variable like %%MONTH, %%YEAR on the subject line of an email which is sent using DO MAIL? if not, how can we use variable on the subject line? thanks.
- Nightwatchrenband
- Nouveau
- Posts: 28
- Joined: 24 Jul 2012 12:00
- Location: Long Beach, CA
Works fine in V7+
I am on v7 and it works just fine. Indeed I have system vars set for standard DOMAIL messages used by almost all jobs. Saves a lot of time and gives users a consistent message format . There is one "gotcha" an that is the 99 char limit in Subject lines. Easy to exceed when using Symbolics. You might try symbolics in the message lines where they also work.
- moldyscull
- Nouveau
- Posts: 2
- Joined: 18 Nov 2013 12:00
What Version of 6.4?
Hello,
We are using CM 6.4.01.500 version and variables in the Subject line do not work.
What version of 6.4 are you using to get variables in the Subject????
-Goo
We are using CM 6.4.01.500 version and variables in the Subject line do not work.
What version of 6.4 are you using to get variables in the Subject????
-Goo
Can some post a working example of how autoedit variables work on a subject line of a mail. Per the 6.4 paramters guide autoedit variables can be used in:
Parameters that accept AutoEdit variables
AutoEdit variables can be specified as values for any of the following job processing parameters. These variables are resolved to actual values at time of job submission.
Command
Do Mail (the To and Message fields)
Do Shout (the Destination and Message fields)
Do Sysout (Prm field)
File Name
In Condition (system variables can be specified as the entire value)
Mem Lib
Mem Name
Out Condition (system variables can be specified as the entire value)
Over Lib
Path
Quantitative Resource (system variables can be specified as the entire value)
Shout (the Destination and Message fields)
Step Range
Sysout (Prm parameter)
From 8.0 parameter guide. page 167
Subject->Variable Support: No. A variable or expressioin cannot be specified as all or part of the value for this parameter.
regards
Parameters that accept AutoEdit variables
AutoEdit variables can be specified as values for any of the following job processing parameters. These variables are resolved to actual values at time of job submission.
Command
Do Mail (the To and Message fields)
Do Shout (the Destination and Message fields)
Do Sysout (Prm field)
File Name
In Condition (system variables can be specified as the entire value)
Mem Lib
Mem Name
Out Condition (system variables can be specified as the entire value)
Over Lib
Path
Quantitative Resource (system variables can be specified as the entire value)
Shout (the Destination and Message fields)
Step Range
Sysout (Prm parameter)
From 8.0 parameter guide. page 167
Subject->Variable Support: No. A variable or expressioin cannot be specified as all or part of the value for this parameter.
regards