SCOTTSDALE, Ariz. -- Matt Cain went four innings, Buster Posey and Angel Pagan each had two hits and drove in two runs and the San Francisco Giants beat a Los Angeles Dodgers split-squad 11-9 on Sunday.
Joe Panik had three hits and scored three runs for the Giants, who won their third straight for the first time this spring. Brandon Belt added two hits and drove in a run.
Yasiel Puig had two hits, including an RBI double, and Joc Pederson hit his sixth home run among two hits for the Dodgers. Kike Hernandez hit a three-run homer and Yasmani Grandal had two hits and drove in a run.
Cain, pitching against a major-league lineup for the first time in two weeks, allowed three runs on six hits. He did not walk a batter and struck out three.
Ryan Vogelsong drove in the go-ahead run and gave up two runs on three hits in 2 1-3 innings.
L.A. starter Carlos Frias went 3 1-3 innings, giving up three runs in eight hits. He walked two and struck out three.