Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Truncation of content while mailing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
prathap_ts
Warnings : 1

New User


Joined: 07 May 2005
Posts: 9
Location: Duluth, US

PostPosted: Wed Mar 14, 2012 1:13 am    Post subject: Truncation of content while mailing
Reply with quote

Facing truncation of content:

My JCL's
Code:

//MAILPROC EXEC PGM=IEBGENER                                     
//SYSIN    DD DUMMY                                               
//SYSPRINT DD SYSOUT=*                                           
//SYSOUT   DD SYSOUT=*                                           
//SYSUT1   DD DSN=USER.MAIL.SMTP.PS,DISP=SHR          *** (LRECL - 9000)       
//         DD DSN=USER.INPUT.FILE.PS,DISP=SHR         *** (LRECL - 9000)
//SYSUT2   DD SYSOUT=(B,SMTP)                             
//         


SMTP - USER.MAIL.SMTP.PS

Code:

HELO MVSHOST                                                     
MAIL FROM: <FIRST1.LAST1@ABC.COM>                         
RCPT TO: <FIRST2.LAST2@XYZ.COM>                           
DATA                                                             
FROM: FIRST1.LAST1                                         
TO:   FIRST2.LAST2                                                   
SUBJECT: MAILING EXCEL SHEET AS AN ATTACHMENT THRU JCL                       
MIME-VERSION: 1.0                                               
IMPORTANCE: HIGH                                                 
CONTENT-TYPE: MULTIPART/MIXED; BOUNDARY="SIMPLE BOUNDARY"       
                                                                 
--SIMPLE BOUNDARY                                               
CONTENT-TYPE: TEXT/PLAIN;                                       
                                                                 
HI FIRST2.LAST2,                                                         
                                                                 
    I'M FACING TRUNCATION PROBLEM WHILE SENDING CONTENT OF PS FILE INTO
    AN EXECL ATTACHMENT IN A MAIL THRU JCL. LRECL OF FILE 9000. BUT THE
    EXCEL SHEET TRANCATING THE CONTENTS AFTER 1024.
   
    PLEASE LET ME KNOW YOUR THOUGHTS 
   
THANKS,                                                         
FIRST1.LAST1                                               

--SIMPLE BOUNDARY                                   
CONTENT-TYPE: TEXT/PLAIN;                           
CONTENT-TRANSFER-ENCODING: 7BIT                     
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=FILE.CSV 
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Mar 14, 2012 1:26 am    Post subject: Reply to: Truncation of content while mailing
Reply with quote

Please review the RFC for the SMTP standards and take special care concerning the limits for line lengths in SMTP.

Here's a previous topic that you can use as a reference.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Get and display content of an address... lind sh CICS 1 Mon Aug 08, 2016 9:18 am
No new posts FTP from windows server into Mainfram... sathyajes All Other Mainframe Topics 24 Wed Jul 20, 2016 1:33 pm
No new posts How to read the content of RRDS and e... Duola32 JCL & VSAM 4 Sat Apr 18, 2015 1:22 pm
No new posts Computing statement truncation sivasaras COBOL Programming 5 Tue Jan 06, 2015 9:33 pm
No new posts Mailing PS dataset - Improper Alignme... Anitha Mohan JCL & VSAM 10 Mon Jan 05, 2015 1:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us