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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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