LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 13 Jun 2003 13:47:59 +0200
Reply-To:     Lex Jansen
              <lexDOTjansenATlex-jansenDOTdemonDOTnl@CRONKITE.CC.UGA.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Lex Jansen
              <lexDOTjansenATlex-jansenDOTdemonDOTnl@CRONKITE.CC.UGA.EDU>
Organization: Posted via Supernews, http://www.supernews.com
Subject:      Re: itemstore

As Peter Crawford (thank you) pointed out, this can be solved in 8.2 as follows:

%put %sysfunc(exist(SASHELP.TMPLMST, ITEMSTOR )); works in sas9 but not (in my instance) of sas8.2

To check the existence of an itemstore file, you could try %if %sysfunc( fileexist( %sysfunc( pathname( sasuser ))/regstry.sas7bitm )) %then ............ If the sasuser profile was locked, then the registry might be in the work library........... Should be fairly straightforward to extend this suggestion....... Even in sas8.1, this seems OK.... on this snip of log 10 %put %sysfunc( fileexist( 11 %sysfunc( pathname( sashelp ))/tmplmst.sas7bitm )) ; 1

Lex Jansen

"Richard A. DeVenezia" <radevenz@ix.netcom.com> wrote in message news:bcataq$hl161$1@ID-168040.news.dfncis.de... > "Lex Jansen" <lexDOTjansenATlex-jansenDOTdemonDOTnl> wrote in message > news:vehjt6q83rqj67@corp.supernews.com... > > Richard, > > > > Unfortunately your solution does not seem to work. > > A SAS System Item Store (file extension .sas7bitm) is not a catalog. > > Any other ideas ? > > Thank you! > > > > Lex Jansen > > version 8.2 online help shows PROC DATASETS listing an ITEMSTOR, maybe > mt=itemstor and an out= will let you test for existence > version 9.0 online help 'what's new/base/base' indicates EXIST() function > will accept ITEMSTOR as second argument. > > -- > Richard A. DeVenezia, http://www.devenezia.com > >


Back to: Top of message | Previous page | Main SAS-L page