%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 ))
If the sasuser profile was locked, then the registry might be in the
work library........... Should be fairly straightforward to extend this
Even in sas8.1, this seems OK.... on this snip of log
10 %put %sysfunc( fileexist(
11 %sysfunc( pathname( sashelp ))/tmplmst.sas7bitm )) ;
Richard A. DeVenezia <firstname.lastname@example.org> writes
>"Lex Jansen" <lexDOTjansenATlex-jansenDOTdemonDOTnl> wrote in message
>> 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.
available for SAS consultancy contracts