<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PROC EXPORT - &amp;lt;&amp;lt;ERROR:   string is duplicated  |&amp;gt;&amp;lt;t&amp;gt;7&amp;lt;/t&amp;gt;|&amp;gt;&amp;gt; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/545192#M269473</link>
    <description>&lt;P&gt;Check there is fix available on SAS Site for this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/62/655.html" target="_blank"&gt;http://support.sas.com/kb/62/655.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 11:53:32 GMT</pubDate>
    <dc:creator>avinashginjupal</dc:creator>
    <dc:date>2019-03-22T11:53:32Z</dc:date>
    <item>
      <title>PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/271439#M269466</link>
      <description>&lt;P&gt;Morning to ALL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i made a program that export some datasets to EXCEL ( from my SAS 9.4 and MS Excel 2016 on Windows 10 Machine -64bit), after 6 different sheets on same file SAS Corrupt the XLSX file and give me the &amp;lt;&amp;lt;&lt;STRONG&gt;ERROR:&amp;nbsp;&amp;nbsp; string is duplicated&amp;nbsp; |&amp;gt;&amp;lt;t&amp;gt;7&amp;lt;/t&amp;gt;|&amp;gt;&amp;gt;&lt;/STRONG&gt; in SAS Environment&lt;STRONG&gt; . &lt;/STRONG&gt;SAS make a backup before replace the XLSX, but when i try to open file EXCEL say "corrupt file".&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any suggesst?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to enginering a program that make some elaborations and export over ten datasets in ten different sheets&lt;/P&gt;&lt;P&gt;this is my simple code(insert in a macroprogram):&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export 
      data      =&amp;amp;DS_INPUT. 
      dbms      =xlsx 
      outfile   ="&amp;amp;FILE." 
      replace;
      sheet     ="&amp;amp;SHEET_NAME.";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;MC&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 15:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/271439#M269466</guid>
      <dc:creator>MC1985</dc:creator>
      <dc:date>2016-05-18T15:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/271470#M269467</link>
      <description>&lt;P&gt;Show the entire code on how &amp;amp;sheet_name is built.&lt;/P&gt;
&lt;P&gt;I would suspect something referencing the same sheet or something NOT acceptable in a sheet name.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 16:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/271470#M269467</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-18T16:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/271661#M269468</link>
      <description>&lt;P&gt;Morning Ballardw,&lt;/P&gt;&lt;P&gt;macro is like that:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%MACRO EXPORT_XLS(DS_INPUT= , FILE= , SHEET_NAME=);

    proc export
      data      =&amp;amp;DS_INPUT.
      dbms      =xlsx
      outfile   ="&amp;amp;FILE."
      replace;
      sheet     ="&amp;amp;SHEET_NAME.";
    run;

%MEND EXPORT_XLS;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the macro's calls are:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET XLS_OUT=C:\_Lavoro\_works\Sole24Ore\_Analisi\_20160513_AnalisiDatiUtentiDigital_per_dataQuality\xls\XLS_AnalisiDigitalV2.xlsx;

