In reply to Raj.

Use a WHERE clause to select the condition and use PROC SURVEYSELECT to randomly sample 19 cars. Then merge the class data with the sample of cars. If you need more help, post your question to the SAS Support Communities.