Man becomes a Secret agent/spy while asleep.

Solved336 views#1 Moviesfamily man Secret agent sleeping spies

I’m trying to remember a movie in which there was a spy agency that used agents while they were sleeping. During the day, a man was married and led a normal life, but when he was asleep he was a secret spy. He had a friend who was also a spy. Help?!

Question is closed for new answers.
Selected answer as best

OMGOSH. That’s it! All these years I thought it was a movie. THANK YOU