This is a really small change - remove the %runquit from your code and use a standard RUN;
I don't think SGPLOT needs a quit but I'm not sure.
Ok, not a solution, but for some reason the startpage='never' is ACTUALLY working now!! No clue why!! Don't know what i did!! I closed SAS and restarted incase there was a leftover option or something.
This time, having it on the pdf file= line, is working, instead of it doing just 1 graph and 1 page, which is really annoying since i watched it do that half a dozen times before!!!!
Thanks everyone for your help.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.