<?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 to activate a pmenu? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648467#M194263</link>
    <description>&lt;P&gt;Are you using Enterprise Guide?&amp;nbsp; Or SAS/AF?&amp;nbsp; &amp;nbsp;To what window are you applying the menu?&lt;/P&gt;
&lt;P&gt;Have you read this paper?&amp;nbsp;&lt;A href="https://www.lexjansen.com/nesug/nesug92/NESUG92062.pdf" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/nesug/nesug92/NESUG92062.pdf&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 02:12:02 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-05-18T02:12:02Z</dc:date>
    <item>
      <title>How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648452#M194250</link>
      <description>&lt;P&gt;Hello advisors,&lt;/P&gt;&lt;P&gt;I have created my pmenu inside the library, when i tried to activate in the command line using the following command, the menu didnt appear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;setpmenu hotel.mycatalog.myproject.pmenu;pmenu on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see the small image of pmenu created inside my library hotel in the folder name mycatlog.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions how to activate the pmenu please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 23:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648452#M194250</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-17T23:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648467#M194263</link>
      <description>&lt;P&gt;Are you using Enterprise Guide?&amp;nbsp; Or SAS/AF?&amp;nbsp; &amp;nbsp;To what window are you applying the menu?&lt;/P&gt;
&lt;P&gt;Have you read this paper?&amp;nbsp;&lt;A href="https://www.lexjansen.com/nesug/nesug92/NESUG92062.pdf" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/nesug/nesug92/NESUG92062.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 02:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648467#M194263</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-18T02:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648487#M194273</link>
      <description>&lt;P&gt;PMENUs can be applied to only certain kinds windows that are raised, and may require licensing for some.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Product: BASE SAS
&lt;UL&gt;
&lt;LI&gt;WINDOW (raised with DISPLAY statement)&lt;/LI&gt;
&lt;LI&gt;%WINDOW (raised with %DISPLAY statement)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Product SAS/FSP
&lt;UL&gt;
&lt;LI&gt;A window displayed in FSEDIT, FSVIEW, FSLETTER, etc... &lt;A href="https://documentation.sas.com/?docsetId=fspproc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p1nkeb0ggvakvon0zn63aiufo9ro.htm&amp;amp;locale=en" target="_self"&gt;See more&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Product SAS/AF
&lt;UL&gt;
&lt;LI&gt;AF / AFA command, PROC DISPLAY&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 06:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648487#M194273</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-05-18T06:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648516#M194287</link>
      <description>&lt;P&gt;I am not using Enterprise Guide and I have tried to associate pmenu using fsedit window. i gave the code in the command line once i press enter nothing pops up.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 10:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648516#M194287</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-18T10:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648607#M194329</link>
      <description>&lt;P&gt;Can you edit your question and add the PMENU source code ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have a screen shot ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There won't be an immediate 'popup'. The menu bar at the top of the window should change to the items in the PMENU definition.&amp;nbsp; If the items are appearing, are you saying that selecting one of them does not drop down or activate a programmed command ?&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 15:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648607#M194329</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-05-18T15:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648627#M194341</link>
      <description>&lt;P&gt;This is my code. I have saved all the sas files inside hotel-booking-demand(1). This is the screenshot where the created menu is visible. When i run in the command the menu is not coming.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_0-1589821026437.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39565iCE39AA31C2C1717A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_0-1589821026437.png" alt="Amali6_0-1589821026437.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname hotel'C:\Users\Prithi\Downloads\hotel-booking-demand (1)';
proc pmenu catalog=hotel.mycatalog;
filename pgmproc' C:\Users\Prithi\Downloads\hotel-booking-demand (1).pgmproc.sas ';
filename gchart' C:\Users\Prithi\Downloads\hotel-booking-demand(1).gchart.sas ';
filename report' C:\Users\Prithi\Downloads\hotel-booking-demand(1).report.sas ';
filename content' C\Users\Prithi\Downloads\hotel-booking-demand(1).content.sas ';
filename sgplot' C\Users\Prithi\Downloads\hotel-booking-demand(1).sgplot.sas ';
filename boxplot' C:\Users\Prithi\Downloads\hotel-booking-demand(1).boxplot.sas ';
filename month' C:\Users\Prithi\Downloads\hotel-booking-demand(1).month.sas ';
filename corr ' C:\Users\Prithi\Downloads\hotel-booking-demand(1).corr.sas ';
filename robus ' C:\Users\Prithi\Downloads\hotel-booking-demand(1).robus.sas ';
filename tabulate ' C:\Users\Prithi\Downloads\hotel-booking-demand(1).tabulate.sas ';

menu myproject;
item ' Data Analysis ' menu= d;
item ' Explore Dataset ' menu= e;
item ' User Input ' menu= u;
item ' Visualization by charts ' menu= v;
item ' Statistical Analysis ' menu= r;


menu d;
item ' No of total bookings ' selection= gchart;
item ' No of repeated guests ' selection= report;
item ' Go back ' selection= g;
selection g ' end ';
selection gchart ' end;pgm;include gchart;submit ';
selection report ' end;pgm;include report;submit ';

menu e;
item '  Dataset content' selection= content;
item 'Correlation between data ' selection=corr;
item 'Yearwise Report ' selection=tabulate;
selection content ' end;pgm;include content;submit ';
selection corr ' end;pgm;include corr;submit ';
selection tabulate ' end;pgm;include tabulate;submit ';

menu u;
item ' Findings ' dialog= mydialog;


menu v;
item ' Canceleation ratio ' selection= sgplot;
item ' Hotel Rates ' selection= boxplot;
selection sgplot ' end;pgm;include sgplot;submit ';
selection boxplot ' end;pgm;include boxplot;submit ';

menu r;
item 'Prediction of cancelation ' selection= robus;
selection robus ' end;pgm;include robus;submit ';


dialog  mydialog ' end;pgm;include pgmproc;c hotl %1;c year %2;c mnth @1;submit ';
text #1 @1 ' Select a hotel ';
radiobox default=1;
rbutton #3 @5 ' Resort Hotel ' color=blue substitute=' Resort Hotel ';
rbutton #4 @5 ' City Hotel ' color=blue substitute=' City Hotel ';
text #6 @1 ' Choose an year ';
radiobox default=1;
rbutton #8 @5 '2015';
rbutton #8 @10 '2016';
rbutton #8 @15 '2017';
text #15 @1 ' Enter a month: ';
text #15 @25 len=4;
quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 16:59:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/648627#M194341</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-18T16:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/649044#M194529</link>
      <description>&lt;P&gt;Sorry I can't help you further. I haven't used pmenus for many years and I am stuck with EG now, so can't test.&lt;/P&gt;
&lt;P&gt;You could try with a simple menu see if that works and then add to it.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 23:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/649044#M194529</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-19T23:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a pmenu?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/649071#M194550</link>
      <description>&lt;P&gt;Thanks for the reply. I got the fsedit window but my menu is not appearing. I am confused what went wrong, so i have again posted the window i got in the community to get help.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 00:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-activate-a-pmenu/m-p/649071#M194550</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-20T00:49:57Z</dc:date>
    </item>
  </channel>
</rss>

