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
 

 

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 Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm


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