Eddie Murray hit three home runs and drove in nine runs tonight as the Baltimore Orioles tied a club record with seven homers and beat the California Angels, 17-3.

Murray hit a three-run homer in the first inning, a bases-empty homer in the fourth and topped off the most productive day of his career with a fifth-inning grand slam. It was his third grand slam this season and 12th of his career.

Murray had an RBI single in the second inning, flied out deep to right with a runner on base in the seventh and then drew a walk from Luis Sanchez on a 3-1 pitch with a runner on first in the ninth.

Murray's three homers and nine RBI tied Baltimore team records. Jim Gentile drove in nine runs against Minnesota on May 9, 1961, and several Orioles, including Murray three times, have hit three homers in a game.

Murray has 24 homers and 102 RBI this season.

"The pitches were up just a little tonight so we were just going for it," Murray said. "It's not very often you get to knock in nine runs. That's as many as I've ever knocked in."

John Shelby hit a one-run homer, his third, in the second inning for Baltimore. Floyd Rayford hit his ninth and Gary Roenicke followed with his 12th in the third inning, and Rick Dempsey added a two-run homer, his ninth, in the ninth.

The Orioles had 17 hits, including a double by Cal Ripken, whose sacrifice fly in the ninth inning capped the scoring. The seven homers were the most ever allowed in a game by the Angels.

Juan Beniquez and Bobby Grich homered for California.

The loss reduced California's lead in the American League West to 1 1/2 games over Kansas City.

Murray's first-inning homer came while batting right-handed off John Candelaria (2-1). Murray's next two homers came while batting left-handed against reliever Allen Fowlkes.

It marked the sixth time in his career that Murray has homered from both sides of the plate in the same game.

Murray's last two homers, his 23rd and 24th of the season, were both hit left-handed. After his grand slam, Murray was saluted by the Anaheim Stadium crowd of 25,805 with a standing ovation.

Since the All-Star break, the 29-year-old first baseman has hit 11 homers and drove in 44 runs.

The beneficiary of Baltimore's offense was Dennis Martinez (11-7), who gave up six hits in eight innings. He allowed Beniquez's two-run homer in the first inning and Grich's homer in the fourth.