View previous topic :: View next topic
|
Author |
Message |
vizaiinti
New User
Joined: 08 Feb 2007 Posts: 11 Location: Hyderabad
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Alan Voss
New User
Joined: 29 Nov 2006 Posts: 32 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
|