<?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 update the format name? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444749#M111391</link>
    <description>&lt;P&gt;You already have FORMAT information in table WORK.&lt;/P&gt;
&lt;P&gt;modify table WORK. and update FORMAT by&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;format&lt;/SPAN&gt; library&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;it_rci_s cntlin&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;work&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 12 Mar 2018 13:48:39 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2018-03-12T13:48:39Z</dc:date>
    <item>
      <title>How to update the format name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444736#M111383</link>
      <description>&lt;P&gt;I'm trying to update the dataset where the below fmtname has stored. I don't know which dataset &amp;nbsp;(I know the library though)has the format definition. when I execute the below code, it has 0 observations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   create table myfmts as
   select fmtname,libname, memname
   from dictionary.formats
   where fmtname in ('$VA_MAKPRD' '$VA_LEADACTIE_SUBGRP')
   ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I execute the below code, I could see the dataset which I need to update. But 'formats' is not the actual dataset which I need to update. It is just a temporary dataset which I used to see the dataset. Appreciate if someone of you guide me to see the &amp;nbsp;actaul dataset which I need to update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format library=it_rci_s.formats cntlout=work;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:27:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444736#M111383</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-03-12T13:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the format name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444749#M111391</link>
      <description>&lt;P&gt;You already have FORMAT information in table WORK.&lt;/P&gt;
&lt;P&gt;modify table WORK. and update FORMAT by&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;format&lt;/SPAN&gt; library&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;it_rci_s cntlin&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;work&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:48:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444749#M111391</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-03-12T13:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the format name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444827#M111410</link>
      <description>If I change the dataset name from Work to Employee, will it create a&lt;BR /&gt;Employee dataset in the library as you mentioned below?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Mar 2018 16:35:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444827#M111410</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-03-12T16:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the format name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444984#M111460</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/8409"&gt;@Babloo&lt;/a&gt; wrote:&lt;BR /&gt;If I change the dataset name from Work to Employee, will it create a&lt;BR /&gt;Employee dataset in the library as you mentioned below?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you are referring to proc format the data set name on the CNTLOUT option is created then the&amp;nbsp;name you supply follows normal SAS rules. If you want the cntlout in that library you have to use cntlout=library.employee, otherwise it will write to WORK or USER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since cntlout will write the information about all formats in the catalog to cntlout by default you might be wanting to add a SELECT statement to only include specific format(s) to the output.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 23:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444984#M111460</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-03-12T23:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the format name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444987#M111463</link>
      <description>Whether I have to use the select statement after writing the Proc format?&lt;BR /&gt;Appreciate if you could help me with the code snippet.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2018 00:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/444987#M111463</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-03-13T00:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to update the format name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/445138#M111517</link>
      <description>&lt;P&gt;Table EMPLOYEE will still be in WORK library .&lt;/P&gt;
&lt;P&gt;proc format just update original format by table EMPLOYEE.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-update-the-format-name/m-p/445138#M111517</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-03-13T12:29:48Z</dc:date>
    </item>
  </channel>
</rss>

