BookmarkSubscribeRSS Feed
Tom
Super User Tom
Super User

I cannot replicate your issue.

2213  /* PREPARE HSAP APPLICATION DATA FOR MERGING WITH HSAP-CTE PROGRAM DATA */
2214  %PUT SORT HSAP_APPS DATA BY APPLICATION PROGRAM;
SORT HSAP_APPS DATA BY APPLICATION PROGRAM
2215  PROC SORT DATA=STUPROMA.HSAP_APPS20072018 OUT=CTE_APPS ;
ERROR: Libref STUPROMA is not assigned.
2216    BY HSCOHG9A PROG ;
2217  RUN;

NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.CTE_APPS may be incomplete.  When this step was stopped there were 0 observations and 0 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds

What version of SAS are you using?
How are you submitting the program? Are you using some front-end tool like Enterprise Guide or SAS/Studio? Using interactive SAS (with or without DMS)?  Submitting from command line (running in background)?

 

whs278
Quartz | Level 8
SAS Version is 9.4 M2.

I'm using Enterprise guide.

SASKiwi
PROC Star

Try this in a new SAS session:

%PUT	NOTE:  Initiating SORT of SAShelp.Cars;

PROC	SORT	DATA=SAShelp.Cars
				OUT	=WORK.Cars;
		BY		MPG_Highway;
RUN;

This is my SAS log using SAS9.4 M2 and EG 8.3:

1          %_eg_hidenotesandsource;
5          %_eg_hidenotesandsource;
33         
34         %PUT	NOTE:  Initiating SORT of SAShelp.Cars;
NOTE:  Initiating SORT of SAShelp.Cars
35         
36         PROC	SORT	DATA=SAShelp.Cars
37         				OUT	=WORK.Cars;
38         		BY		MPG_Highway;
39         RUN;

NOTE: There were 428 observations read from the data set SASHELP.CARS.
NOTE: The data set WORK.CARS has 428 observations and 15 variables.
NOTE: Compressing data set WORK.CARS decreased size by 0.00 percent. 
      Compressed is 2 pages; un-compressed would require 2 pages.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.01 seconds
      

40         
41         %_eg_hidenotesandsource;
55         
56         
57         %_eg_hidenotesandsource;
60         

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 5788 views
  • 9 likes
  • 6 in conversation