<?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: Month format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/444563#M111325</link>
    <description>&lt;P&gt;converting&amp;nbsp;SAS EG 5.1 code on SAS EG 7.1&lt;/P&gt;&lt;P&gt;OPTIONS FMTSEARCH=(userfmt);&lt;BR /&gt;31 libname userfmt "/ced_d/shared2/qcpap72ydir/sas_userfmt";&lt;BR /&gt;NOTE: Libref USERFMT was successfully assigned as follows:&lt;BR /&gt;Engine: V9&lt;BR /&gt;Physical Name: /ced_d/shared2/&lt;SPAN&gt;qcp&lt;/SPAN&gt;&lt;SPAN&gt;ap&lt;/SPAN&gt;&lt;SPAN&gt;72&lt;/SPAN&gt;&lt;SPAN&gt;ydir&lt;/SPAN&gt;/sas_userfmt&lt;BR /&gt;32&lt;BR /&gt;33 %put &amp;amp;Run_Date;&lt;BR /&gt;030618&lt;BR /&gt;34 data _null_;&lt;BR /&gt;35 header = 'clinipoint_CD_and_RD';&lt;BR /&gt;36&lt;BR /&gt;37 run_date = "&amp;amp;Run_Date";&lt;BR /&gt;38 substr(run_date,3,2) = '01';&lt;BR /&gt;39&lt;BR /&gt;40 month = substr(run_date,1,2);&lt;BR /&gt;41 day = substr(run_date,3,2);&lt;BR /&gt;42 year=substr(run_date,5,4);&lt;BR /&gt;43&lt;BR /&gt;44 MonthName = put(month,$monthMMM.);&lt;BR /&gt;__________&lt;BR /&gt;484&lt;BR /&gt;ERROR: File LIBRARY.FORMATS.CATALOG was created for a different operating system.&lt;BR /&gt;ERROR: File USERFMT.FORMATS.CATALOG was created for a different operating system.&lt;BR /&gt;NOTE 484-185: Format $MONTHMMM was not found or could not be loaded.&lt;/P&gt;&lt;P&gt;45 report_month = compress(MonthName || '_' || Year);&lt;BR /&gt;46&lt;BR /&gt;2 The SAS System 17:40 Tuesday, March 6, 2018&lt;/P&gt;&lt;P&gt;47 put MonthName;&lt;BR /&gt;48 put Year;&lt;BR /&gt;49 put report_month=;&lt;BR /&gt;50&lt;BR /&gt;51 call symputx('header',header,'g');&lt;BR /&gt;52 call symputx('report_month',report_month,'g');&lt;BR /&gt;53 run;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Mar 2018 17:47:20 GMT</pubDate>
    <dc:creator>SAS_PA1</dc:creator>
    <dc:date>2018-03-11T17:47:20Z</dc:date>
    <item>
      <title>Month format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/443170#M110852</link>
      <description>&lt;P&gt;Please let me know how to change this. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;44 MonthName = put(month,$MonMMM.);&lt;BR /&gt;_________&lt;BR /&gt;484&lt;BR /&gt;ERROR: File LIBRARY.FORMATS.CATALOG was created for a different operating system.&lt;BR /&gt;ERROR: File USERFMT.FORMATS.CATALOG was created for a different operating system.&lt;BR /&gt;NOTE 484-185: Format &lt;SPAN&gt;$&lt;/SPAN&gt;&lt;SPAN&gt;MonMMM&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt; was not found or could not be loaded.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 04:32:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/443170#M110852</guid>
      <dc:creator>SAS_PA1</dc:creator>
      <dc:date>2018-03-07T04:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Month format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/443172#M110853</link>
      <description>&lt;P&gt;Are you looking for&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; monname5.;&lt;/PRE&gt;&lt;P&gt;format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;MonthName = put(month,monname5..);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 04:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/443172#M110853</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-03-07T04:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Month format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/443191#M110858</link>
      <description>&lt;P&gt;You have two format catalogs in your fmtsearch path that were created on another platform, but catalogs are version- and platform-specific, so they can't be used, causing the ERROR messages. Get the code that was originally used to create the custom formats in there, remove those catalogs, and recreate them from code.&lt;/P&gt;
&lt;P&gt;Alternatively, run (or have run) proc format with cntlout= on the original platform, transfer the resulting dataset(s) to your new platform, and use them as cntlin= in a proc format.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Mar 2018 07:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/443191#M110858</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-03-07T07:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Month format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/444563#M111325</link>
      <description>&lt;P&gt;converting&amp;nbsp;SAS EG 5.1 code on SAS EG 7.1&lt;/P&gt;&lt;P&gt;OPTIONS FMTSEARCH=(userfmt);&lt;BR /&gt;31 libname userfmt "/ced_d/shared2/qcpap72ydir/sas_userfmt";&lt;BR /&gt;NOTE: Libref USERFMT was successfully assigned as follows:&lt;BR /&gt;Engine: V9&lt;BR /&gt;Physical Name: /ced_d/shared2/&lt;SPAN&gt;qcp&lt;/SPAN&gt;&lt;SPAN&gt;ap&lt;/SPAN&gt;&lt;SPAN&gt;72&lt;/SPAN&gt;&lt;SPAN&gt;ydir&lt;/SPAN&gt;/sas_userfmt&lt;BR /&gt;32&lt;BR /&gt;33 %put &amp;amp;Run_Date;&lt;BR /&gt;030618&lt;BR /&gt;34 data _null_;&lt;BR /&gt;35 header = 'clinipoint_CD_and_RD';&lt;BR /&gt;36&lt;BR /&gt;37 run_date = "&amp;amp;Run_Date";&lt;BR /&gt;38 substr(run_date,3,2) = '01';&lt;BR /&gt;39&lt;BR /&gt;40 month = substr(run_date,1,2);&lt;BR /&gt;41 day = substr(run_date,3,2);&lt;BR /&gt;42 year=substr(run_date,5,4);&lt;BR /&gt;43&lt;BR /&gt;44 MonthName = put(month,$monthMMM.);&lt;BR /&gt;__________&lt;BR /&gt;484&lt;BR /&gt;ERROR: File LIBRARY.FORMATS.CATALOG was created for a different operating system.&lt;BR /&gt;ERROR: File USERFMT.FORMATS.CATALOG was created for a different operating system.&lt;BR /&gt;NOTE 484-185: Format $MONTHMMM was not found or could not be loaded.&lt;/P&gt;&lt;P&gt;45 report_month = compress(MonthName || '_' || Year);&lt;BR /&gt;46&lt;BR /&gt;2 The SAS System 17:40 Tuesday, March 6, 2018&lt;/P&gt;&lt;P&gt;47 put MonthName;&lt;BR /&gt;48 put Year;&lt;BR /&gt;49 put report_month=;&lt;BR /&gt;50&lt;BR /&gt;51 call symputx('header',header,'g');&lt;BR /&gt;52 call symputx('report_month',report_month,'g');&lt;BR /&gt;53 run;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Mar 2018 17:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Month-format/m-p/444563#M111325</guid>
      <dc:creator>SAS_PA1</dc:creator>
      <dc:date>2018-03-11T17:47:20Z</dc:date>
    </item>
  </channel>
</rss>

