Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Email

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
elixir1986

New User


Joined: 10 Nov 2015
Posts: 20
Location: USA

PostPosted: Thu Mar 14, 2019 10:04 pm    Post subject: Email
Reply with quote

Hi Team,

I am using the SAS module to email mainframe file to an email address. I found out through testing that maximum allowable record length is 999 for successful email transmission.

I could not find out what is the maximum number of records (and record length combination) could be successfully transmitted.
I tested with record length of 100 bytes and about 700K records, the transmission failed with RC=0008,

Code:
ERROR: Email server did not respond.                               
NOTE: The SAS System stopped processing this step because of errors.

Could any of experts clarify if the record length limit and number of records limit that can be successfully transmitted using the SAS emailing utility?

Could any of experts clarify if the record length limit and number of records limit is an issue with the target email server or is it a limitation of the SAS emailing utility?

Many thanks in advance for all your responses!
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8430
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 14, 2019 11:55 pm    Post subject: Reply to: Email
Reply with quote

SMTP-based emails (such as SAS) are limited to 1000 bytes per record per the RFC specification. There typically is 1 or 2 bytes for end-of-line (LF or CR/LF) so 998 or 999 is the longest record.

We cannot tell you the maximum number of records you can transmit -- that depends upon settings in your TCP/IP configuration and these are generally customized per site. Specifically, the SMTP MAXMAILBYTES configuration setting determines the maximum size in bytes of mail messages sent using TCP/IP. The default is 524288 (or 512K) and cannot be more than 2147483647 (2G-1). Since system resources are impacted by this setting, you MUST contact your site support group to find out your site limit.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to send email along with formated... wik123 JCL & VSAM 5 Thu Aug 09, 2018 9:48 am
No new posts Need Help on sending email by includi... wik123 JCL & VSAM 9 Mon Jul 30, 2018 2:59 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us