Search the Community
				
					Turn on suggestions					
					
	
				
			
		
	
	
	
	
	
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
		742 results 
	
	
        Sorted by:
            
        
			
    
	
		
		
		09-28-2012
	
		
		01:28 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						...e changed.     I searched the site and was able to successfully change singular variable names using "modify" and "rename" but I'm not sure how to do a range.  Some of the examples on the sites i...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-10-2025
	
		
		09:09 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						Presented at PharmaSUG 2022 in Austin, TX
						
					
				
				
				
			
			
			
			
			
			
			
			
		
	
		
			
				
				
					PharmaSUG-2022-AP-041.pdf (633 KB)
				
			
		
		
	
		
	
				
		
			
					
				
		
			
					
	
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
			
					
				
		
	
	
			
    
	
		
		
		12-20-2023
	
		
		09:27 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						...acro variables Spending_Mean and N: 
  data Working;
   set IceCreamStudy;
   z=(1/(&N-1))*(Spending-&Spending_Mean)**2;
run;  
 Step 3: Estimate the Total of z and T...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
			
					
				
		
	
	
			
    
	
		
		
		07-14-2016
	
		
		06:50 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Like
		
	
				
		
	
		
						hello all,     I am getting a warning in some code:  WARNING: The variable in the DROP, KEEP, or RENAME list has never been referenced     Can any one tell me, what can be the scenario of t...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-17-2020
	
		
		08:58 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						Hi,  I created a macro variable using proc sql ....select into....  The macro variable is for example:  %put &top10.; run;  '04050606', '94958693', '20494585'....     I want to rename a variabl...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-20-2023
	
		
		11:35 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						...un;  
   
 The data set Long has 40 x 16 = 640 observations. There are 16 copies of the original variables from the IceCreamStudy data set stacked on top of each other, and each c...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
			
					
				
		
	
	
			
    
	
		
		
		06-24-2014
	
		
		10:49 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						Hi all,    I am trying to conditionally rename variables if they are present or not in a dataset. Consider the example:    I read in the dataset, which sometimes there could be a case where the variabl...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		11-08-2023
	
		
		01:17 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						...hysical activity to tract_name*;
 85         DATA Phy_Act1;
 86         SETCoImpt.PhysicalActivity;
 87         RENAMECT= TRACT_NAME;
 88         RUN;
 
 WARNING: The variable CT in the DROP, KEEP, or RENAME...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-05-2023
	
		
		08:32 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						...bsp;  WARNING: THE VARIABLE INFO IN THE DROP, KEEP, OR RENAME LIST HAS NEVER BEEN REFERENCED     The warning related to this line of code     %looping;     which is at the end of the whole c...
						
					
				
				
				
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-15-2015
	
		
		10:57 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
						I wanted to drop a list of variables from my inputds. This list itself is present as observations in another dataset. After doing some googling, I found this excellent paper on the topic.  http://w...
						
					
				
				
				
			
			
			
			
			
			
			
			
		 
		
			 
		
			 
		
			