BookmarkSubscribeRSS Feed
jint83
Calcite | Level 5

Is there a way to Not run autoexec.sas, during remote signon and rsubmit? I have tried sascmd="sas -noautoexec" but it conflicts with the user= and password= options.

8 REPLIES 8
SASKiwi
Opal | Level 21

Please post your complete signon process statements otherwise we would be guessing what is going on.

jint83
Calcite | Level 5

%let server = unix.wharton.upenn.edu 4016;

options comamid=TCP remote=wrds ;

signon server nocscript user=aaa  password=bbb;

Rsubmit;

The above would automatically invoke the autoexec.sas at remote server.

jint83
Calcite | Level 5

And how to invoke the script with signon statement and what is the content of the script file? It is not clear. Please provide a complete answer.

Kurt_Bremser
Super User

READ.THE.DOCUMENTATION.

From the link I provided, you directly find

SAS/CONNECT(R) 9.2 User's Guide

where a simple signon script is presented and documented.

You can also find examples in your SASFoundation/x.x/misc/connect subdirectory.

SASKiwi
Opal | Level 21

I suggest you also check with your SAS administrator to see if they have a way of of avoiding the autoexec.

PhilC
Rhodochrosite | Level 12

You'd want to write another TCPWIN.SCR file and link to it by a statement along the lines of

FILENAME RLINK "C:\blah-dee-bee-blah-path\TCPWIN.SCR"

Before I continue do you know where you find this statement and the TCPWIN.SCR file that you are currently using?

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 8 replies
  • 4113 views
  • 0 likes
  • 4 in conversation