Hello,
I am looking to extract data from a program output that repeats tables several times. I am interested in the final set of data. I have unsuccessfully been able to think of a clever way to cut my dataset to only include the final portion of the report. Conceptually, I want to find the max (record number) for \TABLE SB-3. NETWORK SEGMENT NO 3\, then extract part of the data by using this record number and the end of the file. From this point, I can further divide the data.
The table header looks like the following. ( There is a bunch of data in between the headers.)
TABLE SB-3. NETWORK SEGMENT NO 3
TABLE SB-3. NETWORK SEGMENT NO 2
TABLE SB-3. NETWORK SEGMENT NO 1
TABLE SB-3. NETWORK SEGMENT NO 3
TABLE SB-3. NETWORK SEGMENT NO 2
TABLE SB-3. NETWORK SEGMENT NO 1
Any suggestions would be appreciated.
Thanks
I am looking to extract data from a program output that repeats tables several times. I am interested in the final set of data. I have unsuccessfully been able to think of a clever way to cut my dataset to only include the final portion of the report. Conceptually, I want to find the max (record number) for \TABLE SB-3. NETWORK SEGMENT NO 3\, then extract part of the data by using this record number and the end of the file. From this point, I can further divide the data.
The table header looks like the following. ( There is a bunch of data in between the headers.)
TABLE SB-3. NETWORK SEGMENT NO 3
TABLE SB-3. NETWORK SEGMENT NO 2
TABLE SB-3. NETWORK SEGMENT NO 1
TABLE SB-3. NETWORK SEGMENT NO 3
TABLE SB-3. NETWORK SEGMENT NO 2
TABLE SB-3. NETWORK SEGMENT NO 1
Any suggestions would be appreciated.
Thanks