<?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 PROC GPLOT - z/OS in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13306#M256</link>
    <description>I am trying to produce a simple line chart in batch on z/os and print the chart off to the client (I do not have access to SAS on any other platform).&lt;BR /&gt;
&lt;BR /&gt;
Sample program follows:&lt;BR /&gt;
In JCL for now I have the SASLIST DD commented out.  &lt;BR /&gt;
&lt;BR /&gt;
data final;&lt;BR /&gt;
input age survival;&lt;BR /&gt;
cards;&lt;BR /&gt;
65   88&lt;BR /&gt;
75   30&lt;BR /&gt;
87   12&lt;BR /&gt;
94     3&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc goptions reset=all;&lt;BR /&gt;
proc gplot data=final;&lt;BR /&gt;
plot survival*age / overlay haxis=axis1 hminor=4&lt;BR /&gt;
vaxis=axis2 vminor=1;&lt;BR /&gt;
symbol1 i=join v=dot h=1;&lt;BR /&gt;
axis1 order=(65 to 100 by 5) label=('Age')&lt;BR /&gt;
major=(height=1) minor=(height=0.5);&lt;BR /&gt;
axis2 order=(0 to 100 by 10) label=('Survival')&lt;BR /&gt;
major=(height=1) minor=(height=0.5);&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The program comes back with a RC of 8 in batch and a message DEVICE INITIALIZATION FAILED.  Other SASLIST output (routed to a AFB printer) from things like PROC FREQ and PROC PRINT are being created in the batch job's output under SASLIST.  I have tried device=png and device=gif, which eliminates the message, but still generates no output.</description>
    <pubDate>Tue, 14 Jun 2011 17:36:20 GMT</pubDate>
    <dc:creator>DavidJ</dc:creator>
    <dc:date>2011-06-14T17:36:20Z</dc:date>
    <item>
      <title>PROC GPLOT - z/OS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13306#M256</link>
      <description>I am trying to produce a simple line chart in batch on z/os and print the chart off to the client (I do not have access to SAS on any other platform).&lt;BR /&gt;
&lt;BR /&gt;
Sample program follows:&lt;BR /&gt;
In JCL for now I have the SASLIST DD commented out.  &lt;BR /&gt;
&lt;BR /&gt;
data final;&lt;BR /&gt;
input age survival;&lt;BR /&gt;
cards;&lt;BR /&gt;
65   88&lt;BR /&gt;
75   30&lt;BR /&gt;
87   12&lt;BR /&gt;
94     3&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc goptions reset=all;&lt;BR /&gt;
proc gplot data=final;&lt;BR /&gt;
plot survival*age / overlay haxis=axis1 hminor=4&lt;BR /&gt;
vaxis=axis2 vminor=1;&lt;BR /&gt;
symbol1 i=join v=dot h=1;&lt;BR /&gt;
axis1 order=(65 to 100 by 5) label=('Age')&lt;BR /&gt;
major=(height=1) minor=(height=0.5);&lt;BR /&gt;
axis2 order=(0 to 100 by 10) label=('Survival')&lt;BR /&gt;
major=(height=1) minor=(height=0.5);&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The program comes back with a RC of 8 in batch and a message DEVICE INITIALIZATION FAILED.  Other SASLIST output (routed to a AFB printer) from things like PROC FREQ and PROC PRINT are being created in the batch job's output under SASLIST.  I have tried device=png and device=gif, which eliminates the message, but still generates no output.</description>
      <pubDate>Tue, 14 Jun 2011 17:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13306#M256</guid>
      <dc:creator>DavidJ</dc:creator>
      <dc:date>2011-06-14T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT - z/OS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13307#M257</link>
      <description>I am not a zOS user but would suspect that you need to add:&lt;BR /&gt;
(untested code)&lt;BR /&gt;
[pre]&lt;BR /&gt;
filename outplt 'filelocation.on.your.system...emf';&lt;BR /&gt;
goptions reset=all;&lt;BR /&gt;
goptions gsfname=outplt device=emf;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 15 Jun 2011 04:51:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13307#M257</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2011-06-15T04:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GPLOT - z/OS</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13308#M258</link>
      <description>I added the options you suggested, used a device of gif570, and files are being&lt;BR /&gt;
generated which I downloaded and looked at successfully.  Thanks</description>
      <pubDate>Wed, 15 Jun 2011 12:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PROC-GPLOT-z-OS/m-p/13308#M258</guid>
      <dc:creator>DavidJ</dc:creator>
      <dc:date>2011-06-15T12:43:13Z</dc:date>
    </item>
  </channel>
</rss>

