The `work.test_results` dataset is internally generated by the `%mp_assert` macro to store metadata and the assertion result. No external data is used as direct input by this macro.
1 Code Block
APPEL DE MACRO Data
Explanation : This block is a call to the `%mp_assert` macro. The `iftrue=(1=1)` parameter defines the logical condition to test, which is always true here. `desc='Checking result was created'` provides a human-readable description of the assertion's purpose. `outds=work.test_results` specifies the dataset in the `work` library where the assertion results (success/failure, description, etc.) will be stored. This is a fundamental instruction for validating the expected behavior of a program or function within a unit testing framework.
Copied!
%mp_assert(
iftrue=(1=1),
desc=Checking result was created,
outds=work.test_results
)
1
%mp_assert(
2
iftrue=(1=1),
3
desc=Checking RESULT was created,
4
outds=work.test_results
5
)
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.