Use of standard SASHELP demonstration tables (AARFM and CLASS) to ensure test portability.
1 Code Block
MACRO STATEMENT
Explanation : Explicit declaration of the global macro variable 'indexx' used to capture test results.
Copied!
%global indexx;
1
%global indexx;
2 Code Block
MACRO CALL
Explanation : Nominal case test with index: Variable initialization, macro call on table 'sashelp.aarfm'. The assertion verifies that the composite index 'locale key' is correctly identified.
Explanation : Test case without index: Variable reinitialization, macro call on table 'sashelp.class'. The assertion verifies that no index is returned (empty value expected).
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.