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).
Sample program follows:
In JCL for now I have the SASLIST DD commented out.
input age survival;
proc goptions reset=all;
proc gplot data=final;
plot survival*age / overlay haxis=axis1 hminor=4
symbol1 i=join v=dot h=1;
axis1 order=(65 to 100 by 5) label=('Age')
axis2 order=(0 to 100 by 10) label=('Survival')
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.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.