Previous Topic: Compile the ModelNext Topic: Test the Model


Create a Test Rule

To determine if your syntax model performs as it should, you must test it. To test a model, write a dummy rule. Using the above example and recommendations, the rule should contain the following statements in a CMS file called VSNAP RULE.

$KEY(VSNAP) MDLTYPE(TST)
 - UID(*) ALLOW

From the CMDLIM mode, enter the following to compile and store the rule:

acf
ACF
set cmdlim
CMDLIM
compile vsnap nolist
ACFxxx510I ACF compiler entered
 
ACFxxx551I Total record length=165 bytes - 4 percent utilized
ACFxxx769I Rule VSNAP, MDLTYPE TST, stored
 
 
CMDLIM