<?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 import excel - Default character in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/278417#M1850</link>
    <description>&lt;P&gt;If you want PROC IMPORT to have an option to import all fields as character, please vote:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/PROC-IMPORT-all-fields-as-character/idi-p/278415#M2011" target="_blank"&gt;PROC IMPORT -- all fields as character&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jun 2016 22:02:00 GMT</pubDate>
    <dc:creator>agoldma</dc:creator>
    <dc:date>2016-06-18T22:02:00Z</dc:date>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16058#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I wish to&amp;nbsp; use PROC IMPORT to import a .XLS file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to import all my columns as character?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 12:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16058#M392</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-09-25T12:22:22Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16059#M393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I believe that this needs to be done in excel prior to importing.&amp;nbsp; Here's how:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Here's what you have to do to -really- ensure an Excel column is classified as text:&lt;/P&gt;&lt;P&gt;To REALLY change the format of an Excel column:&lt;/P&gt;&lt;P&gt;1) hilight the entire column&lt;/P&gt;&lt;P&gt;2) Click Data in menu bar&lt;/P&gt;&lt;P&gt;3) Choose Text to Columns&lt;/P&gt;&lt;P&gt;4) Click Next&lt;/P&gt;&lt;P&gt;5) Click Next&lt;/P&gt;&lt;P&gt;6) Column data format will say General, click Text radio button&lt;/P&gt;&lt;P&gt;7) Click Finish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 13:28:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16059#M393</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2011-09-27T13:28:45Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16060#M394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try using the MIXED=YES option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Linus&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 08:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16060#M394</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-09-29T08:25:58Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16061#M395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;What you have suggested does work but what i wanted was that even my numeric columns should be read as character . i.e. I should not have to convert the column to character in the physical excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Linus,&lt;/P&gt;&lt;P&gt;The Mixed&amp;nbsp; = yes would also not resolve my purpose in this condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate you help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 07:04:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16061#M395</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-10-12T07:04:56Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16062#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Is the basic problem that when you IMPORT the order of the variables changes from the Excel file when compared to the SAS data set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16062#M396</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-11-16T15:06:11Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16063#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Out of curiosity, how many rows and columns do you have in the spreadsheet and is this a one-time need or code you are creating for a production environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 15:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16063#M397</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-11-16T15:13:49Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16064#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I believe using IMPORT you may have to make the changes in Excel as SAS is requesting data that is processed through the JET or similar Excel engine. The engine tells SAS whether the values are numeric or string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not have a lot of workbooks/sheets to process you could save the worksheets as CSV and use the Proc Import for CSV. This alone doesn't fix your issue. However the proc import will create data step code to read the CSV file and you can change the INFORMAT statements to $ formats of the appropriate length.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 00:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16064#M398</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-11-17T00:13:24Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16065#M399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry for the delayed reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me first put forward my concern. I have multiple users each of who upload an excel file to my sas directory. Post which a batch job runs to process these files&amp;nbsp; Now there are two columns one is an ID and the other a Pincode. Now ideally these two columns are supposed to be character columns with numeric digits. But certain users may upload it as character in their excel where as others may upload it as numeric.&lt;/P&gt;&lt;P&gt;So i wanted to check if it was possible to import the data as character irrespective of the type in which the user has uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though i am not facing any issues even if the columns are imported in numeric. I just wanted to know if what i was asking was possible.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Judging from what i have read and others have suggested changing the physical file seems to be the only optiion available currently...&lt;/P&gt;&lt;P&gt;Thanks... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 19:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16065#M399</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-11-29T19:09:23Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16066#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; My earlier reply to your email was redundant to earlier replies.&amp;nbsp; You may try this.&amp;nbsp; when you run proc import you can go to your log and you'll see something like what's below.&amp;nbsp; you can copy this from the log and paste it into your program editor.&amp;nbsp; Then, let's say you want to change q_1 to numeric.&amp;nbsp; Get rid of the $ sign on the informat q_1 line and also the format line (see bold highlights.)&amp;nbsp; Now, submit this data step and it will change q_1 to numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIR&gt;&lt;DIR&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;P align="left"&gt;457 data WORK.CC_2 ; &lt;/P&gt;&lt;P align="left"&gt;458 %let _EFIERR_ = 0; /* set the ERROR detection macro variable */ &lt;/P&gt;&lt;P align="left"&gt;459 infile 'C:\Documents and Settings\DASC\Desktop\SUGI05_CC_1.csv' delimiter = ',' MISSOVER &lt;/P&gt;&lt;P align="left"&gt;459! DSD lrecl=32767 firstobs=2 ; &lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;460 informat q_1 $5. ; &lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;461 informat q2_6 best32. ; &lt;/P&gt;&lt;P align="left"&gt;462 informat q7_9 $5. ; &lt;/P&gt;&lt;P align="left"&gt;463 informat q8_1 best32. ; &lt;/P&gt;&lt;P align="left"&gt;464 informat q8_3 $5. ; &lt;/P&gt;&lt;P align="left"&gt;.. more code .. &lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;475 format q_1 $5. ; &lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;476 format q2_6 best12. ; &lt;/P&gt;&lt;P align="left"&gt;477 format q7_9 $5. ; &lt;/P&gt;&lt;P align="left"&gt;478 format q8_1 best12. ; &lt;/P&gt;&lt;P align="left"&gt;479 format q8_3 $5. ; &lt;/P&gt;&lt;P align="left"&gt;489 format check_77 $5. ; &lt;/P&gt;&lt;P align="left"&gt;.. more code .. &lt;/P&gt;&lt;P align="left"&gt;490 input &lt;/P&gt;&lt;P align="left"&gt;491 q_1 $ &lt;/P&gt;&lt;P align="left"&gt;492 q2_6 &lt;/P&gt;&lt;P align="left"&gt;493 q7_9 $ &lt;/P&gt;&lt;P align="left"&gt;494 q8_1 &lt;/P&gt;&lt;P align="left"&gt;495 q8_3 $ &lt;/P&gt;&lt;P align="left"&gt;.. more code .. &lt;/P&gt;&lt;P align="left"&gt;506 ; &lt;/P&gt;&lt;P align="left"&gt;507 if _ERROR_ then call symput('_EFIERR_',1); /* set ERROR detection macro variable */ &lt;/P&gt;&lt;P&gt;508 run; &lt;/P&gt;&lt;/SPAN&gt;&lt;/DIR&gt;&lt;/DIR&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 19:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16066#M400</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-11-29T19:43:45Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16067#M401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;Will this work for .xls files? It think what you are suggesting will work if i was importing a .csv file.&lt;/P&gt;&lt;P&gt;But sadly&amp;nbsp; i have to work with a .xls file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16067#M401</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-11-30T18:17:59Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16068#M402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are on windows then another possibility is using DDE.&amp;nbsp; Of course you would have to add the code to open Excel, wait for it to open, and then feed in the filenames, but that really isn't very difficult.&amp;nbsp; The following doesn't include any of that code as, for a test, I simply had Excel open with a file I created that was a spreadsheet containing a copy of sashelp.class:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename copyit dde 'Excel|c:\art\[test.xls]Sheet1!R1C1:R32000C5';&lt;/P&gt;&lt;P&gt;data want; &lt;/P&gt;&lt;P&gt;&amp;nbsp; infile copyit dlm="09"x notab missover;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat name $8.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat sex $1.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat age height weight $15.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input name sex age height weight; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:13:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16068#M402</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-11-30T21:13:06Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16069#M403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me first put forward my concern. I have multiple users each of who upload an excel file to my sas directory. Post which a batch job runs to process these files&amp;nbsp; Now there are two columns one is an ID and the other a Pincode. Now ideally these two columns are supposed to be character columns with numeric digits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But certain users &lt;STRONG&gt;may upload &lt;/STRONG&gt;it as character in their excel where as others may upload it as numeric.&lt;/P&gt;&lt;P&gt;So i wanted to check if it was possible to import the data as character irrespective of the type in which the user has uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Since it appears that you have users making a choice then the instructions to them could be modified from uploading the .xls to SAVE AS .CSV. Then what they have as the format in Excel won't matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an &lt;STRONG&gt;old &lt;/STRONG&gt;problem. I ran into similar issues with reading Lotus 123 .PRN files into SAS 5 around 1991 with the added joy of getting them onto a mainframe from floppies. That experience is why I avoid spreadsheets as much as possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 21:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16069#M403</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-12-01T21:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16070#M404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will get in trouble if your digits include leading zeros.&lt;/P&gt;&lt;P&gt;But otherwise it might not be that hard to convert the variables to character strings.&amp;nbsp; You can create new character variables and assign the values to them and use DROP and RENAME to get the variable names straightened out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;data one ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input one two ;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1 2&lt;/P&gt;&lt;P&gt;2 3&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data two ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input one $ two ;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1 2&lt;/P&gt;&lt;P&gt;2 3&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set one ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length var1 var2 $12;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var1 = left(vvaluex('one'));&lt;/P&gt;&lt;P&gt;&amp;nbsp; var2 = left(vvaluex('two'));&lt;/P&gt;&lt;P&gt;&amp;nbsp; drop one two;&lt;/P&gt;&lt;P&gt;&amp;nbsp; rename&amp;nbsp; var1=one var2=two;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want2 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set two ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; length var1 var2 $12;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var1 = left(vvaluex('one'));&lt;/P&gt;&lt;P&gt;&amp;nbsp; var2 = left(vvaluex('two'));&lt;/P&gt;&lt;P&gt;&amp;nbsp; drop one two;&lt;/P&gt;&lt;P&gt;&amp;nbsp; rename&amp;nbsp; var1=one var2=two;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc compare data=want1 compare=want2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 22:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16070#M404</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-12-01T22:10:52Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16071#M405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi art,&lt;/P&gt;&lt;P&gt;Sorry for not confirming earlier . Im working on a Unix platform .. Hence i think DDE might not work here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;What you have suggested is what i am currently using... Thanks for the VValuex ... Got to learn something new today..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Ballardw says i too prefer not using excel but had no choice here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16071#M405</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-12-02T20:01:24Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16072#M406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; try this.&amp;nbsp; modify the path to find your data.&amp;nbsp; var is the name of column one so you may have to change it.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; libname db "C:\excel files\test1.xls"&amp;nbsp; mixed=yes;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; data test3;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set db."Sheet1$"n(DBSASTYPE=(var='char(1024)'));&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; libname db;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 15:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16072#M406</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-12-07T15:44:02Z</dc:date>
    </item>
    <item>
      <title>Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16073#M407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gregg,&lt;/P&gt;&lt;P&gt;The libname statement gives the following error&lt;/P&gt;&lt;P&gt;ERROR: Library DB is not in a valid format for access method RANDOM.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you have suggested would work on windows. But since i am on a Unix platform maybe it doenot work here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff0000; font-size: 12pt; font-family: Courier New;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 06:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16073#M407</guid>
      <dc:creator>NN</dc:creator>
      <dc:date>2011-12-08T06:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16074#M408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see this thread: &lt;A __default_attr="272575" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 05:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/16074#M408</guid>
      <dc:creator>kleinhev</dc:creator>
      <dc:date>2015-05-14T05:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/278409#M1849</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0cfqhcraieg81n1ier2cpp87fnz.htm" target="_blank"&gt;Mixed=Yes&lt;/A&gt; is a libname option, which works only for those Excel columns that contain both numbers and words. It interprets such mixed columns&amp;nbsp;as character.&amp;nbsp;It doesn't force all columns to be character.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 19:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/278409#M1849</guid>
      <dc:creator>agoldma</dc:creator>
      <dc:date>2016-06-18T19:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import excel - Default character</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/278417#M1850</link>
      <description>&lt;P&gt;If you want PROC IMPORT to have an option to import all fields as character, please vote:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/PROC-IMPORT-all-fields-as-character/idi-p/278415#M2011" target="_blank"&gt;PROC IMPORT -- all fields as character&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 22:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Proc-import-excel-Default-character/m-p/278417#M1850</guid>
      <dc:creator>agoldma</dc:creator>
      <dc:date>2016-06-18T22:02:00Z</dc:date>
    </item>
  </channel>
</rss>

