In the below SAS code, how can I add a column to the output dataset which includes plot number from 1 to 12? Thanks
proc plan seed=17431;
factors Block=3 entry=4 / noprint;
output out=Test;
run;
How about this?

You can use OUTPUT statement options change ENTRY into a string variable.

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
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.
Ready to level-up your skills? Choose your own adventure.