The publishers of the old Beach Boys hit "Barbara Ann" and the purveyors of a takeoff called "Bomb Iran" have reached a settlement that will allow the newer record to be played and sold.

The publishers of the rock'n'roll classic "Barbara Ann" had obtained a cease-and-desist order because of their objections to rewritten lyrics calling for violence and mayhem against Iran. The publishers complained the lyrics were "not in good taste."

The settlement was reached "after a lot of soul-searching" by the publishers, Adam R. Levy & Father Enterprises Inc. and Cousins Music, said their attorney Walter Hofer. They agreed to permit distribution -- for a financial consideration -- after "Bomb Iran" writers and the company that will distribute the record convinced the publishers that no harm would come to the hostages from the song, he said.

Hofer said that Vince Vance and the Valiants, the group that recorded the song, and Paid Records, the record company, had agreed to set up a fund for the hostages out of the proceeds from the record.

Paid Records had produced a second version of the song by a Nashville side-group that called itself J.C. and the B-1 Bombers but is scrapping that version in favor of distributing the recording by Vince Vance and the Valiants, a New Orleans group that first brought the song out under its own label.

"They had the market penetration because we had gone along with the copyright laws" and halted the playing of the record, said Paid general manager Arnold Thies. The version by J.C. and the B-1 Bombers had continued to be played despite the publishers' objections, he said.

This said he expected the record would begin showing up in record stores in about a week.

The song was written by Andy Stone, the leader of Vince Vance and the Valiants, who said that pro-Marxists had tried to prevent its distribution. "It's a corny little song, but I cannot say it is a tasteless piece of s --," said Stone in an earlier interview.

Stone likened the song to "The Star-Spangled Banner" in its patriotic message and because it was also written using an existing tune.

The lyrics: Bomb, bomb, bomb, bomb, bomb Iran Bomb, bomb, bomb, bomb, bomb Iran Bomb iran, and take a stand The country's got a feeling Really hit the ceiling Bomb Iran.