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 multiple emails with attachment

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
slick__deals

New User


Joined: 13 Sep 2006
Posts: 2

PostPosted: Wed Sep 13, 2006 10:43 pm    Post subject: Sending multiple emails with attachment
Reply with quote

I am newbie in Mainframe.

I have a SQR program (SQR is a language to create reports or run processes), which would generate multiple reports one after other for each department. My task is to send that report to the manager based on the department.

Is this possible in Mainframe ?

In SQR we have facility to call command line, not very sure if there could be a command I can run in Mainframe to trigger email.

In unix i can call command line
e.g: System("sendmail -t abcd@xyz.com ...........");

Is there something in Mainframe to do similar task ?

Thanks in advance
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Sep 14, 2006 12:54 am    Post subject: Re: Sending multiple emails with attachment
Reply with quote

It's not really clear what you want to do here, but what's wrong with sendmail:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B950/7.0?DT=20050708142126
Back to top
View user's profile Send private message
slick__deals

New User


Joined: 13 Sep 2006
Posts: 2

PostPosted: Thu Sep 14, 2006 4:51 am    Post subject: Re: Sending multiple emails with attachment
Reply with quote

Kevin wrote:
It's not really clear what you want to do here, but what's wrong with sendmail:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B950/7.0?DT=20050708142126



Is sendmail a command in Mainframe ?
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Sep 14, 2006 6:55 am    Post subject: Re: Sending multiple emails with attachment
Reply with quote

According to the z/OS Unix System Services Command Reference it is.
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Sep 14, 2006 7:07 am    Post subject: Re: Sending multiple emails with attachment
Reply with quote

Outside of using Unix sendmail, does your MVS system have an active SMTP server task?
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

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