<?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 Help generating a plot in SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589106#M75923</link>
    <description>&lt;P&gt;I am not getting an output. Receiving an error stating All values missing for plot of PayrollAW*AttendanceAW&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am brand new this so any advice you be appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Homework4;&lt;BR /&gt;input Team $ AttendanceAW PayrollAW;&lt;BR /&gt;Datalines;&lt;BR /&gt;ARI 2,134,375 $106,580,200&lt;BR /&gt;ATL 2,505,252 $119,705,250&lt;BR /&gt;BAL 2,028,424 $161,621,633&lt;BR /&gt;BOS 2,917,678 $200,550,750&lt;BR /&gt;CHC 3,199,562 $177,210,667&lt;BR /&gt;CHW 1,629,470 $97,842,000&lt;BR /&gt;CIN 1,836,917 $79,315,786&lt;BR /&gt;CLE 2,048,138 $114,427,167&lt;BR /&gt;COL 2,953,650 $106,650,000&lt;BR /&gt;DET 2,321,599 $118,375,600&lt;BR /&gt;HOU 2,403,671 $157,656,400&lt;BR /&gt;KCR 2,220,370 $127,555,817&lt;BR /&gt;LAA 3,019,585 $181,125,500&lt;BR /&gt;LAD 3,765,856 $201,466,263&lt;BR /&gt;MIA 1,583,014 $111,591,100&lt;BR /&gt;MIL 2,627,705 $68,439,300&lt;BR /&gt;MIN 2,051,279 $103,932,500&lt;BR /&gt;NYM 2,460,622 $176,615,252&lt;BR /&gt;NYY 3,154,938 $182,424,700&lt;BR /&gt;OAK 1,475,721 $51,560,000&lt;BR /&gt;PHI 1,905,354 $86,276,000&lt;BR /&gt;PIT 1,919,447 $102,953,333&lt;BR /&gt;SDP 2,138,491 $49,248,767&lt;BR /&gt;SEA 2,135,445 $172,438,700&lt;BR /&gt;SFG 3,303,652 $177,399,833&lt;BR /&gt;STL 3,448,337 $129,652,933&lt;BR /&gt;TBR 1,253,619 $79,473,033&lt;BR /&gt;TEX 2,507,760 $207,326,274&lt;BR /&gt;TOR 3,203,886 $158,890,575&lt;BR /&gt;;&lt;BR /&gt;proc plot;&lt;BR /&gt;Title "PayrollAW as a function of AttendanceAW";&lt;BR /&gt;plot PayrollAW*AttendanceAW;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2019 16:12:24 GMT</pubDate>
    <dc:creator>Allen799</dc:creator>
    <dc:date>2019-09-16T16:12:24Z</dc:date>
    <item>
      <title>Help generating a plot in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589106#M75923</link>
      <description>&lt;P&gt;I am not getting an output. Receiving an error stating All values missing for plot of PayrollAW*AttendanceAW&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am brand new this so any advice you be appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Homework4;&lt;BR /&gt;input Team $ AttendanceAW PayrollAW;&lt;BR /&gt;Datalines;&lt;BR /&gt;ARI 2,134,375 $106,580,200&lt;BR /&gt;ATL 2,505,252 $119,705,250&lt;BR /&gt;BAL 2,028,424 $161,621,633&lt;BR /&gt;BOS 2,917,678 $200,550,750&lt;BR /&gt;CHC 3,199,562 $177,210,667&lt;BR /&gt;CHW 1,629,470 $97,842,000&lt;BR /&gt;CIN 1,836,917 $79,315,786&lt;BR /&gt;CLE 2,048,138 $114,427,167&lt;BR /&gt;COL 2,953,650 $106,650,000&lt;BR /&gt;DET 2,321,599 $118,375,600&lt;BR /&gt;HOU 2,403,671 $157,656,400&lt;BR /&gt;KCR 2,220,370 $127,555,817&lt;BR /&gt;LAA 3,019,585 $181,125,500&lt;BR /&gt;LAD 3,765,856 $201,466,263&lt;BR /&gt;MIA 1,583,014 $111,591,100&lt;BR /&gt;MIL 2,627,705 $68,439,300&lt;BR /&gt;MIN 2,051,279 $103,932,500&lt;BR /&gt;NYM 2,460,622 $176,615,252&lt;BR /&gt;NYY 3,154,938 $182,424,700&lt;BR /&gt;OAK 1,475,721 $51,560,000&lt;BR /&gt;PHI 1,905,354 $86,276,000&lt;BR /&gt;PIT 1,919,447 $102,953,333&lt;BR /&gt;SDP 2,138,491 $49,248,767&lt;BR /&gt;SEA 2,135,445 $172,438,700&lt;BR /&gt;SFG 3,303,652 $177,399,833&lt;BR /&gt;STL 3,448,337 $129,652,933&lt;BR /&gt;TBR 1,253,619 $79,473,033&lt;BR /&gt;TEX 2,507,760 $207,326,274&lt;BR /&gt;TOR 3,203,886 $158,890,575&lt;BR /&gt;;&lt;BR /&gt;proc plot;&lt;BR /&gt;Title "PayrollAW as a function of AttendanceAW";&lt;BR /&gt;plot PayrollAW*AttendanceAW;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:12:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589106#M75923</guid>
      <dc:creator>Allen799</dc:creator>
      <dc:date>2019-09-16T16:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589107#M75924</link>
      <description>&lt;P&gt;Please try the below code as an example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc gplot data=sashelp.class;
