ST. LOUIS (AP) -- Matt Carpenter always tries to stay ready, keeping an assortment of gloves nearby. That's his job.
The St. Louis Cardinals' utilityman took on a new role in Game 3 of the NL championship series: game-changer.
Carpenter hit a two-run homer after subbing for Carlos Beltran and the Cardinals chased Matt Cain before a 3 1/2-hour rain delay in the seventh inning of a 3-1 victory over the San Francisco Giants on Wednesday night for a 2-1 series lead.
''It was definitely a surprise,'' Carpenter said. ''I didn't even realize Carlos had hurt himself, there was really no thought process.
''I was in the game before I had time to think about it,'' he said.
Beltran strained his left knee running out a double-play ball in the first inning and the Cardinals said he was day to day. He's had issues off and on with the knee throughout the season, but played in 151 games and had 619 at-bats, his most since 2008.
Kyle Lohse worked around a season-worst five walks in 5 2-3 innings. Mitchell Boggs struck out Hunter Pence and Brandon Belt with two on to end the seventh. Jason Motte earned the first two-inning save of his career to reward what remained of a sellout crowd of 45,850 that stuck around - perhaps a third - for a game that lasted 3 hours, 2 minutes, about a half-hour shorter than the delay.
''They said if we didn't score I was going to go out there. I was in the clubhouse running around, I've never really had to sit around like that,'' Motte said. ''It was probably the most nervous I've ever been.''
Giants second baseman Marco Scutaro had two hits and a clean game in the field, two days after Matt Holliday rammed him breaking up a double play. Manager Bruce Bochy had said there would be no retaliation, and Game 3 was collision-free.
''I'm sure he was gutting it out,'' Bochy said of Scutaro. ''He was determined to play and made a pretty good recovery.''
Bochy said Scutaro made the right play going to first on a run-scoring groundout by Shane Robinson that made it 3-1 in the seventh.
''Well, I don't think he had a play at home. It would have been close,'' Bochy said. ''You can't have a better or smarter second baseman than Marco.''
The big winners in a delay that featured about a half-hour without rain while officials awaited a second, smaller front: Beer vendors, by a single out. Alcohol sales are cut off after the seventh inning in all stadiums.
Cain lost for the second time this postseason, giving up three runs on five hits in 6 1-3 innings. The Giants, who entered the game batting just .217 in the postseason, were 0 for 7 with runners in scoring position.
Pence, the Giants' fifth-place hitter, also grounded into a double play with runners on first and third in the third and grounded into a force play with a man on to end the fifth.
''I'm the goat tonight,'' Pence said. ''I just didn't the job done.''
The Cardinals snapped the Giants' five-game road winning streak in the postseason, three of them this year. Game 4 is in St. Louis on Thursday night, with Adam Wainwright pitching for the Cardinals. Tim Lincecum will start for the Giants.
''He's a guy we want out there. He's been throwing the ball well,'' Bochy said. ''We've got to bounce back.''
Bochy said lefty Barry Zito will pitch Game 5 against Lance Lynn, leaving lefty Madison Bumgarner out of the mix for now.
''I think we feel that it's time to give Madison a little break,'' Bochy said.
Carpenter followed Jon Jay's two-out single with a homer off Cain in his first at-bat of the NLCS.
Beltran is batting .400 in the postseason with three homers and six RBIs, but Carpenter had big numbers against Cain. He was 4 for 4 for his career against Cain, four singles.
''Really, there's no explanation,'' Carpenter said. ''He's one of the best in the game, obviously, I think we all know that.''
Cain was ahead 0-2 in the count and Carpenter worked it back to 2-2 before jumping on a hanging slider.
''I try to grind out those at-bats and fight,'' Carpenter said. ''I was in my two-strike mode and I got the pitch. You don't expect things like that to happen.''
This one was a much bigger deal, a drive that soared over the Cardinals bullpen in right field and was estimated at 421 feet.
''It was bad pitch. I was trying to go slider in and I didn't get it in there like I should have,'' Cain said. ''I made a bad pitch and it cost us.''
Cain was aware Carpenter had hit him well.
''It might affect what you're trying to do because you don't know his weaknesses,'' Cain said. ''But you've still got to make good pitches and that's what I failed to do.''
Carpenter entered the game 1 for 5 in the postseason, all five pinch-hit appearances. He had an RBI single in the wild-card playoff against Atlanta. He got 14 of his 46 RBIs in April as the primary sub at first base for injured Lance Berkman.
On Tuesday, Carpenter was among a group of seldom-used hitters trying to stay sharp by facing Jake Westbrook in a simulated game. The rest of the team had the day off.
Umpires called for the tarpaulin right after the Cardinals made it 3-1 on a run-scoring single by Shane Robinson and Cain was lifted.
It was the third game delayed by rain this postseason and a fourth, Game 4 of the Yankees-Tigers ALCS, was postponed later Wednesday night. Two games between the Yankees and Orioles in Baltimore began late because of inclement weather.
The rain intensified less than 10 minutes after the field was covered, chasing most fans who had remained in their seats to that point. Spotters for the National Weather Service reported 60 mph winds in nearby St. Charles County.
A highlight of the delay was a Pac-Man style chase. Ushers pursued and finally apprehended a fan who jumped out of the stands to get a baseball near the warning track in left field, and then jutted in and out of aisles to elude several ushers who had been closing in.
The storm had been widely anticipated. Some forecasts called for a 70 percent chance of rain. Both managers fielded questions Tuesday and Wednesday about whether the probability of precipitation would affect their selection of the starting pitcher.
Both said they couldn't worry about the weather, and the starters combined for 208 pitches.
''I've been caught before where you try to predict what's going to happen with the rain and started,'' Bochy said. ''Just a couple years ago I started a pitcher thinking the same thing and it didn't rain for four or five innings. Then I put my starter in and then it started raining, and so it came back to bite me.''
Lohse is 2-1 with a 1.96 ERA this postseason despite uncustomary control woes. He was among the majors' best control pitchers this season, averaging 1.62 walks per nine innings.
The Giants entered 70-22 when scoring first, including the postseason, and took the lead in the third on Pablo Sandoval's run-scoring groundout after leadoff hits by Angel Pagan and Scutaro, whose legs looked just fine on an opposite-field double flared just over first baseman Allen Craig's glove.
Beltran leads all players with eight extra-base hits in the 2012 playoffs and is a career .375 hitter in the postseason, highest ever among players with a minimum of 100 at-bats.
NOTES: Danny Cox, who pitched for Cardinals World Series teams in 1985 and 1987, threw a perfect strike on the first pitch. ... According to STATS LLC, Lohse walked two batters in the same inning four times in 2012. ... Jay, who was hit by a pitch to start the game, was plunked 15 times in the regular season. ... Matheny had 122 lineups during the regular season but has stuck with the same eight throughout the postseason. ... The Cardinals are 9-2 in Game 3 of the NLCS, the lone losses coming in 2004 and '05 at Houston. This win ended a streak of scoring at least six runs in the last eight postseason victories dating to Game 3 of the World Series last year, the longest streak of its kind in postseason history. St. Louis entered averaging 7.6 runs in 16 wins the last two postseasons and just 2.3 runs in the 10 losses. ... The Cardinals have played in eight best-of-seven series in which they were tied 1-1 and played Game 3 at home, and have won all of them. They won six of the previous seven series, according to STATS LLC