View previous topic :: View next topic
|
Author |
Message |
kavitha_cts
New User
Joined: 09 Feb 2006 Posts: 3 Location: Chennai
|
|
|
|
I want to know how to attach files while sending mails through jcl |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Kavita,
http://www.planetmvs.com/mvsmail/
You will get all information and documnet replatd to mail sending thru mainframe inclusing arratchment.
I already gave this site in your previous post.
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
nirmal.poikaikumaran
New User
Joined: 29 Nov 2005 Posts: 66 Location: Bangalore
|
|
|
|
Hi Kavitha,
Sending mails using MIME application in JCL for an attachment is the famous one.Report kind of excels can be done easily using this.Iam pasting a small piece of code for ur perusal.
Code: |
HELO DOMAIN.NAME
MAIL FROM:<TYPE ?FROM? ADDRESS HERE>
RCPT TO:< TYPE ?TO? ADDRESS HERE >
RCPT TO:< TYPE ?TO? ADDRESS HERE >
DATA
TO:< TYPE ?TO? ADDRESS HERE >
TO:< TYPE ?TO? ADDRESS HERE >
SUBJECT: TYPE SUBJECT HERE
MIME-Version: 1.0
Content-type: multipart/mixed;
boundary="<< boundary_identifier >>"
--<< boundary_identifier >>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi,
TYPE YOUR MESSAGE HERE
--<< boundary_identifier >>
Content-Type: application/octet-stream; name="destination_file.csv"
Content-Transfer-Encoding: ascii
"
|
You can code this in a PSDS and use it with a ICEGENER
to send mail.
Try and let me know in case of further queries |
|
Back to top |
|
|
aishwarya_singh
New User
Joined: 06 Apr 2005 Posts: 21
|
|
|
|
Hi Nirmal,
Regarding This Attachment File mail..Suppose we want to send One or More than one datasets as one or two attachment trough the mail.What changes are needed Can you help me on this.
Regards,
Aishwarya |
|
Back to top |
|
|
aishwarya_singh
New User
Joined: 06 Apr 2005 Posts: 21
|
|
|
|
Can anyone help me on this? |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
Aishwarya,
If you wan to send one or more datasets as an single attachment,
Add a step prior to your EMAIl step to concatinate into single step and Email in the later step.
~Vamsi |
|
Back to top |
|
|
|