You can use PROC CONTENTS to view the file and see what is the problem. It might be best to "convert" the file in a DATA step to a SAS file.
See http://support.sas.com/documentation/cdl/en/movefile/59598/HTML/default/viewer.htm#a001003262.htm
Norman.
The foreign message is telling that the SAS dataset is converted to a native one while processing.
You are having either a binary copy of a different SAS system or some old SAS version.
That one doesn't hurt you now...
The error is telling you codes the proc reg pacjage wrong. RE-check it very detailed and look where the underscore is pointing http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_reg_syntax01...
look at the output statement I cannot find it in the syntax the way you have coded
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.