Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> All Other Mainframe Topics
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    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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, 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: 8593
Location: Back in jolly old England

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: 1703
Location: Australia

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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us