It is currently 26 May 2017 1:38


Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 06 Jun 2013 12:16 
Offline
Nouveau
Nouveau
User avatar

Joined: 05 Oct 2012 8:00
Posts: 3
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.


Top
   
 Post subject:
PostPosted: 10 Jun 2013 9:30 
Offline
Nouveau
Nouveau
User avatar

Joined: 06 Feb 2013 9:00
Posts: 14
Location: Frankfurt
the same way.
put the variable %%MONTH in the subject field at the DO MAIL Statement.
it works also in version 6.4

regards
manfred


Top
   
 Post subject:
PostPosted: 14 Jun 2013 11:27 
Offline
Nouveau
Nouveau
User avatar

Joined: 05 Oct 2012 8:00
Posts: 3
jobschubse wrote:
the same way.
put the variable %%MONTH in the subject field at the DO MAIL Statement.
it works also in version 6.4

regards
manfred


Sorry it's not working for me, this is why I asked the question. I use version 6.04.01. There must be something wrong with it.


Top
   
 Post subject: Works fine in V7+
PostPosted: 15 Jun 2013 2:14 
Offline
Nouveau
Nouveau
User avatar

Joined: 24 Jul 2012 8:00
Posts: 28
Location: Long Beach, CA
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.


Top
   
 Post subject:
PostPosted: 18 Nov 2013 10:42 
Offline
Nouveau
Nouveau
User avatar

Joined: 18 Nov 2013 9:00
Posts: 2
jobschubse wrote:
the same way.
put the variable %%MONTH in the subject field at the DO MAIL Statement.
it works also in version 6.4

regards
manfred



This is another information and ideas for me:) Thanks!


Top
   
 Post subject: What Version of 6.4?
PostPosted: 01 Jul 2014 5:18 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Sep 2010 8:00
Posts: 73
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


Top
   
 Post subject:
PostPosted: 09 Jul 2014 3:27 
Offline
Nouveau
Nouveau
User avatar

Joined: 14 Jan 2010 9:00
Posts: 58
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+10:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved