<?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: how to create sas7bcat file? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436843#M108700</link>
    <description>&lt;P&gt;Well, I only want to know how to create sas7bcat file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You didn't tell me how.&lt;/P&gt;&lt;P&gt;I cannot find from the manual.&lt;/P&gt;&lt;P&gt;I cannot find from Google.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why there is no documentation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's create automatically, then I guess, it will deleted automatically when the sas finished running.&amp;nbsp; So how to save it permanently?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2018 19:55:27 GMT</pubDate>
    <dc:creator>mhollifi</dc:creator>
    <dc:date>2018-02-13T19:55:27Z</dc:date>
    <item>
      <title>how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436833#M108693</link>
      <description>&lt;P&gt;I need to create sas catalog file.&amp;nbsp; But only thing I can find is proc catalog, which seems like manage catalog file but not create it.&amp;nbsp; How to create a sas7bcat file?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436833#M108693</guid>
      <dc:creator>mhollifi</dc:creator>
      <dc:date>2018-02-13T19:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436834#M108694</link>
      <description>&lt;P&gt;A catalogue by itself is quite useless without any entireties in it.&lt;/P&gt;
&lt;P&gt;A catalogue is automatically created when you create an entry, like a format.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436834#M108694</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-02-13T19:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436836#M108695</link>
      <description>&lt;P&gt;????&amp;nbsp; where is it saved?&amp;nbsp; I need to use it to run R.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:44:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436836#M108695</guid>
      <dc:creator>mhollifi</dc:creator>
      <dc:date>2018-02-13T19:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436838#M108697</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/183698"&gt;@mhollifi&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;????&amp;nbsp; where is it saved?&amp;nbsp; I need to use it to run R.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What part of the catalog do you need for R?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p01gryeviu67qwn1m9wue2t0k8sk.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p01gryeviu67qwn1m9wue2t0k8sk.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need the formats for example, it's better to output those to a table and let R use that instead. PROC FORMAT with CNTLOUT will allow you to do this.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436838#M108697</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-13T19:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436839#M108698</link>
      <description>&lt;P&gt;I don't know why a sas7bcat (catalog file) would be needed to run R.&amp;nbsp; The only catalog entry of consequence in this scenario, I think, is a SAS format.&amp;nbsp; A SAS format contains the rules for categorizing ranges of data values or creating an appearance format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some R packages can read sas7bdat (data sets) and sas7bcat (catalogs) -- that's what I hear, anyway.&amp;nbsp; Catalogs are especially tricky, as they are very specific to the operating system and architecture.&amp;nbsp; As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;suggests, it's probably best to save that out as data anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:51:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436839#M108698</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-02-13T19:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436843#M108700</link>
      <description>&lt;P&gt;Well, I only want to know how to create sas7bcat file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You didn't tell me how.&lt;/P&gt;&lt;P&gt;I cannot find from the manual.&lt;/P&gt;&lt;P&gt;I cannot find from Google.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why there is no documentation?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it's create automatically, then I guess, it will deleted automatically when the sas finished running.&amp;nbsp; So how to save it permanently?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 19:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436843#M108700</guid>
      <dc:creator>mhollifi</dc:creator>
      <dc:date>2018-02-13T19:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436845#M108702</link>
      <description>&lt;P&gt;This SAS code will create one for you -- a minimum viable catalog file.&amp;nbsp; Change the path as needed.&amp;nbsp; The file will land in the path you specify as&amp;nbsp;formats.sas7bcat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname catout 'c:\temp';
proc format lib=catout;
 value min 1-10 = 'Lower';
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But --&amp;nbsp;curious what your next step will be with this.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 20:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436845#M108702</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-02-13T20:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436858#M108708</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;PRE&gt;proc gchart data=sashelp.class gout=work.graphcat;
   vbar age;
run;&lt;/PRE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/183698"&gt;@mhollifi&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Well, I only want to know how to create sas7bcat file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You didn't tell me how.&lt;/P&gt;
&lt;P&gt;I cannot find from the manual.&lt;/P&gt;
&lt;P&gt;I cannot find from Google.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why there is no documentation?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's create automatically, then I guess, it will deleted automatically when the sas finished running.&amp;nbsp; So how to save it permanently?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you do not know what kind of entries your "catalog" needs then I suspect more problems down the line.&lt;/P&gt;
&lt;P&gt;To create a catalog with Pmenu entries:&lt;/P&gt;
&lt;PRE&gt;libname proclib 'SAS-data-library';

   proc pmenu catalog=proclib.mycat;
      menu menu1;
      item end;
      item bye;
   run;

      menu menu2;
      item end;
      item pgm;
      item log;
      item output;
   run;&lt;/PRE&gt;
&lt;P&gt;With macro entries in catalog work.sasmacr most likely though can be specified on the %macro statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%macro dummy();
%put This is a dummy macro.;
%mend;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With graphic entries (any of Gplot G3d Gmap us this approach):&lt;/P&gt;
&lt;PRE&gt;proc gchart data=sashelp.class gout=work.graphcat;
   vbar age;
run;&lt;/PRE&gt;
&lt;P&gt;and several other procedures such as Proc Build in SAS/AF or FSP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc gdevice catalog=library.catname ;&lt;/P&gt;
&lt;P&gt;Proc Template&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 20:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436858#M108708</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-13T20:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to create sas7bcat file?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436892#M108718</link>
      <description>&lt;P&gt;I finally figured out.&lt;/P&gt;&lt;P&gt;There is a file called "formats" in my work library.&amp;nbsp; I copied it to my hard drive, and read it using R.&amp;nbsp; It worked.&lt;/P&gt;&lt;P&gt;Thank you for your help.&amp;nbsp; I figured out the concept.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 21:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-sas7bcat-file/m-p/436892#M108718</guid>
      <dc:creator>mhollifi</dc:creator>
      <dc:date>2018-02-13T21:45:30Z</dc:date>
    </item>
  </channel>
</rss>

