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
Onyx | Level 15

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
Onyx | Level 15
%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
Onyx | Level 15

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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1178 views
  • 2 likes
  • 2 in conversation