check that the program's output(s) exist and are assigned