BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
georgel
Quartz | Level 8

Hi, 

 

I would like to atomatically insert my username and password to WRDS system to have a remote access. \

Here is the code

%let wrds = wrds.wharton.upenn.edu 4016;options comamid = TCP remote=WRDS;
signon server nocscript user=george password=XXXXXXX!;

and I received output:

225 %let wrds = wrds.wharton.upenn.edu 4016;options comamid = TCP remote=WRDS;
226 signon server nocscript user=george password=XXXXXXX!;
ERROR: Unrecognized option, !.
ERROR: Remote signon canceled.

 

It seems that it does not recognze the last character '!' . Please help me to overcome this error

 

Many thanks in advance

George

1 ACCEPTED SOLUTION

Accepted Solutions
yabwon
Amethyst | Level 16

Try with setting new password:

https://support.sas.com/kb/60/312.html

 

Another option, maybe it is wrong port:

https://support.sas.com/kb/60/310.html

 

Third option, maybe setup:

https://communities.sas.com/t5/General-SAS-Programming/SAS-Connect-Issue/m-p/168401#M12038

 

I hope this helps.

 

Bart

 

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



View solution in original post

4 REPLIES 4
yabwon
Amethyst | Level 16
%let wrds = wrds.wharton.upenn.edu 4016;options comamid = TCP remote=WRDS;

signon server nocscript user=george password="&macroVariableWithPassword.";

Try with adding double quotes around pass.

 

Bar

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



georgel
Quartz | Level 8

Hi Bart, 

 

Many thanks but This does not work,

%let psw=XXXXXX!
317 %let wrds = wrds.wharton.upenn.edu 4016;options comamid = TCP remote=WRDS;
318 signon server nocscript user=george password="&psw";
NOTE: Remote signon to SERVER commencing (SAS Release 9.04.01M2P072314).
ERROR: A communication subsystem partner link setup request failure has occurred.

 

Please any other suggestion. The problem is the specific character ! exclamation mark. 

Many thanks in advance

george

yabwon
Amethyst | Level 16

Try with setting new password:

https://support.sas.com/kb/60/312.html

 

Another option, maybe it is wrong port:

https://support.sas.com/kb/60/310.html

 

Third option, maybe setup:

https://communities.sas.com/t5/General-SAS-Programming/SAS-Connect-Issue/m-p/168401#M12038

 

I hope this helps.

 

Bart

 

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



georgel
Quartz | Level 8

Bart Many thanks for your prompt reply

I will try the alternatives

 

George

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
  • 4 replies
  • 1836 views
  • 2 likes
  • 2 in conversation