SASUnit Examples
Version 1.5.0
|
Check whether a certain data set, view or catalogue exists. More...
Go to the source code of this file.
Check whether a certain data set, view or catalogue exists.
Setting the optional parameter i_not to 1 allows to test whether a certain data set, view or catalogue does not exist.
Step 1: Check whether library has been assigned successfully.
Step 2: Check for existence with exist function
i_libref | library in which the test candidate can be found |
i_memname | name of data set, view or catalogue to be tested |
i_target | optional: Explicit test for existence of a dataset,view or catalogue (Possible arguments: data, view, catalog). If i_target is not given data will be used as default. |
i_desc | description of the assertion to be checked default: "Check for existence of a specific dataset" |
i_not | optional: negates the assertion, if set to 1. Set to 0 no negation takes place. If the library hasn't been assigned successfully parameter i_not has no effect. |
Definition in file asserttableexists.sas.