<?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 can one identify the max length of a format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158926#M31016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search the dictionary.options or sashelp.voptions for the fmtsearch setting value OPTNAME=FMTSEARCH and SETTING so you can search through dictionary.format or sashelp.vformat in the correct order to find the first occurrence of the format with the desired name and associated MAXW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have as many format catalogs as I do, then this might be relatively easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 22:48:01 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-09-24T22:48:01Z</dc:date>
    <item>
      <title>How can one identify the max length of a format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158924#M31014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a situation where I have to know the maximum length for a formatted variable. I know that I can use proc format to get the value if I know which catalog the format is coming from, but how can I get the value if I'm only passed the format name, but have no idea where it is coming from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do it programmatically, as it is part of a macro being used to export data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 22:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158924#M31014</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-09-24T22:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can one identify the max length of a format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158925#M31015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you not query the SASHELP.VFORMAT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA TEST;&lt;/P&gt;&lt;P&gt;SET SASHELP.VFORMAT;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 22:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158925#M31015</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2014-09-24T22:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can one identify the max length of a format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158926#M31016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search the dictionary.options or sashelp.voptions for the fmtsearch setting value OPTNAME=FMTSEARCH and SETTING so you can search through dictionary.format or sashelp.vformat in the correct order to find the first occurrence of the format with the desired name and associated MAXW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have as many format catalogs as I do, then this might be relatively easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 22:48:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158926#M31016</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-09-24T22:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can one identify the max length of a format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158927#M31017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are both correct of course. It's been a loooooooooooong day!&amp;nbsp; Much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 23:00:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158927#M31017</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-09-24T23:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can one identify the max length of a format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158928#M31018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will VFORMATW do what you are looking for? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 23:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158928#M31018</guid>
      <dc:creator>Orsini</dc:creator>
      <dc:date>2014-09-24T23:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can one identify the max length of a format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158929#M31019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vformatwx might do what I need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 23:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-can-one-identify-the-max-length-of-a-format/m-p/158929#M31019</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-09-24T23:44:21Z</dc:date>
    </item>
  </channel>
</rss>

