BIRMINGHAM, Ala. (AP) _ International Business Machines Corp. has canceled television commercials that were to run during the Professional Golfers' Association championship because the host club has no black members, a company spokeswoman says.

''When we learned that this tournament was being played at a club that was exclusionary, we decided it was not an appropriate vehicle for our advertising,'' the spokeswoman, Gina Chew-Holman, said Tuesday.

Officials of the private club, Shoal Creek, said it does not have a policy against blacks and some blacks have been guests. Hall Thompson, the club's founder, said in June the club has Jews, Lebanese, Italians and women among its members, but no blacks.

''Supporting even indirectly activities which are exclusionary is against IBM's practices and policies,'' Chew-Holman said.

She would not say how much money IBM had planned to spend on television advertising during the tournament, which will be televised for two days by ESPN and carried by ABC for the final two days.

Everything was running smoothly for the Aug. 9-12 PGA championship, also held at Shoal Creek in 1984, until Thompson commented recently that the club would not be pressured into accepting black members. He later apologized and said he was quoted out of context.

Thompson has refused to comment since his apology, as have other club members.