MLBPlayer dB Program dbFile: db04.csv script: Script04.txt log: Log04.txt ------------------------------------------ Command: 0: import TinyList.csv Imported 10 records into dB. ------------------------------------------ Command: 1: show_index_for PlayerID EQUALHT:(jacobsp01, 808) RIGHTHI:(herrito01, 704) EQUALHT:(henlega01, 623) EQUALHT:(grammal01, 539) EQUALHT:(cronera01, 461) EQUALHT:(bollifr01, 378) RIGHTHI:(alstoto01, 266) EQUALHT:(alliega01, 181) EQUALHT:(agganha01, 78) EQUALHT:(aaronha01, 0) ------------------------------------------ Command: 2: show_index_for PlayerName EQUALHT:(Tom Herrin, [704]) EQUALHT:(Tom Alston, [266]) EQUALHT:(Spook Jacobs, [808]) RIGHTHI:(Ray Crone, [461]) EQUALHT:(Harry Agganis, [78]) EQUALHT:(Hank Aaron, [0]) LEFTHI:(Gair Allie, [181]) EQUALHT:(Gail Henley, [623]) RIGHTHI:(Frank Bolling, [378]) EQUALHT:(Alex Grammas, [539]) ------------------------------------------ Command: 3: show_stats_for cronera01 Record for cronera01 should be at offset 461 Retrieving record from database file... Record contents: Player ID: cronera01 Name: Ray Crone Birth date: 8/7/1931 Birth place: Memphis TN, USA Weight: 185 Height: 74 Throws: right Bats: right First game: 4/13/1954 Last game: 7/14/1958 ------------------------------------------ Command: 4: remove cronera01 Removed player ID index entry. Removed player name index entry. ------------------------------------------ Command: 5: show_index_for PlayerID EQUALHT:(jacobsp01, 808) RIGHTHI:(herrito01, 704) EQUALHT:(henlega01, 623) LEFTHI:(grammal01, 539) EQUALHT:(bollifr01, 378) RIGHTHI:(alstoto01, 266) EQUALHT:(alliega01, 181) EQUALHT:(agganha01, 78) EQUALHT:(aaronha01, 0) ------------------------------------------ Command: 6: show_index_for PlayerName EQUALHT:(Tom Herrin, [704]) EQUALHT:(Tom Alston, [266]) EQUALHT:(Spook Jacobs, [808]) RIGHTHI:(Ray Crone, []) EQUALHT:(Harry Agganis, [78]) EQUALHT:(Hank Aaron, [0]) LEFTHI:(Gair Allie, [181]) EQUALHT:(Gail Henley, [623]) RIGHTHI:(Frank Bolling, [378]) EQUALHT:(Alex Grammas, [539]) ------------------------------------------ Command: 7: show_stats_for cronera01 No index entry was found for cronera01 ------------------------------------------ Command: 8: show_stats_for grammal01 Record for grammal01 should be at offset 539 Retrieving record from database file... Record contents: Player ID: grammal01 Name: Alex Grammas Birth date: 4/3/1926 Birth place: Birmingham AL, USA Weight: 178 Height: 72 Throws: right Bats: right First game: 4/13/1954 Last game: 9/29/1963 ------------------------------------------ Command: 9: remove grammal01 Removed player ID index entry. Removed player name index entry. ------------------------------------------ Command: 10: show_index_for PlayerID EQUALHT:(jacobsp01, 808) RIGHTHI:(herrito01, 704) RIGHTHI:(henlega01, 623) EQUALHT:(bollifr01, 378) RIGHTHI:(alstoto01, 266) EQUALHT:(alliega01, 181) EQUALHT:(agganha01, 78) EQUALHT:(aaronha01, 0) ------------------------------------------ Command: 11: show_index_for PlayerName EQUALHT:(Tom Herrin, [704]) EQUALHT:(Tom Alston, [266]) EQUALHT:(Spook Jacobs, [808]) RIGHTHI:(Ray Crone, []) EQUALHT:(Harry Agganis, [78]) EQUALHT:(Hank Aaron, [0]) LEFTHI:(Gair Allie, [181]) EQUALHT:(Gail Henley, [623]) RIGHTHI:(Frank Bolling, [378]) EQUALHT:(Alex Grammas, []) ------------------------------------------ Command: 12: show_stats_for grammal01 No index entry was found for grammal01 ------------------------------------------ Command: 13: show_stats_for aaronha01 Record for aaronha01 should be at offset 0 Retrieving record from database file... Record contents: Player ID: aaronha01 Name: Hank Aaron Birth date: 2/5/1934 Birth place: Mobile AL, USA Weight: 180 Height: 72 Throws: right Bats: right First game: 4/13/1954 Last game: 10/3/1976 ------------------------------------------ Command: 14: remove aaronha01 Removed player ID index entry. Removed player name index entry. ------------------------------------------ Command: 15: show_index_for PlayerID EQUALHT:(jacobsp01, 808) RIGHTHI:(herrito01, 704) RIGHTHI:(henlega01, 623) EQUALHT:(bollifr01, 378) RIGHTHI:(alstoto01, 266) EQUALHT:(alliega01, 181) RIGHTHI:(agganha01, 78) ------------------------------------------ Command: 16: show_index_for PlayerName EQUALHT:(Tom Herrin, [704]) EQUALHT:(Tom Alston, [266]) EQUALHT:(Spook Jacobs, [808]) RIGHTHI:(Ray Crone, []) EQUALHT:(Harry Agganis, [78]) EQUALHT:(Hank Aaron, []) LEFTHI:(Gair Allie, [181]) EQUALHT:(Gail Henley, [623]) RIGHTHI:(Frank Bolling, [378]) EQUALHT:(Alex Grammas, []) ------------------------------------------ Command: 17: show_stats_for aaronha01 No index entry was found for aaronha01 ------------------------------------------ Command: 18: exit Shutting down... ------------------------------------------