DATA Step, Macro, Functions and more

Protect password from appearing in log

Reply
Contributor
Posts: 71

Protect password from appearing in log

Hi,

 

I am using below code to get user credentials :-

%WINDOW qsp_login_box   
    #1 @2 'INPUT QSP LOGIN CREDENTIALS:' attr=highlight 
	#3 @15 "Please enter the requested data, THEN press [ENTER]"
    #5 @5 'Please enter userid:'       
    #5 @26 user 20 attr=underline   REQUIRED=YES             
    #7 @5 'Please enter password:'            
    #7 @28 pass 20 attr=underline REQUIRED=YES DISPLAY=NO
;

But my password is appearing in log. Please suggest a way to hide the password.

Contributor
Posts: 34

Re: Protect password from appearing in log

did you try to suppress information of SAS log, like that:

options nosource nonotes errors=0;

<...your code...>

options source notes;

???

 

 

let me know

have a nice day

 

MC

Martino Crippa
Ask a Question
Discussion stats
  • 1 reply
  • 165 views
  • 0 likes
  • 2 in conversation