Modify scontrol to print error message for each array task when updating
the entire array.