How could I format the variables under ID in Class 4 to have the number variables be labeled with 'ID' like the ones in Class 1, Class 2, and Class 3 using SAS?
data sample;
length idwant $18;
do id=1 to 5, 99 to 101;
if id<10 then
do;
idwant=cats('ID',put(id,z2.));
end;
else
idwant=cats('ID',put(id,best16.));
output;
end;
stop;
run;
If the "class 4" tab is supposed to continue numbering from "class 3" I think you need to add 84 to the ID.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!