MLBPlayer dB Program dbFile: db02.csv script: Script02.txt log: Log02.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: 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: 5: 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: 6: show_stats_for caseyjo01 No index entry was found for caseyjo01 ------------------------------------------ Command: 7: identify_by_name Alex Grammas IDs of players with that name: grammal01 ------------------------------------------ Command: 8: identify_by_name Hank Aaron IDs of players with that name: aaronha01 ------------------------------------------ Command: 9: identify_by_name Dudley Doright No player named Dudley Doright was found in the index. ------------------------------------------ Command: 10: exit Shutting down... ------------------------------------------