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
 

 

Currentdate at subject of email

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Currentdate at subject of email
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Fri Mar 14, 2014 3:40 pm    Post subject: Reply to: Currentdate at subject of email
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    Post subject:
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    Post subject:
Reply with quote

There are many examples in forum....

http://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    Post subject:
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    Post subject:
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: 1445
Location: Azeroth

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

Hello,

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

Site Director


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

PostPosted: Fri Mar 14, 2014 9:51 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am
No new posts Email trigger through JCL Madhusudhan Prahlad JCL & VSAM 10 Mon Aug 31, 2015 3:43 pm
No new posts Dot "." missing from email ... Harsh Pawar JCL & VSAM 3 Thu Apr 30, 2015 4:13 pm
No new posts Verifying an email id in a file shajeeth DFSORT/ICETOOL 18 Sun Oct 12, 2014 4:24 am


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