Find the SE 95442 member records related to the SE 99EBD1 member records by grouping on Study ID (created by concatenating APCD Unique ID (ME998) and member gender (ME013)). Drop the SE 95442 records where the Employer Name field (ME082) begins with ASE and PSE. NOTE: A similar situation exists for SE 95448B however it is not the same issue. This prxmatch SAS function could be helpful: prxmatch("/(A|P)SE[^A]/i",ME032_GroupName) =1 |