Second baseman Phil Garner's error in the 15th inning allowed Jody Davis to score from second base in Chicago yesterday and gave the Cubs a 4-3 victory over the Pittsburgh Pirates.

Davis led off with a single off Rod Scurry (2-3) and Ty Waller's bunt single put runners on first and second before Steve Dillard's grounder went through Garner's legs to make a winner of Randy Martz (4-5).

The Pirates tied at 3 with two runs in the eighth. Steve Nicosia singled and went to second on an infield out. After Tim Foli grounded out, Dave Parker greeted reliever Doug Capilla with a run-scoring single. Parker stole second and Mike Easler grounded to the right of shortstop Ivan DeJesus, who dove to stop the ball from going into left field, but could not throw home quickly enough to get Parker.

The Cubs took a 1-0 lead in the second when Ken Reitz's double scored Hector Cruz, who walked and moved to second on an infield out. The Pirates made it 1-1 in the sixth when Tim Foli singled home Omar Moreno, who singled and stole second.

Chicago took a 3-1 lead in the sixth when Waller's sacrifice fly and a throwing error by center fielder Moreno accounted for two runs. Waller's fly scored Bill Buckner from third and Bobby Bonds, who was on second, came home when Moreno's throw went awry.