If you use proc autoreg, you can output variance with output statement with keyword HT.
HT=variable
writes to the output data set the value of the error variance from the heteroscedasticity model specified by the HETERO statement or the value of the conditional error variance by the GARCH= option in the MODEL statement.