***templates.sas; *PRINT A LIST OF SAS PROVIDED TEMPLATES; proc greplay nofs; tc=sashelp.templt; list tc; quit; *PRINT A TEMPLATE DEFINITION FROM MY TEMPLATE CATALOG; libname my 'd:\joysas\joy\graph'; proc greplay nofs ; tc=my.templt; template=matrix3; list template; quit; *PRINT A LIST OF GRAPHS IN GSEG CATALOG; proc greplay nofs igout=gseg; list igout; * delete _all_; *to clear them out; quit; *ANOTHER WAY TO DELETE GRAPHS FROM GSEG; proc catalog c=gseg kill; quit; *This removes all graphs, but does not remove catalog; **GREPLAY IS AN INTERACTIVE PROCEDURE SO THIS WORKS; proc greplay igout=gseg nofs; tc=sashelp.templt; list tc; list igout; template=l2r2; list template; template=whole; list template; QUIT;