smuthcrmnl777
Technical User
I need a way to identify groups of data that are stored in a table. If you look at the data below, the top 2 records are grouped and the bottom two are grouped. I need to give each of these records an incremental numeric value. The way to identify the groups is by the date and Line-Sample column. The only problem is when I group like this I will get a subgroup size of 4. I have to only have 2. I am not sure how to break apart efficiently to achieve my goal. any clues to how I can do this?
FYI: Fields Line and Line-Sample are commands that break apart SID1.
Code:
DATE_CREATED TIME_CREATED SID Line Line-Sample Sample XR CU CA
02/07/06 13:29:32 40-69-REJ 40 40-69-REJ 69-REJ 6.0938 0.2196 6.0996
02/07/06 13:32:26 40-69-REJ-F 40 40-69-REJ 69-REJ 5.8862 0.2436 6.4099
02/07/06 13:33:28 40-69-REJ 40 40-69-REJ 69-REJ 6.9669 0.2231 6.4753
02/07/06 13:34:52 40-69-REJ-F 40 40-69-REJ 69-REJ 7.447 0.2316 6.5104
FYI: Fields Line and Line-Sample are commands that break apart SID1.