MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCL to mail a DATASET directly from mainframes

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
srikanth.bh
Beginner


Joined: 23 Jul 2004
Posts: 8
Topics: 4

PostPosted: Fri Feb 04, 2005 5:51 pm    Post subject: JCL to mail a DATASET directly from mainframes Reply with quote

Hi all,

I need to know the possibility of mailing a dataset to a personal mail id directly from mainframes through JCL. Any help is highly appreciated.

Thanks,
kanth
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Feb 04, 2005 6:13 pm    Post subject: Reply with quote

srikanth.bh,


Please search before posting. This topic has been discussed earlier. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=439&highlight=mail

http://www.mvsforums.com/helpboards/viewtopic.php?t=3223&highlight=mail

http://www.mvsforums.com/helpboards/viewtopic.php?t=2667&highlight=mail

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
srikanth.bh
Beginner


Joined: 23 Jul 2004
Posts: 8
Topics: 4

PostPosted: Mon Feb 07, 2005 6:26 pm    Post subject: Reply with quote

Kolusu,

Thanks so much

sri.
Back to top
View user's profile Send private message
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Tue Feb 08, 2005 1:07 am    Post subject: Reply with quote

Hi Kolusu,

I tried with the JCL in the link you mentioned but I am not getting any mails.

I am getting a maxxcc 0 but not receiving any mails. In the SYSPRINT it just says

DATA SET UTILITY - GENERATE
SYNCSORT COPY FEATURE CALLED - RC = 0

Also, I think the mail options are not working...is MAIL FROM, RCPT TO are keywords. I am not sure how to use them and I just copied the JCL you have specified with slight modifications.

For me, as I guess the IEBGENER utility is getting invoked and not the mailing options. Only the generic copy feature is working and nothing more than.

Also, I AM NOT TRYING TO SEND A DATASET BUT SIMPLY TRYING TO SEND A MESSAGE TO MY MAIL ID.

Please let me know how I should manipulate with the mailing as I haven't done this before.

Your help is greatly appreciated...

Thanks,
Kousik
Back to top
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Feb 08, 2005 4:26 am    Post subject: Reply with quote

Do you have an active SMTP for your system ?
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Feb 08, 2005 4:24 pm    Post subject: Reply with quote

We use SAS and sockets for SMTP, so I can't help much. However, according to "Chapter 6. Sending electronic mail using SMTP commands" of the z/OS TCP/IP Users Guide:
Quote:

The SMTP delivery queues can be queried by sending a dataset with the SMTP commands VERB ON and QUEU to the SMTP address space. A batch SMTP response dataset is returned with the results of the VERB command.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group