When you
submit your PROC TEMPLATE statements, the template syntax is checked.
If no syntax error is detected, a compiled template named
MODELFIT is created and stored physically in the SASUSER.TEMPLAT item
store by default. This item store is chosen by default because it
is the first item store that can be updated in the current ODS path.
It should
be noted that STATGRAPH template syntax requires that any necessary
arguments be specified (X= and Y= arguments are required for both
the SCATTERPLOT and REGRESSIONPLOT statements), but no checking for
the existence of the assigned variables is performed at compile time.
Also note that no reference to an input data set appears in the template.
Compiling
the template does not produce a graph—it only creates a compiled
template that can be executed to produce a graph.
To verify that the template was created, you can issue
the ODSTEMPLATE command (ODST, for short). This opens the
Templates window where you view all item stores and
their contents. All STATGRAPH templates can be identified by the common
icon shown above.
You can also browse the
source for any compiled template by double-clicking on its name.
For more
information about item stores and PROC TEMPLATE in general, see the
SAS Output Delivery System: User's Guide in the Base
documentation.