<?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: GETOPTIONS Question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139821#M28206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say you've hit a maximum length for macro variables there $2000.&amp;nbsp; Have a look in SASHELP.VGOPT dataset, you can find COLORS option there, I would expect more than one, try processing from that rather than assign to macro var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 13:45:58 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-03-11T13:45:58Z</dc:date>
    <item>
      <title>GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139820#M28205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a long list of colors, set in GOPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;goptions colors=(black red green blue cyan magenta orange lightblue limegreen purple brown yellow salmon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; darkgreen pink turquoise tan olive firebrick slateblue orangered yellowgreen teal gray44 blueviolet &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; crimson chocolate darkmagenta gold silver peru plum powderblue tomato olivedrab lavender khaki darkgray&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cornsilk deepskyblue deeppink goldenrod);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Then I try to obtain this same list of colors in a macro variable for use in the program:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;%let colors=%sysfunc(getoption(colors));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;and the resulting macro variable is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( BLACK RED GREEN BLUE CYAN MAGENTA ORANGE LIGHTBLU LIMEGREE PURPLE BROWN YELLOW SALMON DARKGREE PINK TURQUOIS TAN OLIVE&lt;/P&gt;&lt;P&gt;FIREBRIC SLATEBLU ORANGERE YELLOWGR TEAL GRAY44 BLUEVIOL CRIMSON CHOCOLAT DARKMAGE GOLD SILVER PERU PLUM POWDERBL TOMATO&lt;/P&gt;&lt;P&gt;OLIVEDRA LAVEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand why the color names are maximum eight&amp;nbsp; characters, that's fine, not a problem. I do not understand why the macro variable ends with laven (lavender) and doesn't include the remaining colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the problem here? How do I fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 13:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139820#M28205</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T13:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139821#M28206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say you've hit a maximum length for macro variables there $2000.&amp;nbsp; Have a look in SASHELP.VGOPT dataset, you can find COLORS option there, I would expect more than one, try processing from that rather than assign to macro var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 13:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139821#M28206</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-03-11T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139822#M28207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The maximum number of characters which can be stored in a macro variable is 32767, not 2000. The limit must be down to the getoption() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 13:49:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139822#M28207</guid>
      <dc:creator>chrisj75</dc:creator>
      <dc:date>2014-03-11T13:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139823#M28208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it is a limit with GETOPTION, seems like the limit might be 256 characters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, I can get the information out of the SASHELP.VGOPT table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 13:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139823#M28208</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139824#M28209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A related limit ... but not the one you are running into ... within SASHELP.VGOPT, the variable SETTING which holds the colors list is limited to 1024 characters.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139824#M28209</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-03-11T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139825#M28210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VGOPT SETTINGS contains something even more bizarre when I ran it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( BLACK&amp;nbsp; RED&amp;nbsp; GREEN&amp;nbsp; BLUE&amp;nbsp; CYAN&amp;nbsp; MAGENTA&amp;nbsp; ORANGE&amp;nbsp; LIGHTBLU E LIMEGREE N PURPLE&amp;nbsp; BROWN&amp;nbsp; YELLOW&amp;nbsp; SALMON&amp;nbsp; DARKGREE N PINK&amp;nbsp; TURQUOIS E TAN&amp;nbsp; OLIVE&amp;nbsp; FIREBRIC K SLATEBLU E ORANGERE D )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139825#M28210</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-03-11T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139826#M28211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not seeing that particular issue, data_null_;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:31:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139826#M28211</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T14:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139827#M28212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only see the "correct" (truncated to 8 byte words) list with PROC GOPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;19&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc goptions option=colors;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #008080; background-color: #ffffff;"&gt;20&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;SAS&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;/GRAPH software options and parameters&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (executing in IOM ROOT COMP ENV environment)&lt;BR /&gt;&lt;BR /&gt;COLORS=( BLACK RED GREEN BLUE CYAN MAGENTA ORANGE LIGHTBLU LIMEGREE PURPLE BROWN YELLOW SALMON DARKGREE PINK TURQUOIS TAN OLIVE &lt;BR /&gt;FIREBRIC SLATEBLU ORANGERE YELLOWGR TEAL GRAY44 BLUEVIOL CRIMSON CHOCOLAT DARKMAGE GOLD SILVER PERU PLUM POWDERBL TOMATO OLIVEDRA &lt;BR /&gt;LAVENDER KHAKI DARKGRAY CORNSILK DEEPSKYB DEEPPINK GOLDENRO ) &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default color list&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139827#M28212</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-03-11T14:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139828#M28213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i see too it like so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="aw2014-03-11_154921.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/5666_aw2014-03-11_154921.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;searching color name i have found that in the register you have colors in short for the html colors&lt;/P&gt;&lt;P&gt;but only for G O P&amp;nbsp;&amp;nbsp;&amp;nbsp; green orange and purple&lt;IMG alt="aw2014-03-11_154851.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/5667_aw2014-03-11_154851.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:52:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139828#M28213</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2014-03-11T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139829#M28214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, at least since SAS 9.2, the max length of a macro variable was bumped up to 65,534&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139829#M28214</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2014-03-11T14:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139830#M28215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andre and data_null_; what version of SAS, what operating system? I am not seeing this with SAS 9.4, Windows 7 PRO 64bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:01:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139830#M28215</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T15:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139831#M28216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am running 9.3 (TS1M2) on SunOS 5.10 (SUN 64).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:30:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139831#M28216</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-03-11T15:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139832#M28217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paige is wondering if you should report this as a bug, and see what SAS has to say ... it sure seems like a bug to me ... of course, if this is not something you would ever need in your work then you may not want to bother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139832#M28217</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T15:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139833#M28218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You seem to have hit the limit on the COLORS option.&amp;nbsp; What use do you have for so many colors? I doubt that any graph produced with so many colors would be readable by humans.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 16:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139833#M28218</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-03-11T16:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139834#M28219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I haven't hit the limit on the COLORS option, but I appear to have hit the limit on the GETOPTION command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree that humans have trouble distinguishing all those different colors, but tell that to the managers who want this ... what started out as a graph with 5 colors for five different pieces of equipment turns into ... "can't you do the same thing for a situation where we have 32 different operators?" ... and my version of SAS PROC ARGUEWITHMANAGERS doesn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 16:21:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139834#M28219</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T16:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139835#M28220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you will need to make a coding change if it is important to have access to the list of colors.&lt;/P&gt;&lt;P&gt;Put it into a macro variable before setting the option. Then you can just reference the macro variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let colors=red blue green;&lt;/P&gt;&lt;P&gt;options colors=(&amp;amp;colors);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 16:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139835#M28220</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-03-11T16:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139836#M28221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh no that doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have lots of programs that call lots of utility macros that do graphs and stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The utility macros have to be able to access the specific colors chosen by the calling program. Accessing the SASHELP.VGOPT seems to work for me. GETOPTION does not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 16:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139836#M28221</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2014-03-11T16:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139837#M28222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Watch out if the length gets longer than 1024.&amp;nbsp; If you are using SAS 9.4 then there will be multiple records in SASHELP.VGOPT.&amp;nbsp; It is tricky to get them concatenated correctly into a macro variable because of how SAS treats trailing blanks. In earlier versions of SAS you are limited to 1024 characters.&amp;nbsp; Even 9.4 has problems, the OFFSET variable is missing for all rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a little program to test putting over 1500 characters into the COLORS option and seeing if they call can be retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; str=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(repeat(red.blue.green.,100));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; str=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%sysfunc&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(translate(&amp;amp;str,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%str&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;( ),.));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;goptions&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;colors&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=(&amp;amp;str);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; value $&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;32767&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; i=&lt;/SPAN&gt;&lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;1024&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;until&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; (last.optname);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sashelp.vgopt end=eof;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; optname=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;'COLORS'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; optname ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;substr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(value,i)=setting;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;call&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; symputx(optname,value);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; Expected length = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%length&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(( &amp;amp;str ));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; Actual length&amp;nbsp;&amp;nbsp; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%length&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;%superq&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;(colors));&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 21:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139837#M28222</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-03-11T21:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: GETOPTIONS Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139838#M28223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paige&lt;/P&gt;&lt;P&gt;My version is sas 9.3.2 Windows 7 32 bits&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 07:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/GETOPTIONS-Question/m-p/139838#M28223</guid>
      <dc:creator>Andre</dc:creator>
      <dc:date>2014-03-12T07:41:13Z</dc:date>
    </item>
  </channel>
</rss>

