Published on :
Unit Test CREATION_INTERNE

DDL Filter Table Test

This code is also available in: Deutsch Español Français
Awaiting validation
The program executes the macro '%mddl_dc_filterdetail' to initialize the 'WORK.TEST' table. It then validates the success of this operation via the assertion macro '%mp_assert', which checks for the presence of the target table using '%mf_existds'.
Data Analysis

Type : CREATION_INTERNE


The data (table structure) is procedurally generated by the %mddl_dc_filterdetail macro in the WORK library.

1 Code Block
MACRO CALL Data
Explanation :
Generation of the filter details table structure in the temporary WORK library.
Copied!
1%mddl_dc_filterdetail(libds=WORK.TEST)
2 Code Block
MACRO CALL
Explanation :
Execution of a unit test to confirm the existence of the newly created 'WORK.TEST' table.
Copied!
1%mp_assert(
2 iftrue=(%mf_existds(WORK.TEST)=1),
3 desc=Checking TABLE 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.