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

Sending a mail from JCL with ATTACHMENT


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

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Fri Dec 11, 2009 11:50 am
Reply with quote

Hi,

Can somebody please guide if we can send a mail from JCL to another Server essentially with an attachment?

Scenario: I am generating a PS which I want to send as an attachment. I am aware of sending data instream using SMTPNOTE. But I think that does not work for Attachments.

Can somebody please elaborate?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Dec 11, 2009 2:04 pm
Reply with quote

MVS Mail page.
Back to top
View user's profile Send private message
abhishek mitra

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Fri Dec 11, 2009 2:16 pm
Reply with quote

superk wrote:
MVS Mail page.


hi Superk,

I have already referred this page but a bit clueless about ATTACHMENT (I need to send the input of SYSUT1 as attachment). It says about Binary files attachment but how could I do the same for a flat/PS file?

also can you please elaborate on the MIME and encoding part?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Dec 11, 2009 2:44 pm
Reply with quote

Learn to search the forum:

1. email an attachment through JCL
2. Email a file from mainframes as attachment
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Dec 11, 2009 2:45 pm
Reply with quote

And also please tell us what you've tried...
Back to top
View user's profile Send private message
abhishek mitra

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Fri Dec 11, 2009 4:24 pm
Reply with quote

Anuj Dhawan wrote:
And also please tell us what you've tried...


Hi Anuj,

Many thanks for those two links. they were really helpful. icon_biggrin.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Dec 14, 2009 5:49 pm
Reply with quote

Hope you get the things working at your end. However, link from Kevin was enough unless it's been overlooked.
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 mail attachment with excel format All Other Mainframe Topics 2
No new posts Problem while sending special charact... JCL & VSAM 4
No new posts How to append Previous date into a S... JCL & VSAM 2
No new posts Pack to Unpack conversion for sending... COBOL Programming 13
No new posts Unable to send mail via CSSMTP to GMA... JCL & VSAM 2
Search our Forums:

Back to Top