<?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 How do you import data from JCL file using SAS UE? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605227#M175607</link>
    <description>&lt;P&gt;Hello --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is probably super simple and I am just overthinking things, but I am using SAS UE and am having issue reading in my data. It is saved in a different format than I am used to, and don't know if that is the issue, or what. It is a jcl file instead of csv, dat, sas, etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am utilizing the RCG survey data from 1991, which is available publicly through the NCES. When you download the files from their site, you get a jcl file for SAS and SPSS, and a dat file. I would like to use the dat file, but it doesn't have any variable names (so I don't have anything for an input statement in my example below), and when I asked the contact at the NCES, they said variable names are available in the jcl file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA RCG;&lt;BR /&gt;INFILE '/folders/myfolders/data/PC1P_SAS.JCL';&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try another approach as well, but I either get an error that the file doesn't exist, or that the file does not contain any columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried attaching the file to this post, but it says the contents of the attachment doesn't match its file type. Maybe that's my problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 22:07:31 GMT</pubDate>
    <dc:creator>kedwardson</dc:creator>
    <dc:date>2019-11-18T22:07:31Z</dc:date>
    <item>
      <title>How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605227#M175607</link>
      <description>&lt;P&gt;Hello --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is probably super simple and I am just overthinking things, but I am using SAS UE and am having issue reading in my data. It is saved in a different format than I am used to, and don't know if that is the issue, or what. It is a jcl file instead of csv, dat, sas, etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am utilizing the RCG survey data from 1991, which is available publicly through the NCES. When you download the files from their site, you get a jcl file for SAS and SPSS, and a dat file. I would like to use the dat file, but it doesn't have any variable names (so I don't have anything for an input statement in my example below), and when I asked the contact at the NCES, they said variable names are available in the jcl file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA RCG;&lt;BR /&gt;INFILE '/folders/myfolders/data/PC1P_SAS.JCL';&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try another approach as well, but I either get an error that the file doesn't exist, or that the file does not contain any columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried attaching the file to this post, but it says the contents of the attachment doesn't match its file type. Maybe that's my problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 22:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605227#M175607</guid>
      <dc:creator>kedwardson</dc:creator>
      <dc:date>2019-11-18T22:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605228#M175608</link>
      <description>Include the link of where you downloaded the file. They usually have programs to read/import the data.</description>
      <pubDate>Mon, 18 Nov 2019 22:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605228#M175608</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-18T22:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605231#M175609</link>
      <description>The JCL files are just text files that actually read the dat file. Open it with TextPad, paste into SAS UE and update the path and you should be good to go. &lt;BR /&gt;&lt;BR /&gt;Make sure to put the .DAT file in your myfolders or setup a shortcut path to the folder desired.</description>
      <pubDate>Mon, 18 Nov 2019 22:19:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605231#M175609</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-18T22:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605234#M175612</link>
      <description>&lt;P&gt;Super easy! I had no clue what a .JCL file was and couldn't find useful answers on Google.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANK YOU!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 22:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605234#M175612</guid>
      <dc:creator>kedwardson</dc:creator>
      <dc:date>2019-11-18T22:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605236#M175614</link>
      <description>&lt;P&gt;JCL is most likely Job Control Language, which is the system language of IBM mainframes.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 22:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605236#M175614</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-18T22:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605244#M175620</link>
      <description>I found what Kurt found, proprietary IBM files, but the size of the files (2kb) indicated just text to me and no data so I opened it with the text editor and it was code &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Nov 2019 23:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605244#M175620</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-18T23:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you import data from JCL file using SAS UE?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605304#M175655</link>
      <description>&lt;P&gt;They probably saved it as .jcl files because you can embed the SAS code in JCL scripts and feed the sysin from there; small programs are often run like that.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 06:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-you-import-data-from-JCL-file-using-SAS-UE/m-p/605304#M175655</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-19T06:23:55Z</dc:date>
    </item>
  </channel>
</rss>

