0
%let srv=myservername;
%let cntsrv=&srv 7541;
options comamid=tcp remote=cntsrv;
signon password=_prompt_;
run; 

    rsubmit "server_name-directory_path";
    data a;
    set b;
    run;
    endrsubmit;

I'm trying to access some data on the Linux server and bring it to my work directory using windows sas. But I'm getting an error message

rsubmit "xxx-xxx.xxx.census.gov/hspb/ahs/indevlp/n2015/wgt/proddata"; WARNING: Connection to CNTSRV already exists. SCRIPT/SASCMD/SWAIT/TBUFSIZE specification will be ignored.

user601828
  • 499
  • 3
  • 7
  • 17

2 Answers2

1

Is server_name-directory_path the path to your data? The rsubmit; must be to the remote= specified servername. If you have only signed on to one server, you can actually just leave out the server name;

rsubmit /*optional:*/ myservername;
    libname data "/hspb/ahs/indevlp/n2015/wgt/proddata";
    data a;
    set data.b;
    run;
endrsubmit;
Jetzler
  • 787
  • 3
  • 11
0

Before rsubmit you need to describe your connection details and do sign on first.

Andrey Dmitriev
  • 528
  • 2
  • 9
  • 27