<?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: dmid command failed to work in SAS Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443633#M4916</link>
    <description>&lt;P&gt;Check the folder you used in the libname-statement: the message says that the&amp;nbsp; dataset dmid and dmid_formats are not in that folder.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 05:53:18 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2018-03-08T05:53:18Z</dc:date>
    <item>
      <title>dmid command failed to work in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443592#M4914</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is as below, it was what our instructor gave us to practice.&lt;/P&gt;&lt;P&gt;I wonder if anyone can give me some tips on how to get rid of the error messages. Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let dirdata=/folders/myfolders/;
libname perm "&amp;amp;dirdata";
PROC FORMAT;
	value cut 
     1 = "Fair"       2 = "Good" 
     3 = "Very Good"  4 = "Premium"    5 = "Ideal";
	value color 
     1 = "D"   2 = "E"  3 = "F"  4 = "G" 
     5 = "H"   6 = "I"  7 = "J" ;
	value clarity 
     1 = "I1"   2 = "SI2"   3 = "SI1"   4 = "VS2" 
     5 = "VS1"  6 = "VVS2"  7 = "VVS1"  8 = "IF" ;
run;


title 'dmid';
proc print data=perm.dmid (obs=5);run;
proc contents data=perm.dmid;run;

title 'dmid_formats';
proc print data=perm.dmid_formats (obs=5);run;
proc contents data=perm.dmid_formats;run;
title;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         %let dirdata=/folders/myfolders/;
 74         libname perm "&amp;amp;dirdata";
 NOTE: Libref PERM was successfully assigned as follows: 
       Engine:        V9 
       Physical Name: /folders/myfolders
 75         PROC FORMAT;
 76         
 76       !  value cut
 77              1 = "Fair"       2 = "Good"
 78              3 = "Very Good"  4 = "Premium"    5 = "Ideal";
 NOTE: Format CUT is already on the library WORK.FORMATS.
 NOTE: Format CUT has been output.
 79         
 79       !  value color
 80              1 = "D"   2 = "E"  3 = "F"  4 = "G"
 81              5 = "H"   6 = "I"  7 = "J" ;
 NOTE: Format COLOR is already on the library WORK.FORMATS.
 NOTE: Format COLOR has been output.
 82         
 82       !  value clarity
 83              1 = "I1"   2 = "SI2"   3 = "SI1"   4 = "VS2"
 84              5 = "VS1"  6 = "VVS2"  7 = "VVS1"  8 = "IF" ;
 NOTE: Format CLARITY is already on the library WORK.FORMATS.
 NOTE: Format CLARITY has been output.
 85         run;
 
 NOTE: PROCEDURE FORMAT used (Total process time):
       real time           0.00 seconds
       cpu time            0.02 seconds
       
 
 86         
 87         /* Both dmid.sas7bdat and dmid_formats.sas7bdat are files
 88           that correspond to permanent SAS data sets. Those are the SAS data sets
 89            we'll be using this week.*/
 90         
 91         /* These are the dmid SAS data sets. Note that
 92         dmid uses cut/color/clarity as character variables,
 93         while dmin_formats uses these as numeric, formatted
 94         variables. */
 95         
 96         title 'dmid';
 97         proc print data=perm.dmid (obs=5);run;
 ERROR: File PERM.DMID.DATA does not exist.
 
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 
 
 98         proc contents data=perm.dmid;run;
 ERROR: File PERM.DMID.DATA does not exist.
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 NOTE: The SAS System stopped processing this step because of errors.
 99         
 100        title 'dmid_formats';
 
 
 101        proc print data=perm.dmid_formats (obs=5);run;
 ERROR: File PERM.DMID_FORMATS.DATA does not exist.
 
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 
 
 102        proc contents data=perm.dmid_formats;run;
 ERROR: File PERM.DMID_FORMATS.DATA does not exist.
 
 NOTE: Statements not processed because of errors noted above.
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 NOTE: The SAS System stopped processing this step because of errors.
 103        title;
 104        
 105        
 106        OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 119        &lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Mar 2018 02:26:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443592#M4914</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-08T02:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: dmid command failed to work in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443633#M4916</link>
      <description>&lt;P&gt;Check the folder you used in the libname-statement: the message says that the&amp;nbsp; dataset dmid and dmid_formats are not in that folder.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 05:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443633#M4916</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-03-08T05:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: dmid command failed to work in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443733#M4918</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a dirdata under "myfolders"&lt;/P&gt;&lt;P&gt;and it seemed work!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 13:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/dmid-command-failed-to-work-in-SAS-Studio/m-p/443733#M4918</guid>
      <dc:creator>jc3992</dc:creator>
      <dc:date>2018-03-08T13:05:37Z</dc:date>
    </item>
  </channel>
</rss>

