Problem Note 13467: Emailing .XLS file from MVS generates "ERROR: Truncation Occurred"
If a .XLS file is created with the tagset MSOFFICE2K, and an attempt is
made to email that file using the EMAIL access method on the FILENAME
statement, the following error may be generated:
ERROR: Truncation occurred.
The file is an HTML file which has become too wide for the EMAIL access
method to correctly transport. The circumvention is to specify an LRECL
for the attachment as illustrated below.
ATTACH=('location(file)' EXT='XLS' lrecl=n)
Where N matches the largest/longest record in the file.
The following PROC TEMPLATE code will also provide a workaround.
proc template;
edit tagsets.phtml;
define event breakline;
put "<br";
put $empty_tag_suffix;
put ">" NL ;
end;
end;
run;
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Topic: | SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2004-11-05 14:40:25 |
Date Created: | 2004-09-28 10:50:50 |