IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sending multiple emails with attachment


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
Reply with quote

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

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
Reply with quote

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

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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top