<?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: Menu Bar association with FSEDIT Session in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96169#M27173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SETPMENU is a command not code so needs to be typed into the FSEDIT command line, then you just press ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also be able to do this like so in an SCL program within the FSEDIT screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="p1oghwfigaqj7cn1m8raq4k49vlp"&gt;&lt;/A&gt;&lt;/P&gt;&lt;PRE class="codeFragment"&gt;fseinit:&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call execcmd('setpmenu proclib.menucat.project.pmenu;&amp;nbsp; pmenu on;');&amp;nbsp; &lt;BR /&gt; return;&amp;nbsp; &lt;BR /&gt; init:&amp;nbsp; &lt;BR /&gt; return;&amp;nbsp; &lt;BR /&gt; main:&amp;nbsp; &lt;BR /&gt; return;&amp;nbsp; &lt;BR /&gt; term:&amp;nbsp; &lt;BR /&gt; return;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 19:26:28 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2013-04-03T19:26:28Z</dc:date>
    <item>
      <title>Menu Bar association with FSEDIT Session</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96168#M27172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hey,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have been trying to make a simple menu bar like shown in an example:&lt;/STRONG&gt;&lt;/P&gt;&lt;H2 class="title" style="font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; font-size: 16px; margin-top: 2.5em; padding-top: 0.5em; border-top-width: 2px; border-top-style: solid; border-top-color: #dcdcdc; color: #000000; background-color: #ffffff;"&gt;Program&lt;/H2&gt;&lt;P&gt;libname proclib&lt;/P&gt;&lt;P&gt;&lt;SPAN class="userSuppliedValue" style="font-style: italic;"&gt;'SAS-data-library&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;';&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;proc pmenu catalog=proclib.menucat;&lt;/PRE&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;&amp;nbsp;&amp;nbsp; menu project;&lt;/PRE&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item 'File' menu=f; item 'Edit' submenu=editmnu;&lt;/P&gt;
&lt;P&gt;item 'Scroll' menu=s;&lt;/P&gt;
&lt;P&gt;item 'Help' menu=h;&lt;/P&gt;


&lt;/PRE&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; menu f;&lt;/P&gt;
&lt;P&gt;item 'Goback' selection=g;&lt;/P&gt;
&lt;P&gt;item 'Save';&lt;/P&gt;
&lt;P&gt;selection g 'end';&lt;/P&gt;


&lt;/PRE&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; submenu editmnu sashelp.core.edit;&lt;/PRE&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; menu s;&lt;/P&gt;
&lt;P&gt;item 'Next Obs' selection=n;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; line-height: 1.5em;"&gt;item 'Prev Obs' selection=p; item 'Top';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; line-height: 1.5em;"&gt;item 'Bottom'; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; line-height: 1.5em;"&gt;selection n 'forward'; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; line-height: 1.5em;"&gt;selection p 'backward';&lt;/SPAN&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;PRE style="margin: 0 0 0 12pt; padding-bottom: 8px; font-size: 11px; font-family: monospace; color: #333333;"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; menu h;&lt;/P&gt;
&lt;P&gt;item 'Keys';&lt;/P&gt;
&lt;P&gt;item 'About this application' selection=hlp;&lt;/P&gt;
&lt;P&gt;selection hlp 'sethelp user.menucat.staffhlp.help;help';&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Then I needed to associate this menu bar with FSEDIT session with a code: &lt;EM&gt;setpmenu proclib.menucat.project.pmenu;pmenu on&amp;nbsp;&amp;nbsp;&amp;nbsp; (as shown in example)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, I have tried many ways to make it work, but I couldnt. Can You help me out with this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example is in: &lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p05eso6aptb2lvn1e4sj3ogp904r.htm" title="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p05eso6aptb2lvn1e4sj3ogp904r.htm"&gt;Base SAS(R) 9.3 Procedures Guide, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 13:58:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96168#M27172</guid>
      <dc:creator>Efka</dc:creator>
      <dc:date>2013-04-03T13:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Menu Bar association with FSEDIT Session</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96169#M27173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SETPMENU is a command not code so needs to be typed into the FSEDIT command line, then you just press ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also be able to do this like so in an SCL program within the FSEDIT screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="p1oghwfigaqj7cn1m8raq4k49vlp"&gt;&lt;/A&gt;&lt;/P&gt;&lt;PRE class="codeFragment"&gt;fseinit:&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; call execcmd('setpmenu proclib.menucat.project.pmenu;&amp;nbsp; pmenu on;');&amp;nbsp; &lt;BR /&gt; return;&amp;nbsp; &lt;BR /&gt; init:&amp;nbsp; &lt;BR /&gt; return;&amp;nbsp; &lt;BR /&gt; main:&amp;nbsp; &lt;BR /&gt; return;&amp;nbsp; &lt;BR /&gt; term:&amp;nbsp; &lt;BR /&gt; return;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 19:26:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96169#M27173</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-04-03T19:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Menu Bar association with FSEDIT Session</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96170#M27174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You. And now how do I put this line&amp;nbsp; ' &lt;STRONG&gt;setpmenu proclib.menucat.project.pmenu;&amp;nbsp; pmenu on;&lt;/STRONG&gt; ' into FSEDIT procedure correctly?&lt;/P&gt;&lt;P&gt;If I try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc fsedit &lt;/P&gt;&lt;P&gt;screen = Proclib.Menucat.Project; &lt;/P&gt;&lt;P&gt;pmenu on;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not run, shows errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 20:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96170#M27174</guid>
      <dc:creator>Efka</dc:creator>
      <dc:date>2013-04-03T20:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Menu Bar association with FSEDIT Session</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96171#M27175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned pmenu on is not going to work in SAS code, however you may be able to do it this way by invoking FSEDIT via a command in code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dm 'fsedit data = mydataset screen = Proclib.Menucat.Project; pmenu on' fsedit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 22:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Menu-Bar-association-with-FSEDIT-Session/m-p/96171#M27175</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-04-03T22:47:21Z</dc:date>
    </item>
  </channel>
</rss>

