View previous topic :: View next topic |
Author |
Message |
srikanth.bh Beginner
Joined: 23 Jul 2004 Posts: 8 Topics: 4
|
Posted: Fri Feb 04, 2005 5:51 pm Post subject: JCL to mail a DATASET directly from mainframes |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
srikanth.bh Beginner
Joined: 23 Jul 2004 Posts: 8 Topics: 4
|
Posted: Mon Feb 07, 2005 6:26 pm Post subject: |
|
|
Kolusu,
Thanks so much
sri. |
|
Back to top |
|
 |
KOUSIK Beginner
Joined: 04 Jan 2005 Posts: 26 Topics: 13
|
Posted: Tue Feb 08, 2005 1:07 am Post subject: |
|
|
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 |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Feb 08, 2005 4:26 am Post subject: |
|
|
Do you have an active SMTP for your system ? _________________ Regards,
Programmer |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Feb 08, 2005 4:24 pm Post subject: |
|
|
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 |
|
 |
|
|