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 write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm

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