Nobody was struck or hurt, said Sgt. Rich Weiner, a Police Division spokesman.

Andre Jones, an undercover officer in the gun-crimes unit, was processing a prisoner about noon in the fourth-floor identification bureau at 120 Marconi Blvd. Downtown, Weiner said.

As he was preparing to take the prisoner to jail, Jones retrieved his gun from a locker and was trying to holster it when it went off twice, Weiner said.

Jones, 56, is a 26-year police veteran.

As with all unintentional shootings by officers, the incident will be investigated by the divisionís firearms-review board. Over the past two years, the board has reviewed at least 26 such shootings, according to division records.

Also yesterday, a police commander was hospitalized after he collapsed at the training academy on Hague Avenue. Cmdr. Gary Dunlap, 61, who oversees the traffic bureau, was completing his annual defensive-tactics training qualifications when he collapsed about 10:30 a.m., Weiner said.

He was unresponsive, and a defibrillator was used in an attempt to revive him, Weiner said.

Yesterday afternoon, Dunlap, a 40-year veteran, was alert and his condition was stable in the intensive-care unit at Mount Carmel West hospital, Weiner said.