Glad to hear that this is a non-issue for your shop, Steve. I just felt like I had to climb up on my soap-box and point this potential pitfall out to you as well as to the rest of the user community so they don't have to suffer through the same issues that I had to experience.
If you happen to have some more time to play with it, I sure would like to see some COBOL code that uses dynamic allocation to create one SPOOL file per email message. At my shop, when I was finally able to pinpoint where the SMTP performance problems originated from, I was lucky. A single JCL-procedure was used to create the mass-mail file(s). So, instead of sending it directly to SYSOUT=(B,SMTP), I added a step to execute a REXX - exec which I had written. It split the big file into individual SPOOL files, one per email message. Worked like a charm, once I had it all figured out. No more SMTP performance problems, no more nasty calls from users. Regards, Ulrich Krueger -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Steve Comstock Sent: Tuesday, March 17, 2009 10:57 To: IBM-MAIN@bama.ua.edu Subject: Re: FW: SYSOUT dynamic allocation in COBOL Ulrich, Well, that would be an issue if there was any heavy use of SMTP here. I was just trying to verify the logic would work, to satisfy the original post. With only one person (me) sending emails (only occasionally and all small), and never more than three users logged on to our zPad at one time, the issues you raise are simply not present. Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com z/OS Application development made easier * Our classes include + How things work + Programming examples with realistic applications + Starter / skeleton code + Complete working programs + Useful utilities and subroutines + Tips and techniques ==> Check out the Trainer's Friend Store to purchase z/OS <== ==> application developer toolkits. Sample code in four <== ==> programming languages, JCL to Assemble or compile, <== ==> bind and test. <== ==> http://www.trainersfriend.com/TTFStore/index.html <== ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html