PHOENIX (AP) -- Nate Schierholtz is having the kind of season that makes contending clubs interested in dealing for him. He showed why there is such interest with a career-high five-RBI night Wednesday in the Chicago Cubs' 12-inning 7-6 win over the Arizona Diamondbacks.
Schierholtz lined a two-out double into the left-field corner in the top of the 12th to drive in the go-ahead run. He also saved a potential run with a throw from right field in the ninth inning that ultimately held Arizona to a tie and helped send the game into extra innings.
Schierholtz also hit a three-run home run. The Cubs lost a six-run lead but rallied with two out in the 12th on a walk to Anthony Rizzo followed by Schierholtz's double.
''I love being a Cub and I'm hoping to stay here but you never know what will happen in the next week,'' Schierholtz said. ''All we can do is go out there and focus on trying to win games.
The Cubs are 5-2 on the road in extra-inning games this season.
''It's good to win after they came back like that,'' Schierholtz said.
Hector Rondon (2-0) pitched the 11th and 12th innings for the win. The Diamondbacks left 16 runners on base and fell 1 1/2 games out of first place in the NL West behind the Los Angeles Dodgers.
David Hernandez (4-6) took the loss after Arizona's relievers had pitched 6 2-3 scoreless innings.
Diamondbacks slugger Paul Goldschmidt hit his 22nd home run, a three-run shot in the sixth inning.
Cubs starter Jeff Samardzija wasn't always sharp, but he managed to get through 5 2-3 innings, allowing three earned runs on six hits with five walks and five strikeouts before exiting.
''Too many pitches at that time,'' Cubs manager Dale Sveum said.
Samardzija ran into trouble in the first inning, loading the bases with two out on two walks and a hit. But he struck out Jason Kubel looking to end the threat.
The Cubs took the lead in the fourth inning on David DeJesus' leadoff double to deep center field, followed by a sacrifice and Rizzo's RBI double. Rizzo came home to score on a single by Schierholtz.
DeJesus was in the lineup for his first game since going on the 15-day disabled list with a right shoulder sprain on June 15.
After Samardzija got out of another two-out, bases-loaded jam in the bottom of the fourth, the Cubs did their damage in the fifth. With two out, DeJesus singled and scored on Junior Lake's double. Rizzo walked, then Schierholtz pulled his home run down the right field line.
That gave the Cubs a 6-0 lead, with all runs coming off Diamondbacks starter Ian Kennedy. The right-hander has struggled in his last three starts at home. Wednesday he lasted five innings, giving up six runs on seven hits while striking out seven.
Lake doubled in the first inning and added his RBI double in the fifth, raising his hit total to 14 in his first six games in the majors.
The Diamondbacks got on the board in the fifth when Samardzija again loaded the bases, this time with none out. With one out, Martin Prado hit a sharp ground ball up the middle that Chicago second baseman Darwin Barney let go under his glove for an error. Two runs scored, but Samardzija avoided further damage.
''The Diamondbacks do that to me every time. They have a great approach at the plate and they have a plan against me,'' Samardzija said. ''It was a good battle out there. You just can't walk guys, it brings up your pitch count.''
Arizona chased Samardzija in the sixth by putting runners at first and third with two out. Goldschmidt greeted reliever Blake Parker with a line drive home run to left field, plating three runs to make it 6-5.
''At that time you just wanted a fresh arm, but obviously that went over like a fart in a space suit,'' Sveum said. ''We were very fortunate.''
The Diamondbacks put runners on the corners with no outs in the ninth against Cubs closer Kevin Gregg. After a flyout, pinch hitter Cody Ross hit a sacrifice fly deep enough to allow Goldschmidt to score the tying run.
Gregg escaped a bases-loaded jam in the 10th, getting Prado to ground out to end the inning.
''We fought back and made a lot of mistakes and they caught up to us,'' Diamondbacks manager Kirk Gibson said. ''We left a zillion guys on and not really swinging at good pitches in those situations ... we have no one to blame but ourselves.''
NOTES: Diamondbacks C Miguel Montero sat out a second straight game due to back pain. He felt it during batting practice before Tuesday's game and was to see a doctor Wednesday. ... Diamondbacks 3B Eric Chavez has 28 RBIs in his last 31 starts after going his first five starts without driving in a run, according to the Elias Sports Bureau. ... In activating DeJesus, the Cubs optioned OF Dave Sappelt to Triple-A Iowa. DeJesus most recently played three games with Mesa of the rookie league, where he went 4 for 11 with four runs scored, two doubles and a walk. ... Samardzija and second baseman Barney collided when going for a slow roller to second off the bat of Arizona's Wil Nieves in the fourth inning. Neither was hurt.