Help using Base SAS procedures

Code 18? Programs auto-execute when I open them about 50% of the time

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 96
Accepted Solution

Code 18? Programs auto-execute when I open them about 50% of the time

Hi everyone,

Since this morning, whenever I open a program (File - Open program) in Base SAS, there is a non-negligible chance that the program will execute automatically.

 

 It is not always the same program either.  

 

Anyone ever had t his issue?

It's driving me nuts.

 

cheers

 


Accepted Solutions
Solution
‎12-02-2015 09:26 AM
Super User
Posts: 11,343

Re: Code 18? Programs auto-execute when I open them about 50% of the time

Go to Tools>Options>Preferences. Look on the General tab for "Submit contents of file opened". If there is a check in that box then remove it.

 

How it may have gotten set is a question.

 

If that isn't the case then I'm not sure what's going on. I've never had that happen since using SAS 6.04.

View solution in original post


All Replies
Solution
‎12-02-2015 09:26 AM
Super User
Posts: 11,343

Re: Code 18? Programs auto-execute when I open them about 50% of the time

Go to Tools>Options>Preferences. Look on the General tab for "Submit contents of file opened". If there is a check in that box then remove it.

 

How it may have gotten set is a question.

 

If that isn't the case then I'm not sure what's going on. I've never had that happen since using SAS 6.04.

Community Manager
Posts: 2,956

Re: Code 18? Programs auto-execute when I open them about 50% of the time

I think @ballardw is on the right track.  And there is a little-known Submit checkbox on the File->Open window.  I suspect yours might be checked on for some reason.  It's a "sticky" option -- once checked, it stays checked until you uncheck it.

 

dlgopen.png

 

Fun fact: you can drive all of this from code.

 

dm 'dlgopen filter="*.sas" nosubmit';

Chris

Frequent Contributor
Posts: 96

Re: Code 18? Programs auto-execute when I open them about 50% of the time

Posted in reply to ChrisHemedinger
Hi!
It was indeed checked (along with the boxballardw). I'm not sure which "unchecking" fixed it (or was it your program line) but I did everything and it's fixed now.
Frequent Contributor
Posts: 96

Re: Code 18? Programs auto-execute when I open them about 50% of the time

Hi!
It was indeed checked (along with the box Chris mentionned). I'm not sure which "unchecking" fixed it (or was it the program line Chris game me), but it did everything and it's fixed now.
🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 378 views
  • 1 like
  • 3 in conversation