ST. LOUIS (AP) -- One more win and another bunch of wild-card Cardinals get their chance to repeat.
Adam Wainwright threw seven innings of four-hit ball and St. Louis roughed up Tim Lincecum and the San Francisco Giants in an 8-3 rout Thursday night that gave the Cardinals a 3-1 lead in the NL championship series.
The defending World Series champions can wrap up their second straight pennant as a wild card with a victory at home Friday night in Game 5. Lance Lynn faces Giants lefty Barry Zito, and a Cardinals win would set up a 2006 World Series rematch with Detroit.
"We've got to close them out tomorrow," Wainwright said.
Matt Holliday, Jon Jay and Yadier Molina had two RBIs apiece to lead a 12-hit outburst by a team that batted just .198 through the first three games against San Francisco.
"They had their backs against the wall against the Reds and won three in a row, so we've still got our work cut out for us and this series is by no means over," Holliday said.
Lincecum was a bust in his first postseason start since the 2010 World Series clincher over Texas, giving up four runs in 4 2-3 innings.
The two-time Cy Young Award winner with the quirky delivery earned a shot based on nearly spotless relief work earlier in the postseason but reverted to regular-season form, when he was 10-15 with a 5.18 ERA, worst among qualifying starters in the National League.
Wainwright was a glorified cheerleader while rehabbing from reconstructive elbow surgery during the Cardinals' improbable title drive last fall after earning the wild card on the final day of the season and then upsetting the favored Phillies, Brewers and Rangers to give manager Tony La Russa a chance to retire on top.
Under rookie manager Mike Matheny, the 88-win Cardinals were the final team to qualify this year, too. Once again, they've stepped up their game.
Wainwright bounced back from a poor outing in Game 5 of the NL division series against Washington, striking out five and walking none for his first postseason victory as a starter.
"It was a big motivator," he said. "I know that I'm good enough to pitch in the postseason, to carry this team deep into the game, give them a quality game, a quality outing. Last time I didn't do it but I knew tonight if I just believed in myself and went out there and executed pitches I would be in good shape."
The lone damage against Wainwright came on Hunter Pence's first homer and RBI of the postseason, a second-inning clout estimated at 451 feet that soared over the visitor's bullpen into the left-center bleachers to cut the Cardinals' lead to 2-1.
Now, the 14-game winner is on the verge of his first World Series as an active player since striking out Brandon Inge as the stand-in closer for injured Jason Isringhausen in the 2006 clincher over the Tigers.
"This whole experience is so special as it is," Wainwright said. "But to get back to that World Series is always the way to go."
Holliday wasn't surprised by Wainwright's strong performance.
"You expect Adam to pitch well and pitch like an ace, and he did," Holliday said. "His curveball was really good. He located his fastball. No surprise. We all expect Adam to pitch the way he pitched tonight, but sometimes things like the Washington game happen. But he's tough as nails. We knew he'd pitch well."
Just 12 pitches in, the Cardinals had two hits and the lead, and Lincecum got a visit from pitching coach Dave Righetti. Jay opened the first with a single, Matt Carpenter walked on four pitches and Holliday singled up the middle for the lead. Allen Craig tacked on a sacrifice fly.
"I've just been working on my swing and I felt more comfortable tonight," Holliday said. "I was able to get some pitches to hit and hit them hard and good results, that always helps the confidence."
Lincecum escaped trouble in the second after issuing two more walks, one of them on five pitches to Wainwright. The Cardinals missed a chance to add on after Pete Kozma reached on third baseman Pablo Sandoval's fielding error to open the inning when he was thrown out trying to steal.
Lincecum had retired eight in a row before running into trouble in the fifth.
Carpenter doubled off the top of the wall in right-center with one out. He held up until Holliday's single fell in front of fast-charging center fielder Angel Pagan, but third base coach Jose Oquendo aggressively waved Carpenter home.
The relay from shortstop Brandon Crawford was in time, but it short-hopped catcher Hector Sanchez and Carpenter scored on a headfirst slide to make it 3-1. Molina's two-out RBI single made it 4-1 and was the knockout blow for Lincecum.
"He gave us all he had out there," Giants manager Bruce Bochy said. "That was his last inning and he was close to getting out of that inning. He made a great effort on that ball and good throw. We had him at home plate and it's still 2-1. That's a big play in the game."
Pence, who called himself "the goat" of Game 3 after stranding seven runners, hit the second-longest home run by an opposing player at 7-year-old Busch Stadium with a 451-foot drive that sailed over the visitor's bullpen into the bleachers in left-center.
Holliday's RBI single was the first by a Cardinals starter since Carlos Beltran's two-run homer in the fourth inning of Game 1. Holliday entered 2 for 12 in the NLCS with no RBIs.
Sandoval hit a two-run homer in the ninth, but the NL West champs are on the brink of elimination.
"We have all the confidence in Barry," Bochy said. "We do need to get the bats going. They've been shutting us down."
NOTES: Cardinals Hall of Famers Stan Musial and Ozzie Smith made pregame appearances. The 91-year-old Musial toured the warning track in a golf cart while waving to fans and Smith threw out the first pitch. Smith's son, Nikko Smith, a former American Idol finalist, sang the national anthem. ... With Beltran out, Matheny changed the lineup for the first time in the postseason. ... According to STATS LLC, the Giants have faced a 2-1 series deficit eight times in franchise history. They have lost Game 4 each time.