Chapter Contents |
Previous |
Next |
CEXIST |
Category: | SAS File I/O |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
CEXIST(entry<,'U'>) |
Details |
CEXIST returns 1 if the SAS catalog or catalog entry exists, or 0 if the SAS catalog or catalog entry does not exist.
Examples |
data _null_; if cexist("lib.cat1.x.program") then put "Entry X.PROGRAM exists"; run;
Determining if LIB.CAT1 Can Be Opened for Update
%if %sysfunc(cexist(lib.cat1,u)) %then %put The catalog LIB.CAT1 exists and can be opened for update.; %else %put %sysfunc(sysmsg());
See Also |
Function:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.