Hi Rick having an issue with CALL VALSET sorry to bug you but hoping you can de-bug me :-)

Testing a do-loop, using one iteration to test it. I've created the scalar of a character name and a matrix of ones and zeros as follows, then trying to name the matrix using call valset:

STAR_NAMES = "LESS_" + STRIP(CHAR(PVALUES[,1]));
STAR_VALUES = STRIP(CHAR((P_VALUES <= PVALUES[,1])#NOT_MISS));
CALL VALSET(STAR_NAMES, STAR_VALUES);

Prints and tests of the two matrices confirm that they work, however, the CALL VALSET produces an "ERROR: (execution) Invalid argument to function".

It seems it may be the lengths of the respective matrices: if I simply change the content of the STAR_NAMES matrix to "A" it works. Any ideas welcome.