Afternoon All, Anyone able to create a Unique Index with Proc SQL and the PW= option for a protected dataset? Works fine when creating a simple index (example); Proc Sql; Create Index MY_COL on MY_DATASET (PW=MYPASS); Quit; However, I've tried different permutation of syntax and failed miserably, the only way I have been able to get it to successfully work is to remove the dataset protection then apply the UI and then re-apply the protection. No Protection (OK) Proc Sql; Create Unique Index MY_INDEX on MY_DATASET (COL1,COL2); Quit; Protection (???) - All incorrect syntax Proc Sql; Create Unique Index MY_INDEX on MY_DATASET (PW=MYPASS COL1,COL2); Create Unique Index MY_INDEX on MY_DATASET ((PW=MYPASS) COL1,COL2); Create Unique Index MY_INDEX on MY_DATASET (PW=(MYPASS) COL1,COL2); Create Unique Index MY_INDEX on MY_DATASET (COL1,COL2) (PW=MYPASS); Quit; Thank you in advance!
... View more