IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Display Current Timestamp in EMAIL SENT THRU SAS in JCL


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Michael Leonardo

New User


Joined: 10 Jun 2008
Posts: 4
Location: Manila

PostPosted: Tue Jun 10, 2008 5:47 pm
Reply with quote

Does anybody know how to display current timestamp in an email in sent by the JCL using SAS?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jun 10, 2008 5:52 pm
Reply with quote

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
View user's profile Send private message
Michael Leonardo

New User


Joined: 10 Jun 2008
Posts: 4
Location: Manila

PostPosted: Tue Jun 10, 2008 5:57 pm
Reply with quote

Anywhere, but better if i could put it in the body...
Back to top
View user's profile Send private message
Michael Leonardo

New User


Joined: 10 Jun 2008
Posts: 4
Location: Manila

PostPosted: Tue Jun 10, 2008 6:02 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 10, 2008 6:03 pm
Reply with quote

How do you currently build the body section ?
Back to top
View user's profile Send private message
Michael Leonardo

New User


Joined: 10 Jun 2008
Posts: 4
Location: Manila

PostPosted: Wed Jun 11, 2008 10:16 am
Reply with quote

PUT "REFERENCE CODE: CURRENT TIMESTAMP...

would that be possible?
does anyone know any similar method?
Thanks!
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Jun 11, 2008 10:59 am
Reply with quote

Hi Michael,

here is some code that may assist


Code:
    CURTIME = TIME  ();   


PUT @062 CURTIME TIME8.   




Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts To get the count of rows for every 1 ... DB2 3
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top