Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: mglynnI have data set values which will often update based upon the file being accessed. In these circumstances I need all entries with the Primary ID deleted. Eg.
PRI_ID SERV UPD
001 1234 01/01/17
001 1234 02/01/17
002 1235 01/01/17
003 1236 01/01/17
003 1236 02/01/17
004 1237 01/01/17
005 1238 01/01/17
005 1238 02/01/17
006 1239 01/01/17
In these situations I want to remove any file which has a duplicated PRI_ID. This would leave me with only 002, 004 & 006.
What is the best (or any) method for achieving this?