In reply to Aayush Gupta.

Yes, there are some helpful macros you can use. See this tip from the SAS community.