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: 4649
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 upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm


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