Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-18 Thread Seymour J Metz
Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Dale R. Smith [dale-sm...@columbus.rr.com] Sent: Monday, May 18, 2020 12:17 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN On Mon, 18 May 2020 10:15:55 +, Seymour J Metz wrote:

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-18 Thread Dale R. Smith
On Mon, 18 May 2020 10:15:55 +, Seymour J Metz wrote: >> f you allocate a DD in your JCL with SYSOUT going to SMTP, and specify >> FREE=CLOSE, >> then your emails will be sent to SMTP when you close the DD in REXX, (EXECIO >> with FINIS option). >> You can use the same DD over and over as l

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-18 Thread Seymour J Metz
inframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Dale R. Smith [dale-sm...@columbus.rr.com] Sent: Sunday, May 17, 2020 10:24 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN On Fri, 15 May 2020 13:08:40 -0700, Charles Mills wrote: >I am d

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Dale R. Smith
On Fri, 15 May 2020 13:08:40 -0700, Charles Mills wrote: >I am designing a long-running Rexx program that will from time to time >generate an e-mail via the SMTP server. The idea is to allocate a DD >SYSOUT=(B,SMTP) and write the SMTP commands to it. I've never done that >before so I have some qu

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Seymour J Metz
scott Ford [idfli...@gmail.com] Sent: Sunday, May 17, 2020 3:55 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN Seymour, Rxsock - TCPIP guide for OOrexx Chapter 8 specifically. Scott On Sun, May 17, 2020 at 3:34 PM Seymour J Metz wrote

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Seymour J Metz
du/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Sunday, May 17, 2020 4:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN So "spin" is more or

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Charles Mills
17, 2020 12:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN > How does one "issue" SPIN=UNALLOC? With a DD statement in the JCL. That's part of why I find the text confusing. > What is a "spin SYSOUT data set" other than

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread scott Ford
; Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > > From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf > of Charles Mills [charl...@mcn.org] > Sent: Sunday, May 17, 2020 3:11 PM > To: IBM-MAIN@LISTSERV.UA.EDU &g

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Seymour J Metz
do I allocate an independent track group? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Sunday, May 17, 2020 11:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP D

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Seymour J Metz
[IBM-MAIN@LISTSERV.UA.EDU] on behalf of scott Ford [idfli...@gmail.com] Sent: Sunday, May 17, 2020 2:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN Charles, Oorexx on Linux or USS has a built in SMTP class with examples Scott On Sun

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Charles Mills
me Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Seymour J Metz Sent: Sunday, May 17, 2020 11:50 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN > What options are those? "For applications that dynamically allocate a spin

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Seymour J Metz
mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Sunday, May 17, 2020 11:19 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread scott Ford
rame Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Cieri, Anthony > Sent: Sunday, May 17, 2020 8:48 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN > > I believe that zOS V2R2

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Charles Mills
know) and soon to be V2R4. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Cieri, Anthony Sent: Sunday, May 17, 2020 8:48 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Cieri, Anthony
: Looking for clarification/guidance on SMTP DD FREE/SPIN [[ SEI WARNING *** This email was sent from an external source. Do not open attachments or click on links from unknown or suspicious senders. *** ]] > Haven't you switched to CSSMTP? What's the drop dead date on SMTP? Nope and

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Charles Mills
> Haven't you switched to CSSMTP? What's the drop dead date on SMTP? Nope and I don't know. I Googled and and got no hits. Do you know? > Do you want the SPOOL space release after the e-mail goes out? If you do dynamic allocation then you need to use the right options. Thank you. Yes. What opt

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Charles Mills
g for clarification/guidance on SMTP DD FREE/SPIN How about utilizing Lionel's excellent XMITIP package to generate and send the emails? Dana On Fri, 15 May 2020 13:08:40 -0700, Charles Mills wrote: >I am designing a long-running Rexx program that will from time to time >genera

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Seymour J Metz
//mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Charles Mills [charl...@mcn.org] Sent: Friday, May 15, 2020 4:08 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Looking for clarification/guidance on SMTP DD

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-17 Thread Dana Mitchell
How about utilizing Lionel's excellent XMITIP package to generate and send the emails? Dana On Fri, 15 May 2020 13:08:40 -0700, Charles Mills wrote: >I am designing a long-running Rexx program that will from time to time >generate an e-mail via the SMTP server. -

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Charles Mills
M Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Friday, May 15, 2020 2:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN On Fri, 15 May 2020 13:50:08 -0700, Charles Mills wrote: >Thanks. Yeah, I love B

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Paul Gilmartin
On Fri, 15 May 2020 13:50:08 -0700, Charles Mills wrote: >Thanks. Yeah, I love BPXWDYN but ALLOC/FREE would be easier here. > How? I prefer BPXWDYN because of the finer control of error reporting. And I use RTDDN() lest the Exec be embedded in a larger process with the risk of DDNAME collision,

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Allan Staller
mentioned that. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Steve Smith Sent: Friday, May 15, 2020 1:31 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN The only difference I

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Charles Mills
: Looking for clarification/guidance on SMTP DD FREE/SPIN The only difference I can see between ALLOC and bpxwdyn is that the former requires a TSO environment. That's usually not much of a burden, but if you want to run under IRXJCL, you'd have to go with bpxwdyn. I also like that i

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Charles Mills
@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN Submit a job to send the email. The email body won't overwhelm SYSIN. The REXX program Just needs to put a wrapper around the email and submit. -

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Charles Mills
ssage- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mike Schwab Sent: Friday, May 15, 2020 1:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN If you know how often the email is to be sent (1/2/3/4 times a day

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Charles Mills
ay 15, 2020 1:20 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Looking for clarification/guidance on SMTP DD FREE/SPIN Sounds right to me, but in REXX, I've always just done the following: "ALLOC FI(MAIL) SYSOUT(B) WRITER(SMTP) LRECL(80) RECFM(F)" Then open, write to it, close it,

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Steve Smith
The only difference I can see between ALLOC and bpxwdyn is that the former requires a TSO environment. That's usually not much of a burden, but if you want to run under IRXJCL, you'd have to go with bpxwdyn. I also like that it supports system-generated ddname that it will return, although that d

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Roberto Halais
close it, and free it; repeat. > > First Horizon Bank > Mainframe Technical Support > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Charles Mills > Sent: Friday, May 15, 2020 4:09 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subj

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Steve Smith
I think you've got it right. When a DD is unallocated, the DDNAME is indeed gone, except... you can put duplicate DDNAMES in JCL for a step, and when the first is freed, the next one steps in. So you could avoid calling bpxwdyn by pre-allocating a bunch of them. More or less obviously, that's no

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Wayne Bickerdike
Submit a job to send the email. The email body won't overwhelm SYSIN. The REXX program Just needs to put a wrapper around the email and submit. On Sat, May 16, 2020, 06:08 Charles Mills wrote: > I am designing a long-running Rexx program that will from time to time > generate an e-mail via the S

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Mike Schwab
If you know how often the email is to be sent (1/2/3/4 times a day) and the Bounce (IPL) schedule, you can repeat the DDNAME and each message will use 1 DDNAME iteration. On Fri, May 15, 2020 at 8:08 PM Charles Mills wrote: > > I am designing a long-running Rexx program that will from time to tim

Re: Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Jackson, Rob
Discussion List On Behalf Of Charles Mills Sent: Friday, May 15, 2020 4:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Looking for clarification/guidance on SMTP DD FREE/SPIN [External Email. Exercise caution when clicking links or opening attachments.] I am designing a long-running Rexx program

Looking for clarification/guidance on SMTP DD FREE/SPIN

2020-05-15 Thread Charles Mills
I am designing a long-running Rexx program that will from time to time generate an e-mail via the SMTP server. The idea is to allocate a DD SYSOUT=(B,SMTP) and write the SMTP commands to it. I've never done that before so I have some questions: - Am I correct in my assumption that I will have to "