title: SAS - Create new libraries nested inside WORK
body: <p><strong>tl;dr: Can SAS libraries be nested within one another in the Enhanced Editor Explorer?</strong></p>
  
  <p>I am working with code which generates a plethora of data sets.  Although there are many individual data sets, they can be grouped into various categories.  For instance, perhaps 30 of them are incoming "<em>raw</em>" data, another 50 are analysis "<em>results</em>" and the remaining 20 are "<em>intermediate</em>" steps.</p>
  
  <p>Currently, all 100 data sets reside in the <code>Work</code> directory.  They have been well named so that they appear next to one another in the SAS Explorer window.  However, I would prefer to organize them in folders.</p>
  
  <p>One way to do this is to create new directories within the temporary <code>Work</code> folder.</p>
  
  <pre><code>%let dirWORK = %sysfunc(pathname(Work));
  
  options dlcreatedir;
  
  libname raw     "&amp;dirWORK./raw";
  libname interm  "&amp;dirWORK./intermediate";
  libname results "&amp;dirWORK./results";
  </code></pre>
  
  <p>As sub-directories of <code>Work</code>, these directories and their contents will be deleted when the session ends.  This is agreeable.</p>
  
  <p>Not agreeable is how the <code>raw</code>, <code>iterm</code>, and <code>results</code> libraries appear one level up in 'Active Libraries' instead of within the 'Contents of "Work"'.  This behavior is somewhat counter-intuitive and awkward.</p>
  
  <ul>
  <li>Is there a way to view the sub-folders of <code>Work</code> within the 'Contents
  of "Work"' in the SAS Explorer?   </li>
  <li>Perhaps there's another way to separate the data sets (<code>DCREATE</code>?) which causes the Explorer window to behave like a typical file browser?</li>
  </ul>