BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
scottyniven
Calcite | Level 5
libname perm 'C:\Users\Eden\OneDrive\Documents';
data perm.fungal;
infile 'C:\Users\Eden\OneDrive\Documents\fungal.txt' firstobs=2
expandtabs;
input patno treat $ age sex $ severity clears
run;

 

WARNING: The data set PERM.FUNGAL may be incomplete. When this step was stopped there were 0
observations and 7 variables.
WARNING: Data set PERM.FUNGAL was not replaced because this step was stopped.

1 ACCEPTED SOLUTION

Accepted Solutions
SuCheeTay
SAS Employee

This does not appear to be a syntax error but rather the input text file fungal.txt does not exist or is misspelled. It also looks like using EXPANDTABS is used to indicate the text file is a tab delimited file.

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26

Show us the ENTIRE log from this DATA step. Please copy the log as text and paste it into the window that appears when you click on the </> icon.

Insert Log Icon in SAS Communities.png

--
Paige Miller
scottyniven
Calcite | Level 5
1    libname perm 'C:\Users\Eden\OneDrive\Documents';
NOTE: Libref PERM was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\Users\Eden\OneDrive\Documents
2    data perm.fungal;
3    infile 'C:\Users\Eden\OneDrive\Documents\fungal.txt' firstobs=2
4    expandtabs;
5    input patno treat $ age sex $ severity clears;
6    run;

ERROR: Physical file does not exist, C:\Users\Eden\OneDrive\Documents\fungal.txt.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set PERM.FUNGAL may be incomplete.  When this step was stopped there were 0
         observations and 6 variables.
WARNING: Data set PERM.FUNGAL was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
      real time           0.07 seconds
      cpu time            0.03 seconds
Tom
Super User Tom
Super User

That error seems obvious.  The file doesn't exist. Make sure the file actually exists.

 

You seem to be using ONEDRIVE so perhaps that is messing things up somehow?

SuCheeTay
SAS Employee

This does not appear to be a syntax error but rather the input text file fungal.txt does not exist or is misspelled. It also looks like using EXPANDTABS is used to indicate the text file is a tab delimited file.

TheresaStemler
SAS Moderator

It looks like you are missing a semicolon on the INPUT statement. 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Autotuning Deep Learning Models Using SAS

Follow along as SAS’ Robert Blanchard explains three aspects of autotuning in a deep learning context: globalized search, localized search and an in parallel method using SAS.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1826 views
  • 4 likes
  • 5 in conversation