Dear SAS-L, Does anyone know how to clear the work.GSEG window of plots from consecutive plots (work.gseg.glpot[1..n]) when working with SAS and running glpot interactively. Thanks, any help is appreciated. Jake
Dear SAS-L, Does anyone know how to clear the work.GSEG window of plots from consecutive plots (work.gseg.glpot[1..n]) when working with SAS and running glpot interactively. Thanks, any help is appreciated. Jake
Jerry Thank you very much! Jake
You can use goptions goutmode=replace; before your first graphics procedure. If there are more graphics being generated, be sure to use goptions goutmode=append; after the first proc step. -- Richard A. DeVenezia http://www.**--****.com/
1.The clear command does not work for graphs window
Hi there, I need to clear all the figures in the graph window that I created. But the clear command which ususally works well for the output window failed to do so. Anyone has the idea of that? Thanks! gim
2.Mainframe Interactive SAS expanded WORK library
3.proc printto print="filename" not working in interactive sas
I use sas in batch exclusively but I have to make sure interactive users can use my macros. One of these macros redirects print output using "proc printto print='filename'". This works in batch but when I run it interactively, instead of sending the print output to the file I specified, it still uses the output window. How do I get this to work correctly in interactive sas?
i am using sas for win 8.2. is there some line of code i can insert into my program that will clear the contents of the work library without having to quit the sas program? this would be the code equivalent to going into the explorer window, opening up the work folder and right clicking on each temp data set and choosing delete. thank you doyle
5.libref for "work" data sets (one level name): WORK vs USER vs User= option
I thought there was an easy way to determine the libref for "work" data sets (i.e. those that can be accessed via a one level name), but I could not find anything on SAS-L or in the on-line doc. Of course, searching for WORK USER LIBREF can provide a number of non-related hits (see additonal slightly off topic question at bottom). I ended up writing the code included below to determine the libname and memname for one level data set names. (I need the two level name to extract info from the dictionary tables) Is there an easier way to figure out the two level name? ============================================================= %*** get lib & mem; %macro libmem(in=,lib=_lib,mem=_mem); %if %scan(&in,2,.)>' ' %then %do; %*** two level names are easy; %let &lib=%scan(&in,1,.); %let &mem=%scan(&in,2,.); %end; %else %do; %*** one level names are more challenging; %*** if USER option is set, then use it; %let &lib=%sysfunc(getoption(USER)); %if "&&&lib"="" %then %do; %*** if no USER option, check USER libref, if there use it; proc sql noprint; select distinct libname into :&lib from DICTIONARY.MEMBERS where libname='USER'; quit; %*** if no USER libref defined then it must be WORK; %if "&&&lib"="" %then %let &lib=WORK; %end; %let &mem=∈ %end; %*** upcase for use with dictionary tables; %let &lib=%upcase(&&&lib); %let &mem=%upcase(&&&mem); %put &lib is &&&lib &mem is &&&mem; %mend; %libmem(in=sashelp.prdsale); data prdsale; set sashelp.prdsale(obs=1); run; %libmem(in=prdsale); libname USER 'c:\DeleteThisFolder'; data prdsalU; set sashelp.prdsale(obs=1); run; %libmem(in=prdsalU); libname altUser 'c:\DeleteThisOneToo'; options user=altUser; data prdsalO; set sashelp.prdsale(obs=1); run; %libmem(in=prdsalO); ============================================================= While looking at the on-line doc I found these: Files in UNIX System Services can also be specified without a libref. The following example specifies an HFS file using a relative path: data 'saswork/two'; x=2; run; I do not currently have access to a UNIX or OS/390 box, but was wondering, do data sets accessed in this way show up in the dictionary tables? And, if so, what do they look like? Just curious. No real need to know. Thanks for any assistance or advice, Tammie
6. customizing SAS session WORK.REGSTRY WORK.PROFILE
Users browsing this forum: No registered users and 94 guest