Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-07-03 Thread Shmuel Metz (Seymour J.)
In listserv%201106291845202736.0...@bama.ua.edu, on 06/29/2011 at 06:45 PM, Paul Gilmartin paulgboul...@aim.com said: I've long wondered about this. SMTP, on receiving mail and transferring it to the spool translates ASCII to EBCDIC. But it doesn't modify the MIME headers to reflect what it

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-30 Thread Hilario G.
Hello folks, Thanks for your anser to my question. I answer some questions: 1) We have SAS but only on Windows platform not on the mainframe. 2) Actually the files that I want to send via SMTP are generated by application programs and are printed instead of create a file. 3) The user want to

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-30 Thread Joel C. Ewing
(1) not needed. (2) Through the miracle of JCL, any report directed to SYSOUT may instead be directed to a dataset with appropriate parameters depending on the application. That dataset can in turn be copied to a SYSOUT dataset via IEBGENER or IDCAMS REPRO if a separate printout on MVS is

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-30 Thread Paul Gilmartin
On Thu, 30 Jun 2011 07:43:08 -0500, Joel C. Ewing wrote: (2) Through the miracle of JCL, any report directed to SYSOUT may instead be directed to a dataset with appropriate parameters depending This is only probably true. It's possible for the application to have a hard-coded DYNALLOC SYSOUT.

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-30 Thread Mark Regan
Paul gilmartin asked Can it (XMITIP) likwise deal with z/OS Unix files as input?. Yes it can.   Thanks, Mark Regan - Original Message - From: Paul Gilmartin paulgboul...@aim.com To: IBM-MAIN@bama.ua.edu Cc: Sent: Thursday, June 30, 2011 9:14 AM Subject: Re: A JCL SMTP with attached

A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Hilario G.
Hello folks, I have a batch SMTP with the following requirements: 1) Sending files 1-n attachment to the e-mail. 2) I need the user who submit the job appears as a user of the email address of TO: sys...@domain.com Someone can tell me anything about how to do it? Thank you very much

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Lizette Koehler
Hello folks, I have a batch SMTP with the following requirements: 1) Sending files 1-n attachment to the e-mail. 2) I need the user who submit the job appears as a user of the email address of TO: sys...@domain.com Someone can tell me anything about how to do it? Thank you very

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Mark Regan
If you are allowed to use Open Source code (REXX in this case), I recommend that you use XMITIP. It will do what you want and more. XMITIP can be found at: http://www.lbdsoftware.com/   We've been using it for almost ten years at my site. Thanks, Mark Regan - Original Message -

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Dana Mitchell
I second the recommendation for XMITIP Dana On Wed, 29 Jun 2011 05:42:48 -0700, Mark Regan netsfw- ibmm...@yahoo.com wrote: If you are allowed to use Open Source code (REXX in this case), I recommend that you use XMITIP. It will do what you want and more. XMITIP can be found at:

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Shmuel Metz (Seymour J.)
In listserv%201106290600363849.0...@bama.ua.edu, on 06/29/2011 at 06:00 AM, Hilario G. libr...@gmail.com said: I have a batch SMTP with the following requirements: First, you need a program capable of building a message that includes MIME parts. Then you need to pass the message to an e-mail

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Grinsell, Don
This might be a good starting point. You will have to modify things to your liking, but when done it will create and send a plain text file and attach it as mxgreport.txt. There are probably more elegant methods, but this is a starting point you could work from. Note that for MIME the blank

Re: A JCL SMTP with attached files and with the USERID that submit the bath process

2011-06-29 Thread Paul Gilmartin
On Wed, 29 Jun 2011 23:01:38 +, Grinsell, Don wrote: ... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit ... I've long wondered about this. SMTP, on receiving mail and transferring it to the spool translates ASCII to EBCDIC. But it doesn't modify the MIME