Desktop productivity for business analysts and programmers

SAS/Connect issue

Reply
New Contributor
Posts: 4

SAS/Connect issue

Hi All,

 

I am getting the following error when try to submit the programm from local mechine to remote server ,can any one help me on that.

 

I used the follwingcode:

 


%let rem_id1=tdanal  ;
options comamid=TCP remote=rem_id1;
signon 'E:\SAS\9.4\connect\saslink\tcpwin.scr';


Getting this error:

 

NOTE: Remote signon to REM_ID1 commencing (SAS Release 9.04.01M4P110916).
ERROR: A communication subsystem partner link setup request failure has occurred.
ERROR: Cannot locate TCP host 'REM_ID1'.
ERROR: Remote signon to REM_ID1 canceled.

 

Thanks in Advance.

Super User
Posts: 9,593

Re: SAS/Connect issue

You need to correctly address the macro variable:

 

options comamid=TCP remote=&rem_id1;
---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 4

Re: SAS/Connect issue

[ Edited ]
Posted in reply to KurtBremser

Hi ,

Thank for your Answer.

 

This time i have entered with & only it resolved and given the following error,could you please help me in this.

 

 

submitted the follwing code:


options symbolgen mprint mlogic;
%let rem_id1=12.123.12.12;
options netencryptalgorithm=sasproprietary;
options comamid=TCP remote=&rem_id1;
signon 'E:\SAS\SASHome\SASFoundation\9.4\connect\saslink\tcpwin.scr';

 

getting the error:

 

 

NOTE: Remote signon to 12.123 commencing (SAS Release 9.04.01M4P110916).
ERROR: A communication subsystem partner link setup request failure has occurred.

 
ERROR: No route to host
ERROR: Remote signon to 12.123  canceled.

 

Thanks In Advance.

Super User
Posts: 9,593

Re: SAS/Connect issue

Something must be wrong with your macro definition, as the options comamid seems to only pick up the first half of the IP address.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 4

Re: SAS/Connect issue

Posted in reply to KurtBremser
it seems remote option only will take 7 characters only.
here can i use ip adress with remote= option ?
or i should use machine name only?..
Occasional Contributor
Posts: 5

Re: SAS/Connect issue

Hi,

try this:

 

options symbolgen mprint mlogic;
%let remhost=12.123.12.12;
options netencryptalgorithm=sasproprietary;
options comamid=TCP remote=remhost;

filename myhost 'E:\SAS\SASHome\SASFoundation\9.4\connect\saslink\tcpwin.scr';
signon remhost;

Ask a Question
Discussion stats
  • 5 replies
  • 143 views
  • 0 likes
  • 3 in conversation