Survey data stata code corresponding sas code?
===

I have 2 questions for survey data:  

1, What's the difference between **svy:tab** and  **svy,subpop(XX): tab**? if subgroup first then use **svy:tab**.

2, Do we have the corresponding **SAS code** as **svy, subpop(XX): tab**?

   
Thanks in advance for your help and time.