%EXPORT_XLS(DS_INPUT	=colonneANADigital, 			FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=COLONNE &amp;amp;DS_IN.		);
%EXPORT_XLS(DS_INPUT	=MISSING_VARS, 					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MISSING				);
%EXPORT_XLS(DS_INPUT	=mail_tot, 						FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL SUMMARY			);
%EXPORT_XLS(DS_INPUT	=mail_per_month, 				FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL TEMPO				);
%EXPORT_XLS(DS_INPUT	=mail_per_tipo_utente, 			FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL per TIPOUTENTE	);
%EXPORT_XLS(DS_INPUT	=mail_per_anno_tipo_utente, 	FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL TIPOUTENTE TEMPO	);
%EXPORT_XLS(DS_INPUT	=mail_per_anno_duplicate, 		FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL DUPLICATE			);
%EXPORT_XLS(DS_INPUT	=mail_duplicate_tipo_utente, 	FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL DUP TIPO UTENTE	);
%EXPORT_XLS(DS_INPUT	=dup_ultimi_due, 				FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL DUPLICATE ULTIMI 2);
%EXPORT_XLS(DS_INPUT	=mail_per_annomeseUTILIZZABILI, FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL UTILIZZABILI		);
%EXPORT_XLS(DS_INPUT	=mail_utils_prod, 				FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL UTIL TIPO PROD	);
%EXPORT_XLS(DS_INPUT	=mail_err_utils_prod, 			FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL ERR TIPO PROD		);
%EXPORT_XLS(DS_INPUT	=mail_canc_per_annomese, 		FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=MAIL CANCELLATE		);
%EXPORT_XLS(DS_INPUT	=indirizzi, 					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=INDIRIZZI				);
%EXPORT_XLS(DS_INPUT	=cf, 							FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=CF						);
%EXPORT_XLS(DS_INPUT	=freq_norm_cf, 					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=NORM CF				);
%EXPORT_XLS(DS_INPUT	=piva, 							FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PIVA					);
%EXPORT_XLS(DS_INPUT	=freq_norm_piva, 				FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=NORM PIVA				);
%EXPORT_XLS(DS_INPUT	=freq_professione, 				FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PROFESSIONE			);
%EXPORT_XLS(DS_INPUT	=SETTORE, 						FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=SETTORE				);
%EXPORT_XLS(DS_INPUT	=privacy,      					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PRIVACY				);
%EXPORT_XLS(DS_INPUT	=privacy_dis,  					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PRIVACY DISCLAIMER		);
%EXPORT_XLS(DS_INPUT	=privacy_mail, 					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PRIVACY MAIL			);
%EXPORT_XLS(DS_INPUT	=privacy_so,   					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PRIVACY SOCIETA		);
%EXPORT_XLS(DS_INPUT	=privacy_pattern, 				FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PRIVACY PATTERN		);
%EXPORT_XLS(DS_INPUT	=pattern_priva_temp, 			FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=PATTERN TEMP			);
%EXPORT_XLS(DS_INPUT	=cell, 							FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=CELLULARE				);
%EXPORT_XLS(DS_INPUT	=cell_norm, 					FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=CELLULARE NORM			);
%EXPORT_XLS(DS_INPUT	=tel, 							FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=TELEFONO				);
%EXPORT_XLS(DS_INPUT	=tel_norm, 						FILE	=&amp;amp;XLS_OUT., 		SHEET_NAME		=TELEFONO NORM			);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the restrictions are:&lt;/P&gt;&lt;P&gt;1. sas name less equal 32 char&lt;/P&gt;&lt;P&gt;2. excel sheet name les equale 31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the error appear in a random way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;P&gt;let me know if you have suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 09:44:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/271661#M269468</guid>
      <dc:creator>MC1985</dc:creator>
      <dc:date>2016-05-19T09:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/281729#M269469</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of any solution to this problem ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 14:17:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/281729#M269469</guid>
      <dc:creator>lleheris</dc:creator>
      <dc:date>2016-07-01T14:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/281744#M269470</link>
      <description>&lt;P&gt;No, i'm so sorry. I create a smaller excel and bypass the errors&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:01:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/281744#M269470</guid>
      <dc:creator>MC1985</dc:creator>
      <dc:date>2016-07-01T15:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/281749#M269471</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It isn't a critical error in my process but I keep hoping that one day someone will&amp;nbsp;find a potential solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 15:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/281749#M269471</guid>
      <dc:creator>lleheris</dc:creator>
      <dc:date>2016-07-01T15:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/356011#M269472</link>
      <description>&lt;P&gt;Did you ever find a resolution to this? I am encountering a similar problem but can't find the solution anywhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like you the error sometimes occurs when I run the script and sometimes doesn't. I am also doing a macros export to an excel file (xlsx) so problem is likely the same. My excel corrupts too. I can get into the excel but other sheets on there have had columns moved and formats changed.&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 15:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/356011#M269472</guid>
      <dc:creator>troopon</dc:creator>
      <dc:date>2017-05-04T15:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT - &lt;&lt;ERROR:   string is duplicated  |&gt;&lt;t&gt;7&lt;/t&gt;|&gt;&gt;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/545192#M269473</link>
      <description>&lt;P&gt;Check there is fix available on SAS Site for this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/62/655.html" target="_blank"&gt;http://support.sas.com/kb/62/655.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 11:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-EXPORT-lt-lt-ERROR-string-is-duplicated-gt-lt-t-gt-7-lt-t/m-p/545192#M269473</guid>
      <dc:creator>avinashginjupal</dc:creator>
      <dc:date>2019-03-22T11:53:32Z</dc:date>
    </item>
  </channel>
</rss>

