I have a file of records that contains a 7 position id, an 8 position YYYYMMDD start date, a state code, and an YYYYMMDD end date. There can be from 1 to 30 records with the same id. I'm trying to remove overlapping dates from the file. I need to read in all records with the same id and be able to walk the array from top (oldest date) to bottom (newest).
I have read the various SAS documents we have at work, and all of them say the same thing, SAS arrays are not the same as arrays used in other languages. My boss wants me use SAS, I know I could do it in COBOL on our mainframe, but he's trying to prove the worth of PC/SAS and I'm up for new things.
So can I use arrays to do it, or am I approaching this all wrong?
Thanks,
Bruce
I have read the various SAS documents we have at work, and all of them say the same thing, SAS arrays are not the same as arrays used in other languages. My boss wants me use SAS, I know I could do it in COBOL on our mainframe, but he's trying to prove the worth of PC/SAS and I'm up for new things.
So can I use arrays to do it, or am I approaching this all wrong?
Thanks,
Bruce