Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Display Current Timestamp in EMAIL SENT THRU SAS in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics
Author Message
Michael Leonardo

New User


Joined: 10 Jun 2008
Posts: 4
Location: Manila

PostPosted: Tue Jun 10, 2008 5:47 pm    Post subject: Display Current Timestamp in EMAIL SENT THRU SAS in JCL
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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3265
Location: Charlotte,NC USA

PostPosted: Tue Jun 10, 2008 5:52 pm    Post subject: Reply to: Display Current Timestamp in EMAIL SENT THRU SAS i
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    Post subject:
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    Post subject:
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: 3509
Location: Brussels once more ...

PostPosted: Tue Jun 10, 2008 6:03 pm    Post subject:
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    Post subject:
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: 653

PostPosted: Wed Jun 11, 2008 10:59 am    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1