Thanks for replying,
Yes, It started running erratically. The mouse was doing weird things. Everything slowed down. Then the screen would go black or I'd get the blue screen of death or everything on the screen would freeze. When that happened. It wouldn't boot up, I'd just get the grey screen. I'd have to hold down the option key on startup to get back up and running. It would go for awhile and then everything would freeze, BS of D, or black screen. When it was running OK and I shut it down properly, it would start up OK and run for awhile before freezing. I thought it might be due to the extremely hot weather we've been having.
I held down the option and D key to start the Hardware test. The short test said everything was OK. The extended test came up with the error code.