<?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 Am I importing the Excel workbook properly or are values being truncated? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612564#M178773</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am relatively new to SAS and am wondering whether values are being truncated when I import. I have read quite a bit on importing, length statement, informat, and format statement, as well as importing an Excel workbook using proc import, infile statement, etc. My ultimate goal is to merge paid search, organic search, Google Analytics, and Facebook analytics data sets (4) which I downloaded through Supermetrics for Google sheets for funnel conversion insight. The data set I am stuck on (#1 unfortunately) is Google paid search data, with tabs as months. All my data sets are Excel with tabs as months, so if I figure this out, it should hopefully work for the rest!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal was to import the Excel workbook and merge the months. The best solution I found for this was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*Impporting Paidsearch data &amp;amp; creating SAS dataset;&lt;BR /&gt;%macro pim(sheet);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*Creating macro variable for proc import step*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import out=paid_temp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Creating work.paid_temp data set*/&lt;/P&gt;&lt;P&gt;datafile='E:\DI_Project\Data\RawData\Paidsearch2019.xlsx'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Importing Excel Workbook*/&lt;/P&gt;&lt;P&gt;dbms=xlsx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*Defining DBMS*/&lt;/P&gt;&lt;P&gt;replace;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Replace = will allow you to replace the exported data set if you re-run the code*/&lt;/P&gt;&lt;P&gt;sheet="&amp;amp;sheet";&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*referring to macro variable for sheet names*/&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%mend piim; /*Defining macro variables for each individual sheet in workbook*/&lt;/P&gt;&lt;P&gt;%pim(Jan19);&lt;/P&gt;&lt;P&gt;%pim(Feb19);&lt;/P&gt;&lt;P&gt;%pim(Mar19);&lt;/P&gt;&lt;P&gt;%pim(Apr19);&lt;/P&gt;&lt;P&gt;%pim(May19);&lt;/P&gt;&lt;P&gt;%pim(Jun19);&lt;/P&gt;&lt;P&gt;%pim(Jul19);&lt;/P&gt;&lt;P&gt;%pim(Aug19);&lt;/P&gt;&lt;P&gt;%pim(Sep19);&lt;/P&gt;&lt;P&gt;%pim(Oct19);&lt;/P&gt;&lt;P&gt;%pim(Nov19);&lt;/P&gt;&lt;P&gt;%pim(Dec19);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only problem is that mainly the variable Campaign_Name is a text string with varying lengths (36-88) depending on the month, so I am wondering:&lt;/P&gt;&lt;P&gt;a) if there is some way to standardize (or change) the variable length (and type) while importing into SAS to avoid truncation and additional missing values due to values that are shorter or not the same length?&lt;/P&gt;&lt;P&gt;b) how to treat the many missing values for the numeric variables in the data set (ex: not sure if I should leave them as missing or replace them with zeros)?&lt;/P&gt;&lt;P&gt;The majority of the other variables are numeric, 8 bytes, BEST12. The variables are marketing metrics (ex: CPC, CTR, Conversion value, etc.).&lt;/P&gt;&lt;P&gt;I have to do a report for Friday so any help is VERY MUCH appreciated! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 03:35:25 GMT</pubDate>
    <dc:creator>Sleo007</dc:creator>
    <dc:date>2019-12-18T03:35:25Z</dc:date>
    <item>
      <title>Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612564#M178773</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am relatively new to SAS and am wondering whether values are being truncated when I import. I have read quite a bit on importing, length statement, informat, and format statement, as well as importing an Excel workbook using proc import, infile statement, etc. My ultimate goal is to merge paid search, organic search, Google Analytics, and Facebook analytics data sets (4) which I downloaded through Supermetrics for Google sheets for funnel conversion insight. The data set I am stuck on (#1 unfortunately) is Google paid search data, with tabs as months. All my data sets are Excel with tabs as months, so if I figure this out, it should hopefully work for the rest!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal was to import the Excel workbook and merge the months. The best solution I found for this was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*Impporting Paidsearch data &amp;amp; creating SAS dataset;&lt;BR /&gt;%macro pim(sheet);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*Creating macro variable for proc import step*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import out=paid_temp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Creating work.paid_temp data set*/&lt;/P&gt;&lt;P&gt;datafile='E:\DI_Project\Data\RawData\Paidsearch2019.xlsx'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Importing Excel Workbook*/&lt;/P&gt;&lt;P&gt;dbms=xlsx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*Defining DBMS*/&lt;/P&gt;&lt;P&gt;replace;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*Replace = will allow you to replace the exported data set if you re-run the code*/&lt;/P&gt;&lt;P&gt;sheet="&amp;amp;sheet";&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*referring to macro variable for sheet names*/&lt;/P&gt;&lt;P&gt;getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%mend piim; /*Defining macro variables for each individual sheet in workbook*/&lt;/P&gt;&lt;P&gt;%pim(Jan19);&lt;/P&gt;&lt;P&gt;%pim(Feb19);&lt;/P&gt;&lt;P&gt;%pim(Mar19);&lt;/P&gt;&lt;P&gt;%pim(Apr19);&lt;/P&gt;&lt;P&gt;%pim(May19);&lt;/P&gt;&lt;P&gt;%pim(Jun19);&lt;/P&gt;&lt;P&gt;%pim(Jul19);&lt;/P&gt;&lt;P&gt;%pim(Aug19);&lt;/P&gt;&lt;P&gt;%pim(Sep19);&lt;/P&gt;&lt;P&gt;%pim(Oct19);&lt;/P&gt;&lt;P&gt;%pim(Nov19);&lt;/P&gt;&lt;P&gt;%pim(Dec19);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only problem is that mainly the variable Campaign_Name is a text string with varying lengths (36-88) depending on the month, so I am wondering:&lt;/P&gt;&lt;P&gt;a) if there is some way to standardize (or change) the variable length (and type) while importing into SAS to avoid truncation and additional missing values due to values that are shorter or not the same length?&lt;/P&gt;&lt;P&gt;b) how to treat the many missing values for the numeric variables in the data set (ex: not sure if I should leave them as missing or replace them with zeros)?&lt;/P&gt;&lt;P&gt;The majority of the other variables are numeric, 8 bytes, BEST12. The variables are marketing metrics (ex: CPC, CTR, Conversion value, etc.).&lt;/P&gt;&lt;P&gt;I have to do a report for Friday so any help is VERY MUCH appreciated! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 03:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612564#M178773</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T03:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612565#M178774</link>
      <description>&lt;P&gt;One of the problems with using a spreadsheet for data entry.&amp;nbsp; There isn't an easy way to tell SAS to ignore what your Excel sheet has.&amp;nbsp; But you should be able to adjust to it pretty easily if the variable names (or as Excel sees them column headers) are the same in each sheet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact you should be able to use the XLSX libname and so that you don't need the macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When combining the datasets just define the length of the variables BEFORE the SET statement to avoid truncation.&amp;nbsp; Make sure to remove the formats that SAS will mistakenly attach to the character variables.&amp;nbsp; If you have variable that is 40 characters long but use the $30. format with it then you will only see the first 30 characters of the values.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname paid xlsx 'E:\DI_Project\Data\RawData\Paidsearch2019.xlsx'&amp;nbsp; access=readonly;
