Create the crosstabulation template Base.Freq.CrossTabFreqs. The DEFINE statement creates the crosstabulation template Base.Freq.CrossTabFreqs in the first template store in the path for which you have Write access. The NOTES statement provides information about the crosstabulation table.
proc template; define crosstabs Base.Freq.CrossTabFreqs; notes "Crosstabulation table with legend";