BookmarkSubscribeRSS Feed
shursulei2
SAS Employee

how to batch password use pwnecode by macro()

proc pwencode in='Oper1234';
run;

This way is generate the one .

I want to use the macro batch generate by macro witch table.

1 REPLY 1
Shmuel
Garnet | Level 18

Next syntax was copied from the documentation of pwencode procedure:

     

PROC PWENCODE IN='password' <OUT=fileref> <METHOD=encoding-method>;

 

see full documentation at

https://documentation.sas.com/?docsetId=proc&docsetTarget=n0dc6in0v7nfain1f2whl6f5x66p.htm&docsetVer... 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 691 views
  • 0 likes
  • 2 in conversation