I want to print the first 30 observations of my database but replace the observation number with the id number (which is another variable).
my code looks like this:
proc print data=data1.Donnees2005(obs=30)LABEL;
run;
CodePudding user response:
ID idnumber;
Using ID statement will remove the default OBS column.
CodePudding user response:
proc print data=data1.Donnees2005(obs=30)LABEL;
id idnumber;
run;