1) Wouldn't it make more sense to either run this from SQL Plus? or as a stored procedure?
2) You may be able to use the pass-through facility and execute statement.
3) Does your code have some typo's, because it doesn't look like it would work as intended to me.
4) It seems to me that if you want to use SAS and determine if there are orphaned customer id's and sales_rep id's, you could use proc sql directly with some set relations:
[pre]
proc sql;
select something from somewhere
except corr
select something from somewhereelse;
quit;
[/pre]