Hi:
I would recommend that you talk to your SAS Administrator or your Data Manager -- generally, the ability to register objects (like datasets) in the SAS Metadata Repository is a limited function done through SAS Data Integration Studio (when the tables are being built or loaded) or using SAS Management Console. It is also possible that your SAS Administrator initially loaded some information into the Metadata Repository with a program; however, to programmatically load new information in the Metadata Repository you would need to work with your SAS Administrator to make sure you knew the correct code and the correct server, etc and picked the correct time to refresh the Metadata.
This is also a topic we cover in our Platform Administration classes.
http://support.sas.com/training/us/paths/pa.html
cynthia