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
 
Sending a mail from JCL with ATTACHMENT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Sending a mail from JCL with ATTACHMENT
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

Moderator Team Head


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

PostPosted: Fri Dec 11, 2009 2:04 pm    Post subject: Reply to: Sending a mail from JCL with ATTACHMENT
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    Post subject: Re: Reply to: Sending a mail from JCL with ATTACHMENT
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

Senior Member


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

PostPosted: Fri Dec 11, 2009 2:44 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Dec 11, 2009 2:45 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Mon Dec 14, 2009 5:49 pm    Post subject:
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    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 sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts How to sending system service request... lind sh IMS DB/DC 5 Sun Apr 10, 2016 12:02 am

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