|
|
| Author |
Message |
Michael Leonardo
New User
Joined: 10 Jun 2008 Posts: 4 Location: Manila
|
|
|
|
| Does anybody know how to display current timestamp in an email in sent by the JCL using SAS? |
|
| Back to top |
|
 |
References
|
Posted: Tue Jun 10, 2008 5:47 pm Post subject: Re: Display Current Timestamp in EMAIL SENT THRU SAS in JCL |
 |
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3172 Location: Charlotte,NC USA
|
|
|
|
| In what format do you want this "current timestamp"? Where do you want to use it, in the Subject or as part of the body of the email text? |
|
| Back to top |
|
 |
Michael Leonardo
New User
Joined: 10 Jun 2008 Posts: 4 Location: Manila
|
|
|
|
| Anywhere, but better if i could put it in the body... |
|
| Back to top |
|
 |
Michael Leonardo
New User
Joined: 10 Jun 2008 Posts: 4 Location: Manila
|
|
|
|
| format would likely be HH:MM:SS or HH:MM whatever, the important thing is that I be able to show the timestamp in the email |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3234 Location: Brussels once more ...
|
|
|
|
| How do you currently build the body section ? |
|
| Back to top |
|
 |
Michael Leonardo
New User
Joined: 10 Jun 2008 Posts: 4 Location: Manila
|
|
|
|
PUT "REFERENCE CODE: CURRENT TIMESTAMP...
would that be possible?
does anyone know any similar method?
Thanks! |
|
| Back to top |
|
 |
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 574
|
|
|
|
Hi Michael,
here is some code that may assist
| Code: |
CURTIME = TIME ();
PUT @062 CURTIME TIME8.
|
Gerry |
|
| Back to top |
|
 |
|
|