In reply to Tubidy.

'PE' is not a variable, it is a data set. Check the SAS log to determine why the call to PROC REG in Step 1 failed to create the 'PE' data set. If you can't fid the problem, post your question, your code, and the SAS log to the SAS Support Communities.