<?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: CMDEXCEL - single quote in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/CMDEXCEL-single-quote/m-p/1934#M104</link>
    <description>Have you tried adding another ' changing Chip's to Chip''s?&lt;BR /&gt;
&lt;BR /&gt;
5    DATA _NULL_;&lt;BR /&gt;
6    FILE CMDEXCEL;&lt;BR /&gt;
7    PUT '[OPEN("C:\Temp\Todd's Test\Book1.xls")]';&lt;BR /&gt;
         ---------------------      -&lt;BR /&gt;
         49                         22&lt;BR /&gt;
                                     ---------&lt;BR /&gt;
                                     201&lt;BR /&gt;
NOTE 49-169: The meaning of an identifier after a quoted string may change in a future SAS&lt;BR /&gt;
             release.  Inserting white space between a quoted string and the succeeding&lt;BR /&gt;
             identifier is recommended.&lt;BR /&gt;
&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, an integer constant,&lt;BR /&gt;
              arrayname, #, $, &amp;amp;, (, +, -, /, //, :, ;, =, ?, @, @@, OVERPRINT, [, _ALL_,&lt;BR /&gt;
              _BLANKPAGE_, _ODS_, _PAGE_, {, ~.&lt;BR /&gt;
&lt;BR /&gt;
ERROR 201-322: The option is not recognized and will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
8    RUN;&lt;BR /&gt;
9&lt;BR /&gt;
10   '"*;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           4.79 seconds&lt;BR /&gt;
      cpu time            0.01 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
11   DATA _NULL_;&lt;BR /&gt;
12   FILE CMDEXCEL;&lt;BR /&gt;
13   PUT '[OPEN("C:\Temp\Todd''s Test\Book1.xls")]';&lt;BR /&gt;
14   RUN;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The file CMDEXCEL is:&lt;BR /&gt;
      File Name=C:\Documents and Settings\sasshb\cmdexcel.dat,&lt;BR /&gt;
      RECFM=V,LRECL=256&lt;BR /&gt;
&lt;BR /&gt;
NOTE: 1 record was written to the file CMDEXCEL.&lt;BR /&gt;
      The minimum record length was 39.&lt;BR /&gt;
      The maximum record length was 39.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.06 seconds&lt;BR /&gt;
      cpu time            0.00 seconds</description>
    <pubDate>Wed, 13 Dec 2006 20:54:48 GMT</pubDate>
    <dc:creator>ToddB</dc:creator>
    <dc:date>2006-12-13T20:54:48Z</dc:date>
    <item>
      <title>CMDEXCEL - single quote</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/CMDEXCEL-single-quote/m-p/1933#M103</link>
      <description>I am attempting to open an Excel spreadsheet but because I have a single quote in the location, it's dying on me.  Can I get around it?  I've tried using a macro var in place of the network location but haven't had any success with that.&lt;BR /&gt;
&lt;BR /&gt;
DATA _NULL_;                                                                                                                            &lt;BR /&gt;
   FILE CMDEXCEL;                                                                                                                       &lt;BR /&gt;
   PUT '[OPEN("N:\PUBLIC\Chip's Adhocs\ADHOCS 2006\balanced_scorecard\XLS\Balance Scoreard Data.xls")]';                                &lt;BR /&gt;
RUN;</description>
      <pubDate>Fri, 08 Dec 2006 16:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/CMDEXCEL-single-quote/m-p/1933#M103</guid>
      <dc:creator>Chip</dc:creator>
      <dc:date>2006-12-08T16:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: CMDEXCEL - single quote</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/CMDEXCEL-single-quote/m-p/1934#M104</link>
      <description>Have you tried adding another ' changing Chip's to Chip''s?&lt;BR /&gt;
&lt;BR /&gt;
5    DATA _NULL_;&lt;BR /&gt;
6    FILE CMDEXCEL;&lt;BR /&gt;
7    PUT '[OPEN("C:\Temp\Todd's Test\Book1.xls")]';&lt;BR /&gt;
         ---------------------      -&lt;BR /&gt;
         49                         22&lt;BR /&gt;
                                     ---------&lt;BR /&gt;
                                     201&lt;BR /&gt;
NOTE 49-169: The meaning of an identifier after a quoted string may change in a future SAS&lt;BR /&gt;
             release.  Inserting white space between a quoted string and the succeeding&lt;BR /&gt;
             identifier is recommended.&lt;BR /&gt;
&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, an integer constant,&lt;BR /&gt;
              arrayname, #, $, &amp;amp;, (, +, -, /, //, :, ;, =, ?, @, @@, OVERPRINT, [, _ALL_,&lt;BR /&gt;
              _BLANKPAGE_, _ODS_, _PAGE_, {, ~.&lt;BR /&gt;
&lt;BR /&gt;
ERROR 201-322: The option is not recognized and will be ignored.&lt;BR /&gt;
&lt;BR /&gt;
8    RUN;&lt;BR /&gt;
9&lt;BR /&gt;
10   '"*;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           4.79 seconds&lt;BR /&gt;
      cpu time            0.01 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
11   DATA _NULL_;&lt;BR /&gt;
12   FILE CMDEXCEL;&lt;BR /&gt;
13   PUT '[OPEN("C:\Temp\Todd''s Test\Book1.xls")]';&lt;BR /&gt;
14   RUN;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The file CMDEXCEL is:&lt;BR /&gt;
      File Name=C:\Documents and Settings\sasshb\cmdexcel.dat,&lt;BR /&gt;
      RECFM=V,LRECL=256&lt;BR /&gt;
&lt;BR /&gt;
NOTE: 1 record was written to the file CMDEXCEL.&lt;BR /&gt;
      The minimum record length was 39.&lt;BR /&gt;
      The maximum record length was 39.&lt;BR /&gt;
NOTE: DATA statement used (Total process time):&lt;BR /&gt;
      real time           0.06 seconds&lt;BR /&gt;
      cpu time            0.00 seconds</description>
      <pubDate>Wed, 13 Dec 2006 20:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/CMDEXCEL-single-quote/m-p/1934#M104</guid>
      <dc:creator>ToddB</dc:creator>
      <dc:date>2006-12-13T20:54:48Z</dc:date>
    </item>
  </channel>
</rss>

