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.

Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.
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.