DENVER — Corbin Carroll hit two home runs for his third multi-homer game of the year, Eduardo Rodriguez struck out a season-high 11 and the Arizona Diamondbacks beat the Colorado Rockies 9-4 on Wednesday to avert a series sweep.
Randal Grichuk also homered and doubled, Christian Walker drove in two runs with a single and a sacrifice fly, and Pavin Smith had an RBI double in the Diamondbacks' three-run ninth inning.
The defending National League champion, Arizona (84-68) matched last year's total for wins and remained tied with the New York Mets for the second of three NL wild cards, two games ahead of Atlanta.
''I was happy with it,'' Rodriguez said. ''I know we need to win most every game we play right now, so winning today was just good. To be available, and to go out there for 6 1/3 innings was good, especially because I know the team needed it and I was available to do it.''
The last-place Rockies got two-run singles from Ezequiel Tovar and Sam Hilliard.
The Diamondbacks took an early 6-0 lead against Austin Gomber (3-11), who exited after two innings in his shortest outing of the season. He allowed six runs — five earned — and six hits, including both homers by Carroll and the second-inning shot by Grichuk, which came immediately after Carroll's 21st of the season.
''It was great to get on the board in the first inning and obviously to jump out the way that we did kind of took them out of the game a little bit,'' said Carroll, who scored three runs and has crossed the plate 22 times in his last 21 games. ''Then to add on in the ninth was big as well.''
Gomber, who has given up an NL-high 30 homers this season, lost to Arizona for the first time in his career. He was 3-0 with a 4.89 ERA in nine previous starts against the Diamondbacks.