DATA Step, Macro, Functions and more

SAS program editor

Reply
New Contributor VDD
New Contributor
Posts: 3

SAS program editor

What do I do to make SAS program editor open a new window for each SAS program that I am opening?

Currently every program I open is appended to the end on the current SAS program editor window.

Super User
Posts: 17,868

Re: SAS program editor

What version of SAS are you running and how are you opening your programs?

New Contributor VDD
New Contributor
Posts: 3

Re: SAS program editor

9.4 I used the file open program and also the icon on the menu bar

New Contributor VDD
New Contributor
Posts: 3

is there a fix

DLGOPEN VERIFY

fails the verify part is not working how do I make SAS open a program into another program editor window of the same SAS session?

 

Super User
Posts: 10,516

Re: is there a fix

What you describe as the desired action is typically the default behavior. It sounds like someone may have been playing around with some default behaviors for file types and messed something up.

 

Which version of SAS? Is this a server or local install? SAS Studio, Enterprise Guide, Base SAS (or the DMS)?

 

Do you have a SAS command box on the menu line? It would look like a simple text entry box with a drop down arrow. If so try typing DLGOPEN and then press the enter key. Let us know what happens.

 

 

Super User
Posts: 17,868

Re: is there a fix

In your case, it's best to contact Tech Support for assistance.

 

 

Valued Guide
Posts: 505

Re: is there a fix

I use the old text editor, if i type this on the old editor clean command line 'editor h' oprns up withe tha sas programe

 

note h.h;inc c:/utl/cuth.h

 

I suspect you could write a command macro to open up 26 editors with a command macro

 

%macro twnty/cmd;

  %do i=1 %to 20;

       note h&i,.h&i;inc c:\utl\prg&i..sas;

  %end;

%mend;

%twnty;

 

save in your autocall lib or put on a function key?

 

options cmdmac;

 

type twnty 

on clean command line

Valued Guide
Posts: 505

Re: is there a fix

 

I use the old text editor, if i type this on the old editor clean command line 'editor h' oprns up withe tha sas programe
 
note h.h;inc c:/utl/cuth.h
 
I suspect you could write a command macro to open up 26 editors with a command macro
 
%macro twnty/cmd;
  %do i=1 %to 20;
       note h&i,.h&i;inc c:\utl\prg&i..sas;
  %end;
%mend;
%twnty;
 
save in your autocall lib or put on a function key?
 
options cmdmac;
 
type twnty 
on clean command line
Ask a Question
Discussion stats
  • 7 replies
  • 278 views
  • 2 likes
  • 4 in conversation