In reply to Chris S..

Hi Chris

Yes you should just continue to use your own %nobs macro for this because you can do thing like this (ie can apply where clause):

%nobs(dset=sashelp.class(where=(sex='M')));

So I should not bother with &SYSNOBS

John