<?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: sas data set can not open!!/format in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10244#M947</link>
    <description>Wow, I think this is the easiest way~~&lt;BR /&gt;
&lt;BR /&gt;
Thank you~</description>
    <pubDate>Tue, 15 Feb 2011 21:19:23 GMT</pubDate>
    <dc:creator>qmshjwhx</dc:creator>
    <dc:date>2011-02-15T21:19:23Z</dc:date>
    <item>
      <title>sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10235#M938</link>
      <description>Hi there, &lt;BR /&gt;
&lt;BR /&gt;
I met a very weird situation and found a newly created SAS data set cannot open. &lt;BR /&gt;
&lt;BR /&gt;
It happened when I created a data set B based on A after some modification. Then I &lt;BR /&gt;
&lt;BR /&gt;
turned off the SAS session but latter I found B cannot be opened by SAS 9.2. B is &lt;BR /&gt;
&lt;BR /&gt;
permanent and I know where it is. And it was so strange that, on the other hand, I was &lt;BR /&gt;
&lt;BR /&gt;
able to view it using universal viewer. Does anyone know what cause this and how to &lt;BR /&gt;
&lt;BR /&gt;
solve it?&lt;BR /&gt;
&lt;BR /&gt;
Thanks everyone~&lt;BR /&gt;
&lt;BR /&gt;
^-^</description>
      <pubDate>Tue, 15 Feb 2011 02:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10235#M938</guid>
      <dc:creator>qmshjwhx</dc:creator>
      <dc:date>2011-02-15T02:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10236#M939</link>
      <description>call tech support.</description>
      <pubDate>Tue, 15 Feb 2011 10:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10236#M939</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-02-15T10:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10237#M940</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Does any of the variable in the dataset is linked to any user defined format?  If so run the PROC FORMAT which defines the formats and then open it.  It will open.&lt;BR /&gt;
&lt;BR /&gt;
Regardz,&lt;BR /&gt;
Sandhya.</description>
      <pubDate>Tue, 15 Feb 2011 14:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10237#M940</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2011-02-15T14:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10238#M941</link>
      <description>Thank you a lot!! Sandhya, yeah, the problem is I used proc format to define some formats when I revised the data set. As you suggest, now it opens once i run the proc format again!! &lt;BR /&gt;
&lt;BR /&gt;
Another question follows: it seems like the proc format could bring potential problem if I want to share the data with my colleagues especially when they don't know how I defined the user-defined format. But I like proc format personally because it does help a lot for analysis or creating report. So any suggestions about when this proc format should be used?&lt;BR /&gt;
&lt;BR /&gt;
Again, thanks for solving my problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 15 Feb 2011 15:13:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10238#M941</guid>
      <dc:creator>qmshjwhx</dc:creator>
      <dc:date>2011-02-15T15:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10239#M942</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Instead of attaching the format to the dataset, you can create a variable with the format.  &lt;BR /&gt;
&lt;BR /&gt;
Eg:&lt;BR /&gt;
&lt;BR /&gt;
data one;&lt;BR /&gt;
   input id flag;&lt;BR /&gt;
cards&lt;BR /&gt;
0001 1&lt;BR /&gt;
0002 0&lt;BR /&gt;
0003 1&lt;BR /&gt;
0004 1&lt;BR /&gt;
0005 0&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
  value flagvar 0 = 'Absent'&lt;BR /&gt;
                    1 = 'Present';&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Instead of doing the following&lt;BR /&gt;
&lt;BR /&gt;
data two;&lt;BR /&gt;
  set one;&lt;BR /&gt;
  format flag flagvar.;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Why not do this&lt;BR /&gt;
&lt;BR /&gt;
data two;&lt;BR /&gt;
  set one;&lt;BR /&gt;
  flag1 = put(flag, flagvar.);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
This way the values are created with the formatted values.&lt;BR /&gt;
&lt;BR /&gt;
There are more advanced way of dealing with it, like attaching some format catalogs and so on.  But, I prefer this.  Less hassle.&lt;BR /&gt;
&lt;BR /&gt;
Regardz,&lt;BR /&gt;
Sandhya.</description>
      <pubDate>Tue, 15 Feb 2011 15:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10239#M942</guid>
      <dc:creator>Sandhya</dc:creator>
      <dc:date>2011-02-15T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!/format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10240#M943</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
