MLBPlayer dB Program B-tree Order: 11 Main dbFile: db01.txt Batting dbFile: db01b.txt Command script: Script01.txt Log: Log01.txt ------------------------------------------ Start time: Wed Dec 2 12:29:49 2009 Command 0: import 1900List.csv Imported 17 records into dB. ------------------------------------------ Command 1: show_stats_for frisbch01 Record for frisbch01 should be at offset 315 Retrieving record from database file... Record contents: Player ID: frisbch01 Name: Charlie Frisbee Birth date: 2/2/1874 Birth place: Dows IA, USA Weight: 175 Height: 69 Throws: left Bats: right First game: 6/22/1899 Last game: 5/13/1900 ------------------------------------------ Command 2: show_stats_for clemeja01 Record for clemeja01 should be at offset 1461 Retrieving record from database file... Record contents: Player ID: clemeja01 Name: Jack Clements Birth date: 7/24/1864 Birth place: Philadelphia PA, USA Weight: 204 Height: Throws: left Bats: left First game: 4/22/1884 Last game: 10/2/1900 ------------------------------------------ Command 3: show_stats_for zieglch01 Record for zieglch01 should be at offset 622 Retrieving record from database file... Record contents: Player ID: zieglch01 Name: Charlie Ziegler Birth date: 1/13/1875 Birth place: Canton OH, USA Weight: Height: Throws: left Bats: right First game: 9/23/1899 Last game: 6/6/1900 ------------------------------------------ Command 4: show_stats_for allenbo01 Record for allenbo01 should be at offset 519 Retrieving record from database file... Record contents: Player ID: allenbo01 Name: Bob Allen Birth date: 7/10/1867 Birth place: Marion OH, USA Weight: 175 Height: 71 Throws: right Bats: right First game: 4/19/1890 Last game: 6/1/1900 ------------------------------------------ Command 5: identify_by_name Bert Myers IDs of players with that name: myersbe01 ------------------------------------------ Command 6: identify_by_name Tom O'Brien IDs of players with that name: obrieto02 ------------------------------------------ Command 7: identify_by_name Harvey Bailey IDs of players with that name: baileha01 ------------------------------------------ Command 8: identify_by_name Patsy Tebeau IDs of players with that name: tebeapa01 ------------------------------------------ Command 9: import_batting SmallBatting.csv Imported 222 records into batting dB. ------------------------------------------ Command 10: show_batting_details_for adamsba01 Record for adamsba01 should be at offset 298 Retrieving records from database file... Year Team Games At Bats Singles Doubles Triples HRuns Average ---------------------------------------------------------------------------- 1920 PIT 35 89 12 0 0 1 0.146 1921 PIT 25 63 10 2 4 0 0.254 1922 PIT 27 56 13 2 0 1 0.286 1923 PIT 26 55 9 5 1 0 0.273 1924 PIT 9 11 1 1 0 0 0.182 1925 PIT 33 31 6 1 0 0 0.226 1926 PIT 19 9 2 0 0 0 0.222 ---------------------------------------------------------------------------- ------------------------------------------ Command 11: show_batting_summary_for adamsba01 Record for adamsba01 should be at offset 298 Retrieving records from database file... Years Games At Bats Singles Doubles Triples HRuns Average ----------------------------------------------------------------------- 7 174 314 53 11 5 2 0.226 ---------------------------------------------------------------------------- ------------------------------------------ Command 12: show_batting_details_for andrubi01 Record for andrubi01 should be at offset 8532 Retrieving records from database file... Year Team Games At Bats Singles Doubles Triples HRuns Average ---------------------------------------------------------------------------- 1931 WS1 3 7 0 0 0 0 0.000 1937 PHI 3 2 0 0 0 0 0.000 ---------------------------------------------------------------------------- ------------------------------------------ Command 13: show_batting_summary_for andrubi01 Record for andrubi01 should be at offset 8532 Retrieving records from database file... Years Games At Bats Singles Doubles Triples HRuns Average ----------------------------------------------------------------------- 2 6 9 0 0 0 0 0.000 ---------------------------------------------------------------------------- ------------------------------------------ Command 14: show_batting_details_for ayersdo01 Record for ayersdo01 should be at offset 13930 Retrieving records from database file... Year Team Games At Bats Singles Doubles Triples HRuns Average ---------------------------------------------------------------------------- 1920 DET 46 59 5 4 0 0 0.153 1921 DET 2 0 0 0 0 0 0.000 ---------------------------------------------------------------------------- ------------------------------------------ Command 15: show_batting_summary_for ayersdo01 Record for ayersdo01 should be at offset 13930 Retrieving records from database file... Years Games At Bats Singles Doubles Triples HRuns Average ----------------------------------------------------------------------- 2 48 59 5 4 0 0 0.153 ---------------------------------------------------------------------------- ------------------------------------------ Command 16: exit Shutting down... ------------------------------------------ Finish time: Wed Dec 2 12:29:50 2009 ------------------------------------------------------------