plot height*weight;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589107#M75924</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-16T16:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589108#M75925</link>
      <description>&lt;P&gt;You miss the informats of the numeric variables.&lt;/P&gt;
&lt;P&gt;Try change your code to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Homework4;
input Team $ AttendanceAW  comma14. PayrollAW  dollar14.;
Datalines;
   ... your data ...
; run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589108#M75925</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-09-16T16:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589111#M75926</link>
      <description>&lt;P&gt;Thank you at least it gave me a plot chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please explain the comma14. and dollar14. being used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589111#M75926</guid>
      <dc:creator>Allen799</dc:creator>
      <dc:date>2019-09-16T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589112#M75927</link>
      <description>&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589112#M75927</guid>
      <dc:creator>Allen799</dc:creator>
      <dc:date>2019-09-16T16:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help generating a plot in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589113#M75928</link>
      <description>&lt;P&gt;Your data set is not being read in correctly for some reason. Are you actually reading in from data lines?&lt;/P&gt;
&lt;P&gt;Please post the log with the actual error.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/290602"&gt;@Allen799&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am not getting an output. Receiving an error stating All values missing for plot of PayrollAW*AttendanceAW&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am brand new this so any advice you be appreciated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Homework4;&lt;BR /&gt;input Team $ AttendanceAW PayrollAW;&lt;BR /&gt;Datalines;&lt;BR /&gt;ARI 2,134,375 $106,580,200&lt;BR /&gt;ATL 2,505,252 $119,705,250&lt;BR /&gt;BAL 2,028,424 $161,621,633&lt;BR /&gt;BOS 2,917,678 $200,550,750&lt;BR /&gt;CHC 3,199,562 $177,210,667&lt;BR /&gt;CHW 1,629,470 $97,842,000&lt;BR /&gt;CIN 1,836,917 $79,315,786&lt;BR /&gt;CLE 2,048,138 $114,427,167&lt;BR /&gt;COL 2,953,650 $106,650,000&lt;BR /&gt;DET 2,321,599 $118,375,600&lt;BR /&gt;HOU 2,403,671 $157,656,400&lt;BR /&gt;KCR 2,220,370 $127,555,817&lt;BR /&gt;LAA 3,019,585 $181,125,500&lt;BR /&gt;LAD 3,765,856 $201,466,263&lt;BR /&gt;MIA 1,583,014 $111,591,100&lt;BR /&gt;MIL 2,627,705 $68,439,300&lt;BR /&gt;MIN 2,051,279 $103,932,500&lt;BR /&gt;NYM 2,460,622 $176,615,252&lt;BR /&gt;NYY 3,154,938 $182,424,700&lt;BR /&gt;OAK 1,475,721 $51,560,000&lt;BR /&gt;PHI 1,905,354 $86,276,000&lt;BR /&gt;PIT 1,919,447 $102,953,333&lt;BR /&gt;SDP 2,138,491 $49,248,767&lt;BR /&gt;SEA 2,135,445 $172,438,700&lt;BR /&gt;SFG 3,303,652 $177,399,833&lt;BR /&gt;STL 3,448,337 $129,652,933&lt;BR /&gt;TBR 1,253,619 $79,473,033&lt;BR /&gt;TEX 2,507,760 $207,326,274&lt;BR /&gt;TOR 3,203,886 $158,890,575&lt;BR /&gt;;&lt;BR /&gt;proc plot;&lt;BR /&gt;Title "PayrollAW as a function of AttendanceAW";&lt;BR /&gt;plot PayrollAW*AttendanceAW;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:15:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589113#M75928</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-16T16:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help generating a plot in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589114#M75929</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/88384"&gt;@Shmuel&lt;/a&gt;&amp;nbsp; has given the way to read the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your next procedure may require more memory to plot your requirement. Hope you have that memory. Perhaps you may ask for some summary measures.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:16:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589114#M75929</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2019-09-16T16:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help generating a plot in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589117#M75930</link>
      <description>&lt;P&gt;Title "Payroll_AW as a function of Attendance_AW";&lt;BR /&gt;36 plot Payroll_AW*Attendance_AW;&lt;BR /&gt;37 run;&lt;/P&gt;&lt;P&gt;ERROR: All values missing for plot of Payroll_AW * Attendance_AW. PLOT request will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure why its not recognizing datalines. I did use the comma14. and dollar14 that another person told me to do and it worked. But I am new to this and have not been taught the comma14 or dollar14 commands&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589117#M75930</guid>
      <dc:creator>Allen799</dc:creator>
      <dc:date>2019-09-16T16:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help generating a plot in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589120#M75931</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/290602"&gt;@Allen799&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you place the DOT (.) after the numeric like (comma14. and Dollar14.)?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589120#M75931</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2019-09-16T16:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589130#M75932</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/290602"&gt;@Allen799&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you at least it gave me a plot chart.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please explain the comma14. and dollar14. being used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Here is your original code with one data row:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data Homework4;
