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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.