The back half of the movie was definitely some kind of recycled TV show/pilot from the early 80s, though I've no idea what it came from. That Ernet Borgnine's character talks about being a television writer makes me think the producer or creator saw a way to make a quick buck on some of his old stuff.