PROG_ID_MAX
if (id > PROG_ID_MAX || !(parent_names || parent_hws))
if (!num || num > (PROG_ID_MAX + 1))