The CNTSELECT Procedure OverviewGetting StartedSyntaxDetailsExamplesReferences BY Statement BY variables; A BY statement can be used with PROC CNTSELECT to obtain separate analyses on observations in groups that are defined by the BY variables. Last updated: September 15, 2022