Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 8657
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 How to display offset thru cobol prog... tvinodkumar7 CICS 2 Sun Apr 22, 2018 8:42 pm
No new posts how to display APL characters? Pedro TSO/ISPF 6 Wed Mar 14, 2018 5:07 am
This topic is locked: you cannot edit posts or make replies. UTC Timestamp Log Thangavel COBOL Programming 5 Mon Jan 22, 2018 9:04 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us