BookmarkSubscribeRSS Feed
Edwinl
Calcite | Level 5

I tried to import excel file using the file, but SAS data step processing never end running, I just have to end the process. I am not sure what why I couldn't read in the data

Any help please?

NOTE:
DATA statement used (Total process time):

      real time           3:47.30

      cpu time            0.37 seconds

531   data cholesterol;

532  infile 'F:\UQ\dcm\module 1\cholesterol.prn';

533  input @6 id 3. @16 cholest 1. @20 gender $1.
@30 systolic 3. @38 diastolic 3. @46 height 3.

533!  @54 weight 3. @64 ses 1. @73 dob $20 @ 89 da

534  te_assess $10.;

535  ;

2 REPLIES 2
PGStats
Opal | Level 21

You need a run; statement at the end for the data step to execute.

PG
Edwinl
Calcite | Level 5


Thanks heaps

that solved my problem.

much appreciated

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 970 views
  • 0 likes
  • 2 in conversation