Submit PROC METADATA. The code specifies metadata server connection arguments, so the defaults are not used. REPOS= is an alias for REPOSITORY=. The procedure submits the contents of weeklyquery.xml (the fileref MYINPUT) to the metadata server, and stores the server's response in weeklyresults.xml (the fileref MYOUTPUT).


proc metadata
     server="myserver.us.company.com"
     port=8561
     repos="My Repository"
     userid="testid"
     password="testpw"
     in=myinput
     out=myoutput;
run;