About the storage and retrieving user-defined format you could read from:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/37/332.html" target="_blank"&gt;http://support.sas.com/kb/37/332.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
It will be a good practice to create some documentation about the user-defined format and then you could share with all those using that format.&lt;BR /&gt;
&lt;BR /&gt;
Warm regards,&lt;BR /&gt;
Vasile</description>
      <pubDate>Tue, 15 Feb 2011 15:30:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10240#M943</guid>
      <dc:creator>Vasile01</dc:creator>
      <dc:date>2011-02-15T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!/format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10241#M944</link>
      <description>Just as the universal viewer can read the data, so can SAS, if you prepare with&lt;BR /&gt;
option NOfmterr ;&lt;BR /&gt;
(no format errors)&lt;BR /&gt;
before using the data set&lt;BR /&gt;
  &lt;BR /&gt;
It just presents the internal value in the default format for numbers or strings.</description>
      <pubDate>Tue, 15 Feb 2011 20:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10241#M944</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-15T20:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10242#M945</link>
      <description>Hi, Sandhya, I tried your code and I think it is a more efficient way of dealing with format as well as avoiding potential format error. &lt;BR /&gt;
&lt;BR /&gt;
Thank you so much!!</description>
      <pubDate>Tue, 15 Feb 2011 21:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10242#M945</guid>
      <dc:creator>qmshjwhx</dc:creator>
      <dc:date>2011-02-15T21:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!/format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10243#M946</link>
      <description>Hi Vasile01, I read this note and It did helped me to understand the storage and user-defined format. Perhaps I could try to build some format catalogs to store my defined format somewhere separately from my coding.&lt;BR /&gt;
&lt;BR /&gt;
Thanks a lot for the useful information!!</description>
      <pubDate>Tue, 15 Feb 2011 21:17:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10243#M946</guid>
      <dc:creator>qmshjwhx</dc:creator>
      <dc:date>2011-02-15T21:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!/format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10244#M947</link>
      <description>Wow, I think this is the easiest way~~&lt;BR /&gt;
&lt;BR /&gt;
Thank you~</description>
      <pubDate>Tue, 15 Feb 2011 21:19:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/10244#M947</guid>
      <dc:creator>qmshjwhx</dc:creator>
      <dc:date>2011-02-15T21:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/389019#M65993</link>
      <description>&lt;P&gt;Hi ... I am having a related problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;recently switched from base SAS to EG, so still very new to the way if works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am busy rebuilding my scripts in EG, so I have a process flow of various programs and tables that feed into one another. After a timely excersice where macro variables didn't transfer (I didn't know you could/had to define them as global), I got a part of my script working, but now I have a problem where the logs states my table 'work.loans' were created with 63 089 rows and 8 columns, and the data table icon appears in the process flow with the name 'loans' . However, the&amp;nbsp;subsequent scripts say table 'loans' does not exist, and when I double click on the 'loans' table icon, EG says "WORK.LOANS does not exist. You will need to refresh the task". But the table does not show on the left under the work library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am doing something really idiotic? I've never had this type of problem in base SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd appreciate some advice....I'll continue googling the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;GD&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 01:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/389019#M65993</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2017-08-18T01:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/389045#M65998</link>
      <description>Ok...figured out that it has to do with the 'Allow parallel execution on the same server'. If you swtich that off, the problem goes away. Possible to do with the way EG handles the different sessions. Pity you can't have the parallel execution like on SQL SSRS.</description>
      <pubDate>Fri, 18 Aug 2017 05:41:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/389045#M65998</guid>
      <dc:creator>GenDemo</dc:creator>
      <dc:date>2017-08-18T05:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: sas data set can not open!!/format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/428081#M68498</link>
      <description>Thanks it worked.</description>
      <pubDate>Tue, 16 Jan 2018 16:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sas-data-set-can-not-open/m-p/428081#M68498</guid>
      <dc:creator>harishpl02</dc:creator>
      <dc:date>2018-01-16T16:23:03Z</dc:date>
    </item>
  </channel>
</rss>