data all ;
  length Campaign_Name $40 ;
 &amp;nbsp;set&amp;nbsp;paid.Jan19&amp;nbsp;paid.Feb19&amp;nbsp;paid.Mar19&amp;nbsp;paid.Apr19&amp;nbsp;paid.May19&amp;nbsp;paid.Jun19
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;paid.Jul19&amp;nbsp;paid.Aug19&amp;nbsp;paid.Sep19&amp;nbsp;paid.Oct19&amp;nbsp;paid.Nov19&amp;nbsp;paid.dec19
&amp;nbsp;&amp;nbsp;;
&amp;nbsp;&amp;nbsp;format&amp;nbsp;_character_&amp;nbsp;;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 03:39:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612565#M178774</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T03:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612566#M178775</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick reply! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Yes, the variable names are all the same &amp;amp; I purposely changed them in Excel to shorten the time to find a proper solution. I will shortly try your code. Just to be sure, am I right in assuming that _character_ is to be replaced by the variable name (in my case Campaign_Name)?</description>
      <pubDate>Wed, 18 Dec 2019 03:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612566#M178775</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T03:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612578#M178784</link>
      <description>No need to change it.  _CHARACTER_ is an special variable list. It will resolve to every character variable in the current data step (at least that the compiler has seen at the point it compiles that statement). When you use a format statement with a variable list that is not followed by any format specification that tells SAS to attach no format to the variables.&lt;BR /&gt;You could attach formats to your character variables in that data step to override the one's that the XSLX engine will generate for each sheet/dataset.  But attaching $xx. formats to character variables is not needed since SAS already knows how to display character values and so you don't have to give special instructions for how to display character variables (which is what a format is).  Plus as I said before $xx. formats attached to character varaibles can actually cause harm when the format width is different than the variable's length.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 05:43:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612578#M178784</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T05:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612730#M178840</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/234571"&gt;@Sleo007&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am relatively new to SAS and am wondering whether values are being truncated when I import. I have read quite a bit on importing, length statement, informat, and format statement, as well as importing an Excel workbook using proc import, infile statement, etc. My ultimate goal is to merge paid search, organic search, Google Analytics, and Facebook analytics data sets (4) which I downloaded through Supermetrics for Google sheets for funnel conversion insight. The data set I am stuck on (#1 unfortunately) is Google paid search data, with tabs as months. All my data sets are Excel with tabs as months, so if I figure this out, it should hopefully work for the rest!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only problem is that mainly the variable Campaign_Name is a text string with varying lengths (36-88) depending on the month, so I am wondering:&lt;/P&gt;
