I am faced with two challenges in creating ODS output with SAS 9.3. I am creating a mail merge data file with an ID column, then 6 additional columns with messages. Everyone will have at least one message and some will have more than one up to the six, meaning lots of empty cells all around. Some messages contain over 1024 characters. The ID cell can have up to two leading zeroes. I have tried to create a modified csv tagset to deal with leading zeroes and that seems to work in a very simple query, but when I assign the adjusted templace to the ODC CSV process, the output is garbage. Quotes start appearing in multiple columns and many columns are shifted. If I use the plain ods csv process and add an options (quoted_columns='1'), then my column layout looks great, but I don't see leading zeroes appearing on IDs in that first column. Trying to add this quoted_columns option to the modified tagset causes a crash. I might not be adding it correctly, though. I can't use ODS EXCELXP because of the 1024 character limitation. Any ideas are appreciated. Thanks!
... View more