BookmarkSubscribeRSS Feed
Aditi24
Obsidian | Level 7

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.

1 REPLY 1
MC1985
Obsidian | Level 7

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1826 views
  • 0 likes
  • 2 in conversation