&lt;P&gt;a) if there is some way to standardize (or change) the variable length (and type) while importing into SAS to avoid truncation and additional missing values due to values that are shorter or not the same length?&lt;/P&gt;
&lt;P&gt;b) how to treat the many missing values for the numeric variables in the data set (ex: not sure if I should leave them as missing or replace them with zeros)?&lt;/P&gt;
&lt;P&gt;The majority of the other variables are numeric, 8 bytes, BEST12. The variables are marketing metrics (ex: CPC, CTR, Conversion value, etc.).&lt;/P&gt;
&lt;P&gt;I have to do a report for Friday so any help is VERY MUCH appreciated! &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Proc Import "guesses" the length of variables for each individual proc call. The length and type of variables by default are set by examining the first 20 rows of data. So Proc Import is often a poor choice for production work involving multiple files with changing data as you mention your Campaign_name does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you checked to see if any of your (possibly) sparse variables have changed type from character to numeric or vice versa between imported sets?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 16:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612730#M178840</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-18T16:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612765#M178861</link>
      <description>&lt;P&gt;Hi Ballard,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply! Yes, while trying Tom's code above, I actually received a notification ERROR: Variable Unique_Cookies has been defined as both character and numeric. Therefore, I am looking to force variable length and type while avoiding the chance of truncation.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 18:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612765#M178861</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T18:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612776#M178866</link>
      <description>Hi Tom,&lt;BR /&gt;So to simplify my life I deleted the Unique_Cookies variable &amp;amp; ran your code, but it seems to have only imported the January sheet for some reason. All other sheets are truncated. Any idea why?&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;The Log shows the following:&lt;BR /&gt;1 ;*';*";*/;quit;run;&lt;BR /&gt;2 OPTIONS PAGENO=MIN;&lt;BR /&gt;3 %LET _CLIENTTASKLABEL='Program';&lt;BR /&gt;4 %LET _CLIENTPROCESSFLOWNAME='Process Flow';&lt;BR /&gt;5 %LET _CLIENTPROJECTPATH='E:\DI_Project\FINAL.egp';&lt;BR /&gt;6 %LET _CLIENTPROJECTPATHHOST='JM-SCBTM11';&lt;BR /&gt;7 %LET _CLIENTPROJECTNAME='FINAL.egp';&lt;BR /&gt;8 %LET _SASPROGRAMFILE='';&lt;BR /&gt;9 %LET _SASPROGRAMFILEHOST='';&lt;BR /&gt;10&lt;BR /&gt;11 ODS _ALL_ CLOSE;&lt;BR /&gt;12 OPTIONS DEV=PNG;&lt;BR /&gt;13 GOPTIONS XPIXELS=0 YPIXELS=0;&lt;BR /&gt;14 FILENAME EGSR TEMP;&lt;BR /&gt;15 ODS tagsets.sasreport13(ID=EGSR) FILE=EGSR&lt;BR /&gt;16 STYLE=HtmlBlue&lt;BR /&gt;17 STYLESHEET=(URL="file:///C:/Program%20Files/SASHome/SASEnterpriseGuide/7.1/Styles/HtmlBlue.css")&lt;BR /&gt;18 NOGTITLE&lt;BR /&gt;19 NOGFOOTNOTE&lt;BR /&gt;20 GPATH=&amp;amp;sasworklocation&lt;BR /&gt;21 ENCODING=UTF8&lt;BR /&gt;22 options(rolap="on")&lt;BR /&gt;23 ;&lt;BR /&gt;NOTE: Writing TAGSETS.SASREPORT13(EGSR) Body file: EGSR&lt;BR /&gt;24&lt;BR /&gt;25 GOPTIONS ACCESSIBLE;&lt;BR /&gt;26 data all_paid ;&lt;BR /&gt;27 length Campaign_Name $100;&lt;BR /&gt;28 set paid.Jan19 paid.Feb19 paid.Mar19 paid.Apr19 paid.May19 paid.Jun19&lt;BR /&gt;29 paid.Jul19 paid.Aug19 paid.Sep19 paid.Oct19 paid.Nov19 paid.dec19;&lt;BR /&gt;30 format _character_;&lt;BR /&gt;31 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: The import data set has 1981 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 3859 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 5479 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 6575 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 6090 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 5549 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 5506 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 6320 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 9969 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 5057 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 4174 observations and 21 variables.&lt;BR /&gt;NOTE: The import data set has 1985 observations and 21 variables.&lt;BR /&gt;NOTE: There were 1981 observations read from the data set PAID.Jan19.&lt;BR /&gt;NOTE: There were 3859 observations read from the data set PAID.Feb19.&lt;BR /&gt;NOTE: There were 5479 observations read from the data set PAID.Mar19.&lt;BR /&gt;NOTE: There were 6575 observations read from the data set PAID.Apr19.&lt;BR /&gt;NOTE: There were 6090 observations read from the data set PAID.May19.&lt;BR /&gt;NOTE: There were 5549 observations read from the data set PAID.Jun19.&lt;BR /&gt;NOTE: There were 5506 observations read from the data set PAID.Jul19.&lt;BR /&gt;NOTE: There were 6320 observations read from the data set PAID.Aug19.&lt;BR /&gt;NOTE: There were 9969 observations read from the data set PAID.Sep19.&lt;BR /&gt;NOTE: There were 5057 observations read from the data set PAID.Oct19.&lt;BR /&gt;NOTE: There were 4174 observations read from the data set PAID.Nov19.&lt;BR /&gt;NOTE: There were 1985 observations read from the data set PAID.dec19.&lt;BR /&gt;NOTE: The data set WORK.ALL_PAID has 62544 observations and 21 variables.&lt;BR /&gt;2 The SAS System 13:33 Wednesday, December 18, 2019&lt;BR /&gt;&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 7.32 seconds&lt;BR /&gt;cpu time 7.31 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;32&lt;BR /&gt;33 GOPTIONS NOACCESSIBLE;&lt;BR /&gt;34 %LET _CLIENTTASKLABEL=;&lt;BR /&gt;35 %LET _CLIENTPROCESSFLOWNAME=;&lt;BR /&gt;36 %LET _CLIENTPROJECTPATH=;&lt;BR /&gt;37 %LET _CLIENTPROJECTPATHHOST=;&lt;BR /&gt;38 %LET _CLIENTPROJECTNAME=;&lt;BR /&gt;39 %LET _SASPROGRAMFILE=;&lt;BR /&gt;40 %LET _SASPROGRAMFILEHOST=;&lt;BR /&gt;41&lt;BR /&gt;42 ;*';*";*/;quit;run;&lt;BR /&gt;43 ODS _ALL_ CLOSE;&lt;BR /&gt;44&lt;BR /&gt;45&lt;BR /&gt;46 QUIT; RUN;</description>
      <pubDate>Wed, 18 Dec 2019 19:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612776#M178866</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T19:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612779#M178869</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/234571"&gt;@Sleo007&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Ballard,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply! Yes, while trying Tom's code above, I actually received a notification ERROR: Variable Unique_Cookies has been defined as both character and numeric. Therefore, I am looking to force variable length and type while avoiding the chance of truncation.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That will likely involve something done with each tab of your spread sheet separately mapping the original variable(s) to standard new variables. Something like:&lt;/P&gt;
