Edwin Jackson dominated the Pirates as the Cubs avoided being swept by taking Sunday's game, 4-1.
Jeff Locke took a no-hitter into the sixth, but did not have an especially good game, walking seven batters in 5.2 innings and throwing only 52 of 100 pitches for strikes. He struck out six.
Meanwhile, Jackson struck out eight batters in seven innings, allowing his only run in the fourth, when Andrew McCutchen doubled and Garrett Jones spiked a single up the middle.
In the sixth, Locke walked Cody Ransom and Alfonso Soriano, and Ransom came home on a sacrifice fly later in the inning to tie the game. The next inning, after Locke left, Justin Wilson allowed two singles, and then gave up a three-run homer on a fastball to Ransom. That proved to be the difference, as the Pirates couldn't score against Carlos Marmol and Kevin Gregg.