<?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: Variable format while importing data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372534#M276092</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you want to continue to use point and click techniques, then there's not a lot of options when you are doing point and click, although you can copy tasks and make task templates, so those might be alternate ways to avoid having to do the format definition over and over.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; However, if you are willing to learn how to write programming code, then you would learn in the Programming 1 (free as e-learning) class how to write a program to import data into SAS. Once you have a program to read one dataset working correctly, then you only need to modify the program to read the other datasets. There are even ways to automate this process using the SAS Macro facility. However, depending on how you need to work and what you're willing to learn, impacts the answer to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; SAS Programming 1 can be activated by going here and clicking START on the self-paced e-learnining offering of the class: &lt;A href="https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1" target="_blank"&gt;https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Sun, 02 Jul 2017 13:11:38 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-07-02T13:11:38Z</dc:date>
    <item>
      <title>Variable format while importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372525#M276091</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached, I want to import 10-12 dataset in SAS Project with same variable formats and then append (add all obs) to create 1 single large dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each time I import a file I have to define field attributes, can these be converted into a sort of template &amp;amp; applied which importing a new file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am using SAS EG 6.1 (64bit)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/14020i75AEA74417B4968B/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Format type.png" title="Format type.png" /&gt;</description>
      <pubDate>Sun, 02 Jul 2017 12:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372525#M276091</guid>
      <dc:creator>dhir</dc:creator>
      <dc:date>2017-07-02T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variable format while importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372534#M276092</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you want to continue to use point and click techniques, then there's not a lot of options when you are doing point and click, although you can copy tasks and make task templates, so those might be alternate ways to avoid having to do the format definition over and over.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; However, if you are willing to learn how to write programming code, then you would learn in the Programming 1 (free as e-learning) class how to write a program to import data into SAS. Once you have a program to read one dataset working correctly, then you only need to modify the program to read the other datasets. There are even ways to automate this process using the SAS Macro facility. However, depending on how you need to work and what you're willing to learn, impacts the answer to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; SAS Programming 1 can be activated by going here and clicking START on the self-paced e-learnining offering of the class: &lt;A href="https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1" target="_blank"&gt;https://support.sas.com/edu/schedules.html?ctry=us&amp;amp;crs=PROG1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372534#M276092</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-07-02T13:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variable format while importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372535#M276093</link>
      <description>&lt;P&gt;Note: If you want to attach a picture in this forum use the insert image icon instead of attaching it as a file. That way it is visible in the message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to control the format of the data set generate from a text file then use a program to read the file instead of using PROC IMPORT. &amp;nbsp;Proc Import has to guess at what the files contain.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372535#M276093</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-02T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Variable format while importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372956#M276094</link>
      <description>&lt;P&gt;Thank you, Cynthia.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 09:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372956#M276094</guid>
      <dc:creator>dhir</dc:creator>
      <dc:date>2017-07-04T09:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variable format while importing data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372957#M276095</link>
      <description>&lt;P&gt;Thank you, Tom.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 09:43:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-format-while-importing-data/m-p/372957#M276095</guid>
      <dc:creator>dhir</dc:creator>
      <dc:date>2017-07-04T09:43:45Z</dc:date>
    </item>
  </channel>
</rss>

