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

Currentdate at subject of email


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Fri Mar 14, 2014 2:47 pm
Reply with quote

hi folks,

i need to insert date at the subject of email, sending in jcl through smtp.

i googled but didn't found. icon_sad.gif

please help.
Back to top
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Fri Mar 14, 2014 2:58 pm
Reply with quote

You can use SORT in JCL to generate your subject of email with date/time stamp.
Back to top
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Fri Mar 14, 2014 3:08 pm
Reply with quote

Hi MFKid,

could you provide me with example, i have tried but didn't get.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Mar 14, 2014 3:40 pm
Reply with quote

did You search the forum?
there are quite a few examples around
Back to top
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Fri Mar 14, 2014 3:42 pm
Reply with quote

i have gone through but didn't found. icon_sad.gif
Back to top
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Fri Mar 14, 2014 3:48 pm
Reply with quote

There are many examples in forum....

ibmmainframeforum.com/viewtopic.php?f=16&t=8802
Back to top
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Fri Mar 14, 2014 4:09 pm
Reply with quote

MFKid,

i need to display date in email subject. please help
Back to top
View user's profile Send private message
TheMFKid

New User


Joined: 20 Nov 2013
Posts: 91
Location: India

PostPosted: Fri Mar 14, 2014 4:25 pm
Reply with quote

How are you sending the email?. Post your JCL for sending the email

If you are using SMTP thru IEBGENER, you can just concatinate the dataset(with subject and date) just after your FROM and TO cards and before the email body/content.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Mar 14, 2014 7:35 pm
Reply with quote

Hello,

Do you have SAS at your shop?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 14, 2014 9:51 pm
Reply with quote

Hello,

Quote:
i need to display date in email subject. please help


Can you not use the link provided to see how to get the date. This is only one of several ways to get the date.

Are you hoping (expecting) someone here to do the work for you?

Why have you not posted what you have so far?

d
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
No new posts Problem while sending special charact... JCL & VSAM 4
No new posts TXT2PDF and then SMTP email a PDF JCL & VSAM 4
No new posts Send email without SMTP All Other Mainframe Topics 5
Search our Forums:

Back to Top