View previous topic :: View next topic
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, 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: 8797 Location: Welsh Wales
|
|
|
|
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: 1702 Location: Australia
|
|
|
|
Hi Michael,
here is some code that may assist
Code: |
CURTIME = TIME ();
PUT @062 CURTIME TIME8.
|
Gerry |
|
Back to top |
|
|
|