<?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: SAS large format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386712#M277247</link>
    <description>&lt;UL&gt;
&lt;LI&gt;Try using FMTLIB option and see if you can scrape the information from the listing output. But I doubt it will help since it will still need to load the file.&lt;/LI&gt;
&lt;LI&gt;You need to figure out how to start SAS with a larger MEMSIZE setting.
&lt;UL&gt;
&lt;LI&gt;What version of SAS are you using?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;What operating system.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;You might be able to contact SAS technical support and get help with converting the file, but I am not sure if they provide that type of service.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 09 Aug 2017 17:00:08 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2017-08-09T17:00:08Z</dc:date>
    <item>
      <title>SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386702#M277243</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to conver a large format into SAS dataset? the SAS memsize is not enough to do this.&lt;/P&gt;
&lt;P&gt;May I ask is there any tricky method to split the format and convert them to SAS small SAS dataset one by one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion will be appreciated!(without change memory size)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format cntout=newdataset  lib=alargefmt;
run;



*******error* insufficient memory........;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386702#M277243</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-09T16:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386703#M277244</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10531"&gt;@GeorgeSAS&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to conver a large format into SAS dataset? the SAS memsize is not enough to do this.&lt;/P&gt;
&lt;P&gt;May I ask is there any tricky method to split the format and convert them to SAS small SAS dataset one by one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestion will be appreciated!(without change memory size)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format cntout=newdataset  lib=alargefmt;
run;

*******error* insufficient memory........;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Does the catalog have more than one format? Does it help to use the SELECT statement to export them one by one?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386703#M277244</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-08-09T16:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386704#M277245</link>
      <description>Thank you,but only one format ,that single one is too large to be operated</description>
      <pubDate>Wed, 09 Aug 2017 16:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386704#M277245</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-09T16:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386710#M277246</link>
      <description>&lt;P&gt;How large are we talking here? &amp;nbsp;A format is supposed to be a distinct grouping, so how has it got so big? &amp;nbsp;Maybe consider using datasets rather than formats.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 16:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386710#M277246</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-08-09T16:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386712#M277247</link>
      <description>&lt;UL&gt;
&lt;LI&gt;Try using FMTLIB option and see if you can scrape the information from the listing output. But I doubt it will help since it will still need to load the file.&lt;/LI&gt;
&lt;LI&gt;You need to figure out how to start SAS with a larger MEMSIZE setting.
&lt;UL&gt;
&lt;LI&gt;What version of SAS are you using?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;What operating system.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;You might be able to contact SAS technical support and get help with converting the file, but I am not sure if they provide that type of service.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:00:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386712#M277247</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-08-09T17:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386721#M277248</link>
      <description>Thank you,&lt;BR /&gt;This is on mainframe ,the format is 1 GB size.and consider using datasets rather than formats is a good option but this format is from an old file.</description>
      <pubDate>Wed, 09 Aug 2017 17:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386721#M277248</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-09T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386748#M277249</link>
      <description>&lt;P&gt;I can't tell if that error message relates to the output data set or not, so you can limit the variables sent to cntlout to see if that helps:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options compress=yes;                                                                                                                   
proc format library=alargefmt                                                                                                           
  cntlout=newdataset(keep=start end label);                                                                                             
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't use any ranges (i.e start and end are the same) then you could just keep start, label.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 18:15:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386748#M277249</guid>
      <dc:creator>DaveHorne</dc:creator>
      <dc:date>2017-08-09T18:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386749#M277250</link>
      <description>&lt;P&gt;Are you running the format code on the mainframe?&lt;/P&gt;
&lt;P&gt;You may be running into your available space settings for users and not a SAS limit. Disc space would be a common element limited to most users and if the catalog is thal large.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance do you have the Code that created the format? It may be that running that code with cntlout would be a better option.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 18:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386749#M277250</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-09T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386758#M277251</link>
      <description>Thank you Dave,&lt;BR /&gt;that is a good idea.  but it not work, because the keep statement happen only after all file already load into memory.&lt;BR /&gt;there would be a solution if can find how to use the 'keep' before all file load into memory.&lt;BR /&gt;&lt;BR /&gt;And ballardw, thank you,but I don't have the code that created the format</description>
      <pubDate>Wed, 09 Aug 2017 18:38:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386758#M277251</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-09T18:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386781#M277252</link>
      <description>&lt;P&gt;Have you tried something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc format cntout=formatone&amp;nbsp; lib=alargefmt;&lt;/P&gt;
&lt;P&gt;select formatone; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where formatone is the name of one of the formats in the library?&lt;/P&gt;
&lt;P&gt;If you also have informats you would use @informatname since it is very common to have an informat and format with the same name.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 19:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386781#M277252</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-09T19:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386829#M277253</link>
      <description>&lt;P&gt;I tried, but just the single format is too large to be loaded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 22:23:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386829#M277253</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-08-09T22:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386865#M277254</link>
      <description>&lt;P&gt;Then you either need increased memory, or go back one further step and recreate the data that was originally used to create the format (nobody types a 1GB format by hand). With data like that, there MUST be documentation about its creation.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 06:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386865#M277254</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-08-10T06:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS large format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386954#M277255</link>
      <description>&lt;P&gt;Get help from your local systems team. If you really are running MVS then change the memory settings in the JCL.&lt;/P&gt;
&lt;P&gt;Are you sure the file is really a format catalog? Can you see the list of formats in it using PROC CATALOG? Or using the DICTIONARY views?&lt;/P&gt;
&lt;P&gt;Are you sure the file is a format catalog for the version of SAS that you are running? &amp;nbsp;Format catalogs a normally not compatible across releases or operating systems.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 11:38:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-large-format/m-p/386954#M277255</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-08-10T11:38:20Z</dc:date>
    </item>
  </channel>
</rss>

