In case your external file is not too big and doesn't contain confidential data then attach it here so we can test if this file also causes issues for us or if there is an issue with your environment (like an update to your virus scanner which now kills the SAS process when trying to import something).
Your file is not comma-separated, so I am unsure how proc import can read it with your code.
Try this:
data TEST;
infile "c:\......" dsd dlm='09'x truncover ;
input (COL1-COL5) (:$50.);
output;
stop;
run;
Is this your private laptop or is it maintained by an IT department? If it's the latter then I'd probably contact the help desk of this IT department and have a chat with them first. May be there has been something deployed that doesn't only cause issues for you - or they could at least look if there are some log/dump files after the crash which they could investigate to get further information - like looking into a Windows Event log.
I'd still wait with re-installing SAS until you've got a bit a better understanding why is happening what's happening. You could also try an run some of the code that crashes in batch mode and see if this works.
Hi! So the guys from the IT department of my university have tried a lot of things and they finally decided to format my laptop. And now everything is working like it's suppose to. Thank you all for your help!!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Ready to level-up your skills? Choose your own adventure.