IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SAS mailing line split problem


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vizaiinti

New User


Joined: 08 Feb 2007
Posts: 11
Location: Hyderabad

PostPosted: Fri Dec 07, 2007 6:41 pm
Reply with quote

I am sending a file as an attachment (ATTACH= option) to mail in my job. It is of length 1054. The problem is that each line of data is being split into two after 990 bytes. Can someone help me in getting all 1054 bytes in single line?
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Dec 07, 2007 8:55 pm
Reply with quote

Seems like I remember that this was a known problem with SAS (handling any attachment with an LRECL > 1024). I believe that they had a fix in the works. Have you contacted them yet?
Back to top
View user's profile Send private message
Alan Voss

New User


Joined: 29 Nov 2006
Posts: 32
Location: Jacksonville, FL

PostPosted: Fri Dec 07, 2007 11:12 pm
Reply with quote

From SAS support
Problem Note 9717: Problems sending attachments with record length greater than 990 bytes using EMAIL access method
Type: Problem Note
Priority: medium
Topic: Data Management ==> Access ==> External I/O
Date Modified: 2003-04-01 10:35:16
Date Created: 2003-04-01 10:35:16
--------------------------------------------------------------------------------
Using the FILENAME EMAIL access method to attach a data set with a
record length greater than 990 causes the data set to be broken into
smaller records.

When the attachment is opened, the record will be separated by carriage
return/line feed markers, thus breaking the one long record into several
smaller records.

There is a SMTP limit that no lines can be longer than 1000, this
includes headers. SAS breaks longer lines around 991 bytes (to allow for
any header addition).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
Search our Forums:

Back to Top