input Team $ AttendanceAW PayrollAW;
Datalines;
ARI 2,134,375 $106,580,200&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;use next code to check your result dataset. Be sure data was read correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=homework4(obs=20); run;&amp;nbsp;/*&amp;nbsp;check first&amp;nbsp;20&amp;nbsp;data&amp;nbsp;rows&amp;nbsp;*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;you will get Team = 'ARI',&amp;nbsp; AttendanceAW = . ,&amp;nbsp; PayrollAW = .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;thus because&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;2,134,375&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt; is not numeric. By using the informat&amp;nbsp;&lt;STRONG&gt;comma10.&amp;nbsp;&lt;/STRONG&gt;sas ignores the commas.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;10&lt;/STRONG&gt; defines the input variable value length, that is 10 characters. BY using&amp;nbsp;&lt;STRONG&gt;comma14.&lt;/STRONG&gt; sas expects at most 14 characters.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;similar to above,&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;$106,580,200&lt;/SPAN&gt;&lt;/STRONG&gt; is also not numeric. By using the informat&amp;nbsp;&lt;STRONG&gt;dollar12.&amp;nbsp;&lt;/STRONG&gt;sas ignores the&amp;nbsp;&lt;STRONG&gt;$&lt;/STRONG&gt; sign and the commas.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:49:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589130#M75932</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-09-16T16:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help generating a plot in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589141#M75933</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/290602"&gt;@Allen799&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Title "Payroll_AW as a function of Attendance_AW";&lt;BR /&gt;36 plot Payroll_AW*Attendance_AW;&lt;BR /&gt;37 run;&lt;/P&gt;
&lt;P&gt;ERROR: All values missing for plot of Payroll_AW * Attendance_AW. PLOT request will be ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure why its not recognizing datalines. I did use the comma14. and dollar14 that another person told me to do and it worked. But I am new to this and have not been taught the comma14 or dollar14 commands&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Check ALL your log. I'd be surprised to see your posted data step ran correctly and didn't generate a log full of warnings or errors.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 17:17:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-generating-a-plot-in-SAS/m-p/589141#M75933</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-16T17:17:51Z</dc:date>
    </item>
  </channel>
</rss>