&lt;PRE&gt;libname paid xlsx 'E:\DI_Project\Data\RawData\Paidsearch2019.xlsx'  access=readonly;
data work.jan19 ;
  length Campaign_Name $40 ;
  set paid.Jan19 ;
  format _character_ ;
  /* test type of variable to create new consistent variable*/
  /* this creates a new character variable*/
  length NewCookies $ 15;
  if vtype(Unique_cookies)='C'  then NewCookies=Unique_cookies;
  else NewCookies = put(Unique_cookies,best15.);
  Drop Unique_cookies;
run;&lt;/PRE&gt;
&lt;P&gt;And then make the All data set by combining the work.Jan19 work.Feb19 etc. The above is just an example of the logic. You should know whether you want a numeric or character version and how to convert to the desired type. (Input instead of Put and an appropriate informat which likely should NOT include a specified length such as Input(Unique_cookies,F.) to avoid implied decimals ending up in your data unless you know they are wanted.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:12:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612779#M178869</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-18T19:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612782#M178871</link>
      <description>Why do you say that?&lt;BR /&gt;The NOTES clearly say it read only 1,981 observations from the JAN19 sheet and wrote a total of 62,544 observations.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612782#M178871</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T19:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612787#M178874</link>
      <description>Yes, but after all the January observations, the rest are all truncated. So I have 11 sheets which appear as missing values (like 62,544-1981 are all missing values). In reality, they are not actually missing.</description>
      <pubDate>Wed, 18 Dec 2019 19:20:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612787#M178874</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T19:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612791#M178876</link>
      <description>&lt;P&gt;That is a surprising result.&lt;/P&gt;
&lt;P&gt;And if you read them separately and then combine them does the same thing happen?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data jan19; set paid.jan19;&amp;nbsp;run;
data&amp;nbsp;feb19;&amp;nbsp;set&amp;nbsp;paid.feb19;&amp;nbsp;run;
data&amp;nbsp;both;&amp;nbsp;set&amp;nbsp;jan19&amp;nbsp;feb19;&amp;nbsp;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:30:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612791#M178876</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T19:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612795#M178879</link>
      <description>&lt;P&gt;Yes, initially when trying your code, I received the following log Note:&lt;BR /&gt;&lt;BR /&gt;WARNING: Multiple lengths were specified for the variable Campaign_name by input data set(s). This can cause truncation of data.&lt;BR /&gt;NOTE: There were 1981 observations read from the data set WORK.JAN19.&lt;BR /&gt;NOTE: There were 3859 observations read from the data set WORK.FEB19.&lt;BR /&gt;NOTE: The data set WORK.BOTH has 5840 observations and 21 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.01 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;BR /&gt;&lt;BR /&gt;when I placed a length statement after each data statement, that was not the case.&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 1981 observations read from the data set WORK.JAN19.&lt;BR /&gt;NOTE: There were 3859 observations read from the data set WORK.FEB19.&lt;BR /&gt;NOTE: The data set WORK.BOTH has 5840 observations and 21 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps I should be using a macro like the one I had in my original post or at the least a do loop with a macro? That would technically reiterate the process, initializing the length statement each time, no?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:37:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612795#M178879</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T19:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612797#M178881</link>
      <description>Truncation is different than totally missing values.&lt;BR /&gt;Also you cannot fix type mismatches as easily.  You cannot combine two datasets that use the same name to mean different types of variables. If you are lucky those are just caused by one column being completely empty in one of the spreadsheets.  In that case you could drop the offending column and not have to worry about fixing it.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612797#M178881</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612803#M178883</link>
      <description>So I just tried your code with the added length statement after the data statement &amp;amp; still the same results. Log shows:&lt;BR /&gt;&lt;BR /&gt;26 data both; length Campaign_Name :$100.; set jan19 feb19; run;&lt;BR /&gt;&lt;BR /&gt;WARNING: Multiple lengths were specified for the variable Campaign_name by input data set(s). This can cause truncation of data.&lt;BR /&gt;NOTE: There were 1981 observations read from the data set WORK.JAN19.&lt;BR /&gt;NOTE: There were 3859 observations read from the data set WORK.FEB19.&lt;BR /&gt;NOTE: The data set WORK.BOTH has 5840 observations and 21 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.02 seconds&lt;BR /&gt;cpu time 0.00 seconds&lt;BR /&gt;&lt;BR /&gt;So it's definitely a problem with the length. Should I be using an informat to read in the data from paid.jan19, paid.feb19, etc.?</description>
      <pubDate>Wed, 18 Dec 2019 19:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612803#M178883</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T19:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612807#M178885</link>
      <description>&lt;P&gt;I tried your suggestion with the Campaign_Name variable with this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname paid xlsx 'E:\DI_Project\Data\RawData\Paidsearch2019.xlsx' access=readonly;&lt;/P&gt;&lt;P&gt;data test19 ;&lt;BR /&gt;length Campaign_Name $100;&lt;BR /&gt;set paid.Jan19;&lt;BR /&gt;format _character_ ;&lt;BR /&gt;length CName $100;&lt;BR /&gt;if vlength(Campaign_Name)=100.&lt;BR /&gt;then CName=Campaign_Name;&lt;BR /&gt;else CName = put(Campaign_Name,$CHAR100.);&lt;BR /&gt;Drop Campaign_Name;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to have worked. Any idea how I can make it a do loop/macro for the rest of the months to not have to repeat coding? Thanks Ballard! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 19:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612807#M178885</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T19:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612812#M178889</link>
      <description>So I just tried running your code for all data sheets, with the following log. Truncation still happening past January. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;25 GOPTIONS ACCESSIBLE;&lt;BR /&gt;26 data all_paid;&lt;BR /&gt;27 length Campaign_Name $100;&lt;BR /&gt;28 set Jan19 Feb19 Mar19 Apr19 May19 Jun19 Jul19 Aug19 Sep19 Oct19 Nov19 Dec19;&lt;BR /&gt;29 drop Campaign_Name;&lt;BR /&gt;30 format _character_;&lt;BR /&gt;31 run;&lt;BR /&gt;&lt;BR /&gt;NOTE: Variable Campaign_Name is uninitialized.&lt;BR /&gt;NOTE: There were 1981 observations read from the data set WORK.JAN19.&lt;BR /&gt;NOTE: There were 3859 observations read from the data set WORK.FEB19.&lt;BR /&gt;NOTE: There were 5479 observations read from the data set WORK.MAR19.&lt;BR /&gt;NOTE: There were 6575 observations read from the data set WORK.APR19.&lt;BR /&gt;NOTE: There were 6090 observations read from the data set WORK.MAY19.&lt;BR /&gt;NOTE: There were 5549 observations read from the data set WORK.JUN19.&lt;BR /&gt;NOTE: There were 5506 observations read from the data set WORK.JUL19.&lt;BR /&gt;NOTE: There were 6320 observations read from the data set WORK.AUG19.&lt;BR /&gt;NOTE: There were 9969 observations read from the data set WORK.SEP19.&lt;BR /&gt;NOTE: There were 5057 observations read from the data set WORK.OCT19.&lt;BR /&gt;NOTE: There were 4174 observations read from the data set WORK.NOV19.&lt;BR /&gt;NOTE: There were 1985 observations read from the data set WORK.DEC19.&lt;BR /&gt;NOTE: The data set WORK.ALL_PAID has 62544 observations and 21 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.01 seconds</description>
      <pubDate>Wed, 18 Dec 2019 20:08:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612812#M178889</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T20:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612813#M178890</link>
      <description>&lt;P&gt;If you know the maximum length for each character variable then defining it before the SET statement will make sure no values are truncated.&amp;nbsp; Just because you get the warning does not mean anything is actually truncated. But it might be that other variables are being truncated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 20:08:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612813#M178890</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T20:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612816#M178892</link>
      <description>&lt;P&gt;It does not look like your datasets actual have a variable with that name.&lt;/P&gt;
&lt;PRE&gt;NOTE: Variable Campaign_Name is uninitialized.&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Dec 2019 20:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612816#M178892</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-12-18T20:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612817#M178893</link>
      <description>Aside from the Network variable, which is CHAR15, all other variables are defined as numeric 8 bytes, BEST12. So how do I solve the truncation occurring because of potentially other variables if I do not know which variables are causing the issue?</description>
      <pubDate>Wed, 18 Dec 2019 20:10:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612817#M178893</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T20:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Am I importing the Excel workbook properly or are values being truncated?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612819#M178894</link>
      <description>&lt;P&gt;Okay, I just tried:&lt;BR /&gt;&lt;BR /&gt;data all_paid;&lt;BR /&gt;length CName $100;&lt;BR /&gt;set Jan19 Feb19 Mar19 Apr19 May19 Jun19 Jul19 Aug19 Sep19 Oct19 Nov19 Dec19;&lt;BR /&gt;format _character_;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;and received no errors in the log, yet still nothing after January.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 20:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Am-I-importing-the-Excel-workbook-properly-or-are-values-being/m-p/612819#M178894</guid>
      <dc:creator>Sleo007</dc:creator>
      <dc:date>2019-12-18T20:16:26Z</dc:date>
    </item>
  </channel>
</rss>

