PROC PLS and PROC PLM do not work together.
You could split the data, do Cross-Validation on the training data set to determine the number of dimensions, then use the validation data to see how it compares to the training data. That's something you'd have to program yourself, and honestly, I have never done that with PROC PLS. I have done this with a macro I wrote that does Logistic PLS.
Some background: Partial Least Squares was developed way outside mainstream statistical academia, and that's why there is little in the way of hypothesis testing and little in the way of confidence intervals and no SEP or similar. I'm sure there are people who have tried to add this capability Partial Least Squares, but it hasn't made its way into SAS. Nevertheless, the success of Partial Least Squares, with thousands of published papers, handling situations of high multicollinearity of the X variables that are really difficult to handle via other methods is impressive, and somewhat indicates that the statistical hypothesis testing/confidence interval type of analyses are not really necessary. But that makes PLS somewhat uncomfortable for people who are used to hypothesis testing and confidence intervals, and so you need to be aware of this.
... View more