Within proc template you can set the template up as gridded layout, see the example in this document:
http://www2.sas.com/proceedings/sugi31/262-31.pdf
Shows exactly what you want. I would also bookmark this website:
https://blogs.sas.com/content/graphicallyspeaking/
As it is an invaluable graph resource with code.
... View more